FcConfigSubstituteWithPat enhancement?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The SubstituteWithPat function copies the "best match" element value from the
pattern to the font pattern for any element not in the font pattern.  However,
for custom elements that ends up just copying the first value.  Which
typically is NOT what you want.  Typically you want all values to be copied.
Right?

For example, if I do this:

<match target="pattern">
  <edit name="pangofontfeatures" mode="append">
    <string>smcp</string>
    <string>ss20</string>
  </edit>
</match>

only one of the strings makes it to the other side.

Thoughts?

-- 
behdad
http://behdad.org/
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux