Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

66%
+2 −0
Q&A 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 ==> /us...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by Quasímodo‭

Question x11 fonts
#4: Post edited by user avatar Quasímodo‭ · 2022-02-09T11:33:25Z (about 2 years ago)
Replace repeated reference
  • 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 by user avatar Quasímodo‭ · 2022-02-08T13:29:45Z (about 2 years ago)
  • 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 by user avatar Quasímodo‭ · 2022-02-08T12:56:47Z (about 2 years ago)
  • 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 by user avatar Quasímodo‭ · 2022-02-07T22:35:44Z (about 2 years ago)
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