[Fontconfig] Pango support for `size' OpenType feature?

Behdad Esfahbod behdad at behdad.org
Sun Sep 9 14:53:16 PDT 2012


On 09/08/2012 11:49 PM, Khaled Hosny wrote:
> On Sat, Sep 08, 2012 at 11:05:58PM -0400, Behdad Esfahbod wrote:
>> On 09/08/2012 02:44 AM, Werner LEMBERG wrote:
>>>
>>> As the subject says: Does Pango support the `size' OpenType feature?
>>
>> No.
>>
>> The only Free Software font family I can think of that can use the 'size'
>> feature is Computer Modern.  And I don't think any of its OpenType renditions
>> have that feature set.
> 
> Latin Modern have it. Linux Libertine have a display version but no
> 'size' feature, and EB Garamond have several optical sizes with a 'size'
> feature.

Thanks.  If I keep procrastinating today any longer today I may end up coding
it up!

>> At any rate, it can easily go into Fontconfig.  We just need to add an element
>> for design size, perhaps one for the design range, possibly for design name,
>> and then make the matcher match the font with design size closest to requested
>> size...
> 
> There are name ID associated with 'size' features and FontConfig needs to
> take them into account.

Not clear to me where that should go though.

behdad

> Regards,
>  Khaled
> 


More information about the Fontconfig mailing list