Post History
I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed grep -r 8859-2 /usr/share/fonts/ and, to my surprise, found many matches, for example ==> /us...
#4: Post edited
- I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed
- grep -r 8859-2 /usr/share/fonts/
- and, to my surprise, found many matches, for example
- ```
- ==> /usr/share/fonts/dejavu/fonts.dir <==
- DejaVuSans.ttf -misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-Bold.ttf -misc-dejavu sans condensed-bold-r-semicondensed--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-BoldOblique.ttf -misc-dejavu sans condensed-bold-o-semicondensed--0-0-0-0-p-0-iso8859-2
- ==> /usr/share/fonts/unifont/fonts.dir <==
- unifont.ttf -misc-unifont-medium-r-normal--0-0-0-0-p-0-iso8859-2
- ```
- The same lines are also present in the respective `fonts.scale` file.
- However, Xlsfonts finds no such fonts,
- ```
- $ xlsfonts -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -o -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -fn '*-iso8859-2'
- xlsfonts: pattern "*-iso8859-2" unmatched
- ```
- even though `/usr/share/fonts/dejavu` is in the font path as per `xset q`.
- I followed [Arch Wiki: X Logical Font Description][0] closely, but I just don't get the expected result. What am I missing?
- ---
- Since those scalable fonts are `.tff`, while the classic bitmap ones are `.pcf`, I looked for more information on Truetype fonts and found several references ([1][1], [2][2], [3][3]) that suggest to add the _freetype_ module to `/etc/X11/xorg.conf`:
- ```
- Section "Module"
- Load "freetype"
- EndSection
- ```
- I did so and restarted the X server, but still no scalable fonts.
- [0]: https://wiki.archlinux.org/title/X_Logical_Font_Description
- [1]: https://docs.freebsd.org/en/books/handbook/x11/
[2]: https://people.freebsd.org/~blackend/doc/handbook/x-fonts.html- [3]: https://linuxfromscratch.org/blfs/view/6.3/x/x-setup.html
- I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed
- grep -r 8859-2 /usr/share/fonts/
- and, to my surprise, found many matches, for example
- ```
- ==> /usr/share/fonts/dejavu/fonts.dir <==
- DejaVuSans.ttf -misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-Bold.ttf -misc-dejavu sans condensed-bold-r-semicondensed--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-BoldOblique.ttf -misc-dejavu sans condensed-bold-o-semicondensed--0-0-0-0-p-0-iso8859-2
- ==> /usr/share/fonts/unifont/fonts.dir <==
- unifont.ttf -misc-unifont-medium-r-normal--0-0-0-0-p-0-iso8859-2
- ```
- The same lines are also present in the respective `fonts.scale` file.
- However, Xlsfonts finds no such fonts,
- ```
- $ xlsfonts -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -o -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -fn '*-iso8859-2'
- xlsfonts: pattern "*-iso8859-2" unmatched
- ```
- even though `/usr/share/fonts/dejavu` is in the font path as per `xset q`.
- I followed [Arch Wiki: X Logical Font Description][0] closely, but I just don't get the expected result. What am I missing?
- ---
- Since those scalable fonts are `.tff`, while the classic bitmap ones are `.pcf`, I looked for more information on Truetype fonts and found several references ([1][1], [2][2], [3][3]) that suggest to add the _freetype_ module to `/etc/X11/xorg.conf`:
- ```
- Section "Module"
- Load "freetype"
- EndSection
- ```
- I did so and restarted the X server, but still no scalable fonts.
- [0]: https://wiki.archlinux.org/title/X_Logical_Font_Description
- [1]: https://docs.freebsd.org/en/books/handbook/x11/
- [2]: http://www.sabi.co.uk/Notes/linuxFonts.html#fontSw
- [3]: https://linuxfromscratch.org/blfs/view/6.3/x/x-setup.html
#3: Post edited
- I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed
- grep -r 8859-2 /usr/share/fonts/
- and, to my surprise, found many matches, for example
- ```
- ==> /usr/share/fonts/dejavu/fonts.dir <==
- DejaVuSans.ttf -misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-Bold.ttf -misc-dejavu sans condensed-bold-r-semicondensed--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-BoldOblique.ttf -misc-dejavu sans condensed-bold-o-semicondensed--0-0-0-0-p-0-iso8859-2
- ==> /usr/share/fonts/unifont/fonts.dir <==
- unifont.ttf -misc-unifont-medium-r-normal--0-0-0-0-p-0-iso8859-2
- ```
- The same lines are also present in the respective `fonts.scale` file.
- However, Xlsfonts finds no such fonts,
- ```
- $ xlsfonts -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -o -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -fn '*-iso8859-2'
- xlsfonts: pattern "*-iso8859-2" unmatched
- ```
- even though `/usr/share/fonts/dejavu` is in the font path as per `xset q`.
I followed [Arch Wiki: X Logical Font Description][1] closely, but I just don't get the expected result. What am I missing?[1]: https://wiki.archlinux.org/title/X_Logical_Font_Description
- I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed
- grep -r 8859-2 /usr/share/fonts/
- and, to my surprise, found many matches, for example
- ```
- ==> /usr/share/fonts/dejavu/fonts.dir <==
- DejaVuSans.ttf -misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-Bold.ttf -misc-dejavu sans condensed-bold-r-semicondensed--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-BoldOblique.ttf -misc-dejavu sans condensed-bold-o-semicondensed--0-0-0-0-p-0-iso8859-2
- ==> /usr/share/fonts/unifont/fonts.dir <==
- unifont.ttf -misc-unifont-medium-r-normal--0-0-0-0-p-0-iso8859-2
- ```
- The same lines are also present in the respective `fonts.scale` file.
- However, Xlsfonts finds no such fonts,
- ```
- $ xlsfonts -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -o -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -fn '*-iso8859-2'
- xlsfonts: pattern "*-iso8859-2" unmatched
- ```
- even though `/usr/share/fonts/dejavu` is in the font path as per `xset q`.
- I followed [Arch Wiki: X Logical Font Description][0] closely, but I just don't get the expected result. What am I missing?
- ---
- Since those scalable fonts are `.tff`, while the classic bitmap ones are `.pcf`, I looked for more information on Truetype fonts and found several references ([1][1], [2][2], [3][3]) that suggest to add the _freetype_ module to `/etc/X11/xorg.conf`:
- ```
- Section "Module"
- Load "freetype"
- EndSection
- ```
- I did so and restarted the X server, but still no scalable fonts.
- [0]: https://wiki.archlinux.org/title/X_Logical_Font_Description
- [1]: https://docs.freebsd.org/en/books/handbook/x11/
- [2]: https://people.freebsd.org/~blackend/doc/handbook/x-fonts.html
- [3]: https://linuxfromscratch.org/blfs/view/6.3/x/x-setup.html
#2: Post edited
X server scalable fonts are not loaded into the database
- Scalable fonts are not loaded into the X server database
- I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed
- grep -r 8859-2 /usr/share/fonts/
- and, to my surprise, found many matches, for example
- ```
- ==> /usr/share/fonts/dejavu/fonts.dir <==
- DejaVuSans.ttf -misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-Bold.ttf -misc-dejavu sans condensed-bold-r-semicondensed--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-BoldOblique.ttf -misc-dejavu sans condensed-bold-o-semicondensed--0-0-0-0-p-0-iso8859-2
- ```
- However, Xlsfonts finds no such fonts,
- ```
- $ xlsfonts -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -fn '*-iso8859-2'
- xlsfonts: pattern "*-iso8859-2" unmatched
- ```
- even though `/usr/share/fonts/dejavu` is in the font path as per `xset q`.
- I followed [Arch Wiki: X Logical Font Description][1] closely, but I just don't get the expected result. What am I missing?
- [1]: https://wiki.archlinux.org/title/X_Logical_Font_Description
- I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed
- grep -r 8859-2 /usr/share/fonts/
- and, to my surprise, found many matches, for example
- ```
- ==> /usr/share/fonts/dejavu/fonts.dir <==
- DejaVuSans.ttf -misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-Bold.ttf -misc-dejavu sans condensed-bold-r-semicondensed--0-0-0-0-p-0-iso8859-2
- DejaVuSansCondensed-BoldOblique.ttf -misc-dejavu sans condensed-bold-o-semicondensed--0-0-0-0-p-0-iso8859-2
- ==> /usr/share/fonts/unifont/fonts.dir <==
- unifont.ttf -misc-unifont-medium-r-normal--0-0-0-0-p-0-iso8859-2
- ```
- The same lines are also present in the respective `fonts.scale` file.
- However, Xlsfonts finds no such fonts,
- ```
- $ xlsfonts -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -o -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2'
- xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched
- $ xlsfonts -fn '*-iso8859-2'
- xlsfonts: pattern "*-iso8859-2" unmatched
- ```
- even though `/usr/share/fonts/dejavu` is in the font path as per `xset q`.
- I followed [Arch Wiki: X Logical Font Description][1] closely, but I just don't get the expected result. What am I missing?
- [1]: https://wiki.archlinux.org/title/X_Logical_Font_Description
#1: Initial revision
X server scalable fonts are not loaded into the database
I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed grep -r 8859-2 /usr/share/fonts/ and, to my surprise, found many matches, for example ``` ==> /usr/share/fonts/dejavu/fonts.dir <== DejaVuSans.ttf -misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2 DejaVuSansCondensed-Bold.ttf -misc-dejavu sans condensed-bold-r-semicondensed--0-0-0-0-p-0-iso8859-2 DejaVuSansCondensed-BoldOblique.ttf -misc-dejavu sans condensed-bold-o-semicondensed--0-0-0-0-p-0-iso8859-2 ``` However, Xlsfonts finds no such fonts, ``` $ xlsfonts -fn '-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2' xlsfonts: pattern "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-2" unmatched $ xlsfonts -fn '*-iso8859-2' xlsfonts: pattern "*-iso8859-2" unmatched ``` even though `/usr/share/fonts/dejavu` is in the font path as per `xset q`. I followed [Arch Wiki: X Logical Font Description][1] closely, but I just don't get the expected result. What am I missing? [1]: https://wiki.archlinux.org/title/X_Logical_Font_Description