WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Questionable usage of FcPatternAddInteger()

Re: Questionable usage of FcPatternAddInteger()

by Fabian Greffrath-9 :: Rate this Message:

| View in Thread

> FcFontSort() doesn't necessarily returns only FcPatterns matched the
> given pattern. it returns FcPatterns sorted by the score according to
> the result of matching the pattern. I guess what you are expecting to
> see may be more close to FcFontList() perhaps.

Thanks for your reply, but this doesn't really answer my question.

Do you think that using FcPatternAddInteger() in the code I attached to my
previous mail is a good idea or do you think it does confuse fontconfig
more than it guides it towards preferring monospaced fonts? I more or less
want to resemble the behaviour of "fc-match -s" with this code, thus the
usage of FcFontSort().

 - Fabian


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

 « Return to Thread: Questionable usage of FcPatternAddInteger()