[Fontconfig] Re: conf.d and fake embolding / italics
sunmoon1997 at gmail.com
Sun Nov 6 18:03:03 PST 2005
I do something like following.
<match target="font" >
<test name="family" qual="any" >
<edit mode="assign" name="weight" >
<edit mode="assign" name="style" >
Michael A. Peters wrote:
> On Sun, 2005-11-06 at 17:06 -0500, Patrick Lam wrote:
>>I don't have anything against creating
>>/etc/fonts/conf.d/artificial-embolden.conf. However, it seems that the
>>system administrator can simply create the following
>> <match target="font">
>> <!-- check to see if the font is just regular -->
>> <test name="weight" compare="less_eq">
>> <!-- check to see if the pattern requests bold -->
>> <test target="pattern" name="weight" compare="more_eq">
>> <!-- set the embolden flag -->
>> <edit name="embolden" mode="assign">
>>and similarly for italics.
> When I tried that - it did not work, I still received double embolding.
> I will try again - perhaps I did not have the syntax perfect. I'm pretty
> sure that is exactly what I tried (amongst other things).
> If it works, I'll close the fedora RFE and report back.
> The issue I'm trying to deal with is font vendors that use a different
> family name for each face - IE
> One solution is of course to edit the fonts so they are in the same
> The problem is I'm working on a project that is suppose to "be like
> iTunes but for fonts" (fonts can be previewed, and when purchased -
> installed for use), and changing the font from how the vendor
> distributes it is not acceptable, the font store can not do that.
More information about the Fontconfig