[Fontconfig] How to ignore OpenType Collection fonts

Masamichi Hosoda trueroad at trueroad.jp
Mon May 30 11:02:28 UTC 2016

> The way I read the implementation of FcConfigAddCache, <globs> are always
> checked first when building the cache before any pattern-based
> <acceptfont> has a chance to do anything.
> This means, you would probably have to use <acceptfont> with all filenames
> in <glob> that you want to keep. Then remove the <pattern> based
> <acceptfont> and leave the <glob> in <rejectfont> unchanged.

Thank you for your advice.

Is it necessary that to list individual font file name?
It is difficult to list all of the TTC/OTC font file name.

More information about the Fontconfig mailing list