[Fontconfig] FcConfigSubstituteWithPat enhancement?

Akira TAGOH akira at tagoh.org
Thu Jan 10 20:54:35 PST 2013


Right. I've fixed partly this issue for namelang related stuff in 2.10.2.
that would makes sense if user-defined values is copied from the pattern to
the result. that said we may need to test it carefully if it has any
side-effects in apps.


On Fri, Jan 11, 2013 at 7:36 AM, Behdad Esfahbod <behdad at behdad.org> wrote:

> 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig
>



-- 
Akira TAGOH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20130111/eee34b0e/attachment.html>


More information about the Fontconfig mailing list