You are not logged in.
Pages: 1
Hello
I have a serious problem with font (each character is replaced by a square with a code).
I found that:
grep /fonts ~/.local/share/xorg/Xorg.0.log
[ 4.234] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 4.234] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 4.234] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 4.234] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 4.234] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 4.234] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
however these directories exist and the mkfontdir command has been issued
ls /usr/share/fonts/
100dpi adobe-source-code-pro cyrillic gsfonts misc noto-cjk TTF util
75dpi cantarell encodings mathjax2 noto OTF Type1
How to solve this issue ?
Thank you
AdA
Last edited by dauriac (2019-11-03 17:18:10)
Offline
What font(s) in particular?
https://bbs.archlinux.org/viewtopic.php?id=248032 ?
Offline
Thank you Seth. I already looked at the post you mention, but I could not solve the problem. Since several month after each
sudo pacman -Syu
I needed to restore an old version of pango:
sudo pacman -U /var/cache/pacman/pkg/pango-1\:1.43.0-2-x86_64.pkg.tar.xz
but now it is not anymore working and I am stuck.
Offline
As already asked, which fonts are problematic in particular? The real fix here is not downgrading pango, but using/converting fonts that don't use the old bitmap format.
Offline
Sorry V1del I don't know how to determine what fonts are used and what are the problematic ones
Offline
Srsly?
It's the ones that you configured for any given client (that is important!) or as global defaults (depending on which context is actually affected)…
For the global defaults query
fc-match "sans"
fc-match "serif"
fc-match "monospace"
but again: the actually affected client/s is/are critically important here!
Also you should have read https://wiki.archlinux.org/index.php/Font_configuration so do it now.
Offline
Thank you Seth. Following your advice I found that the default fonts were "Luxi Sans" fonts used by TeX.
I simply installed ttf-dejavu and now everything works fine. I don't understand why all that happens,
but it is not the first time, and not the last, that I "solve" a problem just following advice without understanding.
Offline
As the other thread lamented, pango dropped support for pcf bitmap fonts (admittedly in an over-night complete dick move) so you cannot use any such fonts anymore in any client that loads fonts through pango.
Installing ttf-dejavu did not only provide you with some TTF fonts, but also a config snipped to default DejaVu variants, so the generic names now resolve DejaVu and those do not cause any trouble w/ pango.
Edit: Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Last edited by seth (2019-11-03 16:51:23)
Offline
Pages: 1