Re: I'm wondering about binding"strong|same|weak"

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

 



Hi,

On Tue, Sep 11, 2012 at 3:15 AM, Mait <mattengi@xxxxxxxxx> wrote:
> Hello,
>
> I only know should use "strong" or "same" for font substitution.
>
> <alias>, <prefer> or <match> <test target="pattern" name="family" ....

That depends on what you want to do. "same" means any object on
editing will have same precedence to the binding on matching. this is
to respect the existing rules and you can use it if you don't
particularly have any reason to give higher/lower priority to it. if
you think it should has a priority, then it would be better using
"strong" binding and vice versa. this binding information affects
estimating the best font according to various rules.

Anyway, just trying something would be faster and easier to see what's
going on. setting FC_DEBUG environment like FC_DEBUG=4 would gives you
more information how fontconfig figure it out.

HTH,

>
> I've read whole fonts-conf man page. But I don't understand about these well.
>
> Please explain me like I'm 5! :)
>
> When should I use strong|same|weak?
>
> Thanks.
> --
> Mait
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
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