Section "Files"
FontPath "/usr/local/share/fonts/GentiumBasic/"
FontPath "/usr/local/share/fonts/GentiumPlus/"
FontPath "/usr/local/share/fonts/Caladea/"
FontPath "/usr/local/share/fonts/Carlito/"
FontPath "/usr/local/share/fonts/dejavu/"
FontPath "/usr/local/share/fonts/Liberation/"
FontPath "/usr/local/share/fonts/LinLibertineG/"
FontPath "/usr/local/share/fonts/powerline-fonts/"
FontPath "/usr/local/share/fonts/terminus-font/"
FontPath "/usr/local/share/fonts/webfonts/"
EndSection
pkg info -aD | grep FontPath
. pkg info -aD | grep FontPath >> /usr/local/etc/X11/xorg.conf.d/files.conf
pkg info -D <font_package_name> | grep FontPath >> /usr/local/etc/X11/xorg.conf.d/files.conf
FontPath
set:[ 46.267] (**) FontPath set to:
/usr/local/share/fonts/GentiumBasic/,
/usr/local/share/fonts/GentiumPlus/,
/usr/local/share/fonts/Caladea/,
/usr/local/share/fonts/Carlito/,
/usr/local/share/fonts/dejavu/,
/usr/local/share/fonts/Liberation/,
/usr/local/share/fonts/LinLibertineG/,
/usr/local/share/fonts/powerline-fonts/,
/usr/local/share/fonts/terminus-font/,
/usr/local/share/fonts/urwfonts/,
/usr/local/share/fonts/urwfonts-ttf/,
/usr/local/share/fonts/webfonts/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
catalogue:/usr/local/etc/X11/fontpath.d
FontPath
set:[ 259.959] (==) FontPath set to:
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
catalogue:/usr/local/etc/X11/fontpath.d
How do you and for which fonts you should edit xorg.conf ?
On all installed font packagespkg info -aD | grep FontPath >> /usr/local/etc/X11/xorg.conf.d/files.conf
Or on individual font packages:pkg info -D <font_package_name> | grep FontPath >> /usr/local/etc/X11/xorg.conf.d/files.conf
Afterwards edit files.conf accordingly.
Those fonts mentioned in post #3 are not automatically detected by xorg without setting a font path, those need a font path set.
Which raises the following question. How do you and for which fonts you should edit xorg.conf ?
FontPath "/usr/local/share/fonts/LinLibertineG/"
FontPath "/usr/local/share/fonts/Liberation/"
FontPath "/usr/local/share/fonts/GentiumBasic/"
FontPath "/usr/local/share/fonts/Carlito/"
FontPath "/usr/local/share/fonts/Caladea/"
I confirm!Generally you do not have to touch (or even have) xorg.conf. Fonts work perfectly without doing anything.
Maybe this page is of some help. See under "Font config":Any idea for sway(wayland) ? If you don't have xorg installed but still want to use Liberation fonts.
Generally you do not have to touch (or even have) xorg.conf. Fonts work perfectly without doing anything.
Always had that problem with terminus fonts. The system did not always detect it smoothly. So, upon the ports update I'd end up with system not being able to use terminus fonts for my urxvt app every other time. And this is the worst scenario -- when things don't ALWAYS work the same way. So I ended up adding font path config file to xorg.conf.d directory.I confirm!
I only checked Xorg.0.log, without looking into the application. Despite the fact Xorg.0.log doesn't show the font path detection, the fonts are detected by the applications itself.
fc-cache -rv
terminus fonts
FontPath
advice in their package messages. terminus-font
results in xos4 Terminus
:You seem to be using some DE. That must be all the difference that counts.x11-fonts/terminus-font | x11-fonts/terminus-ttf
For me, both fonts became available after installation. Ignoring theFontPath
advice in their package messages.
terminus-font
results inxos4 Terminus
:
View attachment 12356
This is all rather confusing.
mkdir ~/.fonts
cp gallant-demi-19.bdf ~/.fonts
fc-cache -rv
fc-list | grep Gallant
) xterm -fa Gallant
… some DE …
Yes. That "Terminal settings" application of yours seems to offer a choice of fonts. Meaning it pulls in with it some minimal DE utilities & scripts. So, fonts recognition WILL work all right.KDE Plasma on slightly outdated FreeBSD 14.0-CURRENT (1400043, should be 1400045); no problem. <https://bsd-hardware.info/?computer=6fbb1f806232>
No problem with a minimal set of packages on 12.3-RELEASE:
View attachment 12358
I switched to ttyv3, logged in as root, installed terminus-ttf, switched immediately back to ttyv9, quit then restarted QTerminal, found the font available:
View attachment 12359
!URxvt*font: xft:xos4 Terminus:size=12:style=regular
Sometimes the one is recognized, sometimes the other one.!URxvt*font: -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1
… That "Terminal settings" application …
pkg prime-origins | sort
: