[Bug 238482] x11-fonts/fontconfig: Firefox print pre-formatting is HORRIBLE ("bitmap font by default")

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 15 22:30:02 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238482

--- Comment #22 from lightside <lightside at gmx.com> ---
(In reply to comment #21)
For example, the `man fonts-conf` mentions about usage of alias for Helvetica:
https://www.freebsd.org/cgi/man.cgi?query=fonts-conf
-8<--
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <alias>
                <family>Helvetica</family>
                <prefer><family>Arial</family></prefer>
                <default><family>sans</family></default>
        </alias>
</fontconfig>
--8>-

There is some Metric-compatible fonts:
https://wiki.archlinux.org/index.php/Metric-compatible_fonts

Also some page for reference about font configuration:
https://wiki.archlinux.org/index.php/font_configuration

There is a possibility to create local ~/.fonts.conf (or as a symlink to
~/.config/fontconfig/fonts.conf file).
Possible to add the same contents as for "Reject bitmap fonts"
(/usr/local/etc/fonts/conf.avail/70-no-bitmaps.conf) to it, if needed.

Some people tried to fix this (or similar issue) on the browser level:
Helvetica on Firefox: Overriding Fonts with CSS
https://keyvan.net/2010/10/helvetica-on-firefox/
Fix broken Helvetica fonts in Firefox
https://devhen.org/fix-broken-helvetica-fonts-in-firefox/

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-gecko mailing list