[Fontconfig] How to ignore OpenType Collection fonts
rs at mytum.de
Mon May 30 20:30:44 UTC 2016
On Mon, May 30, 2016 13:02, Masamichi Hosoda wrote:
>> The way I read the implementation of FcConfigAddCache, <globs> are
>> 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
>> 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.
What about inverting the logic, i. e. only using <rejectfont> with only
those OpenType Collection fonts that you want to ignore, using their full
paths with <glob>?
...other than that, I think there's no really good way to specify what you
want, because globbing is no supported operator in <pattern> or even
Worringer Str 31 home: rs at mytum.de +49-179-2981632
Duesseldorf 40211 DE work: raimund.steger at soprasteria.com
More information about the Fontconfig