Re: Font substitution in Konqueror?
On 2004-10-31, Silvan <dmmcintyr@users.sourceforge.net> wrote:
> On Thursday 28 October 2004 10:04 am, John Goerzen wrote:
> However, I actually *have* those fonts installed, and I still run into pages
Here's what I have in /etc/fonts/local.conf that does the trick for
Firefox:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<include ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
<dir>/usr/X11R6/lib/X11/fonts</dir>
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Arial</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Bitstream Vera Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Times New Roman</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Bitstream Vera Serif</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Courier New</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Bitstream Vera Sans Mono</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Verdana</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Bitstream Vera Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Helvetica</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Bitstream Vera Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Bitstream Vera Sans</string>
</edit>
</match>
</fontconfig>
Reply to: