You are not logged in.
Pages: 1
Hello,
I've installed bitmap ProFont font(pcf), but it isn't defined by xlsfonts. But otb version works
fc-cache -v: http://ix.io/4qY5
fc-list | grep "profont": http://ix.io/4qY7
But bdf Terminus font is determined by xlsfonts.
Where can be a problem?
Thanks in advance
Last edited by knarh (2023-03-17 07:22:19)
Offline
What do you mean by "isn't defined by xlsfonts" and, quite frankly, why do you care?
pango has dropped pcf support some years ago, you *want* to use the otb font, because the pcf one won't work in any gtk client.
Edit: https://bbs.archlinux.org/viewtopic.php?id=248032
Last edited by seth (2023-03-16 13:09:17)
Online
Thank you for answering, seth
I saw a warning in fonts wiki about pango but didn't pay attention.
Is pango is a part of gtk, so bdf and pcf fonts don't work in gtk applications?
I don't really need the pcf version, I care about this because I want to deal with the problem in principle, and the only way I know to check installed bitmap font is xlsfonts command
And Seth or seth?
Last edited by knarh (2023-03-16 15:43:59)
Offline
"gtk relies on pango", so yes "bdf and pcf fonts don't work in gtk applications"
Because of that you want to use the otb font.
xlsfonts lists the fonts the server knows about, that's not relevant for most clients (as they use fontconfig) and not related to the pango situation.
What are the actual ProFont packages you tried? (The font location will somewhat matter in relation to the X11 font paths)
But again: for practical purposes that's borderline irrelevant. You'll rarely use X11 server fonts.
My pronouns are "whatever makes you happy/cause I don't give a fuck" ![]()
But the board nick is "seth".
Online
ok, I WANT to use otb font)
I downloaded 7z archive from here https://tobiasjung.name/profont/, then unzip and move directory to /usr/share/fonts/(added needed PathFont to X config) delete all trash like readme beside files with .pcf in names.
And what do you mean by "most clients"? Applications that don't use pango and gtk?
Font is in the /usr/share/fonts/profont-x11 directory
ls /usr/share/fonts/profont-x11
ProFont_r400-10.pcf ProFont_r400-11.pcf ProFont_r400-12.pcf ProFont_r400-15.pcf ProFont_r400-17.pcf ProFont_r400-22.pcf ProFont_r400-29.pcfLast edited by knarh (2023-03-16 16:21:29)
Offline
Almost nothing uses X11 server fonts these days.
Certainly not GTK or Qt but also not whatever else you're most likely using.
ls /usr/share/fonts/profont-x11
https://man.archlinux.org/man/extra/xor … n#FontPath
https://wiki.archlinux.org/title/font_c … Font_paths
Keep in mind that Xorg does not search recursively through the /usr/share/fonts/ directory like Fontconfig does. To add a path, the full path must be used:
Online
I ran
grep fonts /var/log/Xor.0.logand there was something like "/usr/share/fonts/profont-x11 doesn't exist, run mkfontdir" I ran and all is fine. profont is defined by xlsfonts.
But I have another small problem: after making font directory for terminus too I have terminus font from package and from tar.gz(in fonts/terminus-4.49-1), so in xlsfonts in duplicates like
-xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1
-xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1
-xos4-terminus-medium-r-normal--28-280-72-72-c-140-iso10646-1
-xos4-terminus-medium-r-normal--28-280-72-72-c-140-iso10646-1
-xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1
-xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1So I just need to remove package? (I want to save manually installed version)
I understood that I perhaps will never use bitmap fonts beside terminal emulator, so can I use these fonts in tty? and can be in tty not a bitmap font?
Last edited by knarh (2023-03-16 17:16:33)
Offline
The console ("tty") uses completely different fonts, https://wiki.archlinux.org/title/Linux_console#Fonts
You can use bitmap fonts in most GUI clients.
So I just need to remove package? (I want to save manually installed version)
Probably, but why do you want to have/keep a manually controlled version over the repo package?
Online
Removing the package worked
Thanks for help, seth
Offline
Pages: 1