[Fontconfig] Matching font by unicode coverage

Sam Varshavchik 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/ 
> Public/UNIDATA/Scripts.txt)
> - 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
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20150119/5ec5ab21/attachment.sig>


More information about the Fontconfig mailing list