Re: Can't enable any bitmap fonts except Fixed, Unifont and WQY
[email protected] Fri, 5 Oct 2018 12:21:25 +0800 (+08)
| Newsgroups | gmane.comp.fonts.fontconfig |
|---|---|
| Message-ID | <alpine.DEB.2.21.1810051216560.7950@notCBApc> |
On Wed, 26 Sep 2018, Akira TAGOH wrote: > On Tue, Sep 25, 2018 at 7:27 PM Weiwu Zhang <[email protected]> wrote: >> >> In the past decade, enabling bitmap is as easy as linking >> 70-force-bitmaps.conf in /etc/fonts/conf.d while removing any >> references to 70-no-bitmaps.conf > > I don't know what 70-force-bitmaps.conf does though Oh, I used it on Debian and Ubuntu so I thought it were part of fontconfig project. I included it in the end of this email†. > you could check some steps to see why it doesn't appear on your box. > First, you can see with fc-cache -v if the targeted directory is > scanned by fontconfig and fonts are cached properly. It looks normal: $ fc-cache -v | grep 100 /usr/share/fonts/X11/100dpi: skipping, existing cache is valid: 0 fonts, 0 dirs /usr/share/fonts/X11/100dpi is the directory where helvetica is: $ du -c /usr/share/fonts/X11/100dpi/helv* | tail 8 /usr/share/fonts/X11/100dpi/helvR24-ISO8859-2.pcf.gz 8 /usr/share/fonts/X11/100dpi/helvR24-ISO8859-3.pcf.gz 8 /usr/share/fonts/X11/100dpi/helvR24-ISO8859-4.pcf.gz 8 /usr/share/fonts/X11/100dpi/helvR24-ISO8859-9.pcf.gz 1544 total > if not at this > stage, you may need to update your conf to get it cached. otherwise > some config might be wrong. it works for me at least: > > $ fc-match -f '%{family}: %{file}\n' helvetica > Helvetica: /usr/share/X11/fonts/100dpi/helvR08.pcf.gz Not for me: $ fc-match -f '%{family}: %{file}\n' helvetica TeX Gyre Heros: /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf What OS are you using? I'm thinking this is a Debian/Ubuntu specific problem. † about 70-force-bitmaps.conf $ cat /etc/fonts/conf.avail/70-force-bitmaps.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- Accept bitmap fonts --> <selectfont> <acceptfont> <pattern> <patelt name="scalable"><bool>false</bool></patelt> </pattern> </acceptfont> </selectfont> </fontconfig> _______________________________________________ Fontconfig mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/fontconfig