On 3/18/2018 11:17 AM, Werner LEMBERG wrote:
> 
> Adding support to FreeType would immediately enable *all* applications
> to handle them without changes.  What should a higher level do in your
> opinion?

Higher level would make use of ranges/language mapping for fallback.
DirectWrite fallback is modeled very close if not identical to how this
data is defined in .compositefont xml format. When using DirectWrite
layout API, application can rely on implicit fonts being selected for
different script ranges, and you can set specific language per range to
get more accurate results. Newer versions allow user-defined fallback
data, and API-wise it's very close to what those files provide.

You can certainly parse and discard information irrelevant to freetype,
but that will create ambiguity because same script ranges could be
mapped to different fonts, and only differ in language.

> 
> 
>     Werner
> 


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to