Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (41 sloc) 1.1 KB
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Reject all bitmap fonts -->
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern>
</rejectfont>
</selectfont>
<match target="font">
<!-- Disable embedded bitmap for modern CPU and LCD -->
<edit name="embeddedbitmap">
<bool>false</bool>
</edit>
<!-- Disable hinting for complicated CJK glyph -->
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
<!-- Use standard rendering settings for LCD -->
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<!-- Prepend VLPGothic as ja sans-self font for adobe-flash-plugin -->
<match target="pattern">
<test name="lang" qual="any" compare="contains">
<string>ja</string>
</test>
<test name="family" qual="any">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>VLPGothic</string>
</edit>
</match>
</fontconfig>