How to discover missing fonts?

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
User avatar
NightMonkey
Guru
Guru
Posts: 360
Joined: Fri Mar 21, 2003 10:07 am
Location: Philadelphia, PA

How to discover missing fonts?

Post by NightMonkey »

Howdy. Let's say I see 'missing glyph' rectangles when I'm using an application in Xorg using Fluxbox. Could be in Xscreensaver, or in a terminal application, for example. How can I find out which missing font the application is trying to use? Is there a 'one-stop-shop' utility or discovery pattern that I can use?

Thanks!
:D
User avatar
CooSee
Veteran
Veteran
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

Post by CooSee »

you could install media-fonts/fontawesome or media-fonts/nerd-fonts

do you see a number inside the rectangle :

Code: Select all

fc-match -s monospace:charset=f796 | head -n3

Hack Regular Nerd Font Complete Mono Windows Compatible.ttf: "Hack NF" "Regular"
DejaVu Sans Mono Nerd Font Complete Mono Windows Compatible.ttf: "DejaVuSansMono NF" "Book"
Roboto Mono Nerd Font Complete Mono Windows Compatible.ttf: "RobotoMono NF" "Regular"
greetings
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
spica
Guru
Guru
Posts: 382
Joined: Fri Jun 04, 2021 6:12 pm

Post by spica »

If you can copy that missing rectangle glyph, you can search it on fileformat.info, there's a link "fonts that support"

Example: https://www.fileformat.info/info/unicod ... /index.htm
User avatar
NightMonkey
Guru
Guru
Posts: 360
Joined: Fri Mar 21, 2003 10:07 am
Location: Philadelphia, PA

Post by NightMonkey »

CooSee wrote:you could install media-fonts/fontawesome or media-fonts/nerd-fonts

do you see a number inside the rectangle :

Code: Select all

fc-match -s monospace:charset=f796 | head -n3

Hack Regular Nerd Font Complete Mono Windows Compatible.ttf: "Hack NF" "Regular"
DejaVu Sans Mono Nerd Font Complete Mono Windows Compatible.ttf: "DejaVuSansMono NF" "Book"
Roboto Mono Nerd Font Complete Mono Windows Compatible.ttf: "RobotoMono NF" "Regular"
greetings
Thanks. I have fontawesome, but 'nerd-fonts' doesn't seem to be in the official portage. Is it in an overlay?
:D
User avatar
NightMonkey
Guru
Guru
Posts: 360
Joined: Fri Mar 21, 2003 10:07 am
Location: Philadelphia, PA

Post by NightMonkey »

spica wrote:If you can copy that missing rectangle glyph, you can search it on fileformat.info, there's a link "fonts that support"

Example: https://www.fileformat.info/info/unicod ... /index.htm
Thanks for this! I can't see a way it would work with XScreensaver text, but it should work for everything else. :)
:D
User avatar
CooSee
Veteran
Veteran
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

Post by CooSee »

Is it in an overlay?
yes, look here: https://gpo.zugaina.org/Search?search=nerd-fonts

if you than click on, e.g. media-fonts/nerd-fonts than you'll see on which overlay it's available.

add the overlay via eselect repository

greetings
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
User avatar
NightMonkey
Guru
Guru
Posts: 360
Joined: Fri Mar 21, 2003 10:07 am
Location: Philadelphia, PA

Post by NightMonkey »

CooSee wrote:
Is it in an overlay?
yes, look here: https://gpo.zugaina.org/Search?search=nerd-fonts

if you than click on, e.g. media-fonts/nerd-fonts than you'll see on which overlay it's available.

add the overlay via eselect repository

greetings
Thank you! One last question - are any of the four listed overlays better maintained than others here? :) Is there a rubric for deciding which to select?
:D
User avatar
CooSee
Veteran
Veteran
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

Post by CooSee »

you're welcome :)

i use gentoo-zh!

but, be careful by just adding an overlay, it can jumble with gentoo ebuilds.

you can just copy the nerd-font ebuild to an local overlay or

look here for a mini howto at the end of this thread regarding overlays https://forums.gentoo.org/viewtopic-p-8 ... ml#8658729

have fun 8)
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Post Reply