平衡点
2006/11/21
_ fontconfig
「Bold が滲んで読めません」とか言ってましたが, モトヤシーダでゴニョゴニョする事で, ようやく, まあ, それなりに.
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> <edit mode="assign" name="embeddedbitmap"> <bool>false</bool> </edit> </match> <match target="pattern"> <test name="family" compare="eq"> <string>serif</string> </test> <test name="weight" compare="more"> <const>medium</const> </test> <edit name="family" mode="prepend"> <string>NfMotoyaCedar</string> </edit> </match> <match target="pattern"> <test name="family" compare="eq"> <string>serif</string> </test> <test name="weight" compare="less_eq"> <const>medium</const> </test> <edit name="family" mode="prepend"> <string>IPAPMincho</string> </edit> </match> <match target="pattern"> <test name="family" compare="eq"> <string>sans-serif</string> </test> <test name="weight" compare="more"> <const>medium</const> </test> <edit name="family" mode="prepend"> <string>NfMotoyaCedar</string> </edit> </match> <match target="pattern"> <test name="family" compare="eq"> <string>sans-serif</string> </test> <test name="weight" compare="less_eq"> <const>medium</const> </test> <edit name="family" mode="prepend"> <string>IPAPGothic</string> </edit> </match> <match target="pattern"> <test name="family" compare="eq"> <string>monospace</string> </test> <edit name="family" mode="prepend"> <string>September-M-Mono</string> </edit> </match> <match target="pattern"> <test qual="any" name="family"><string>helvetica</string></test> <edit name="family" mode="assign"><string>Nimbus Sans L</string></edit> </match> <match target="pattern"> <test qual="any" name="family"> <string>times</string> </test> <edit name="family" mode="assign"> <string>Nimbus Roman No9 L</string> </edit> </match> </fontconfig>
みたいな感じで.
serif の bold がゴシックになってる, とか気にしたら負けですよ?