[Fontconfig] Matching font by unicode coverage
mrsam at courier-mta.com
Mon Jan 19 17:09:27 PST 2015
David Lattimore writes:
> Matching with an FC_CHARSET works for me. No idea if what I'm doing is right,
> but roughly what I do is:
> - Identify script for each character
> (using <URL:http://unicode.org/Public/UNIDATA/Scripts.txt>http://unicode.org/
> - Split runs based on script (so that no run has two different scripts)
> - Build an FC_CHARSET for the run.
> - Match and use the resulting font.
That seems to be exactly what I'm looking for, thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Fontconfig