freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Contribution to freetype


From: Nikolay Sivov
Subject: Re: [ft-devel] Contribution to freetype
Date: Sun, 18 Mar 2018 11:50:22 +0300
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:59.0) Gecko/20100101 Thunderbird/59.0

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
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]