[Fontconfig] Heads up: Droid fonts update in Rawhide

Akira TAGOH akira at tagoh.org
Fri Jul 27 00:23:58 PDT 2012


On Thu, Jul 26, 2012 at 9:42 AM, Raimund Steger <rs at mytum.de> wrote:
> Although I think mode="append" is smarter here, because it's an easy way of
> retaining compatibility with all places that directly refer to the
> locale-specific name and expect it to be enumerable with FcFontList.

Ah, I got what you mean here. yes, definitely. apparently one don't
need to have the substitution rule like:
  <alias binding="same">
     <family>X</family>
     <accept><family>Y</family></accept>
  </alias>

So

<match target="scan">
  <test name="family"><string>X</string></test>
  <edit name="family" mode="append"><string>Y</string></edit>
</match>

should be so smart in this case.

-- 
Akira TAGOH


More information about the Fontconfig mailing list