freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Duplicate default instance as named-instance


From: Werner LEMBERG
Subject: Re: [ft-devel] Duplicate default instance as named-instance
Date: Wed, 20 Sep 2017 07:43:38 +0200 (CEST)

> I just want to say that I don't like this commit:
> 
> commit 27fee7f8c6ae75e066b5a23472b33925c6e8b1e0
> Author: Werner Lemberg <address@hidden>
> Date:   Mon Mar 6 20:45:44 2017 +0100
> 
>     [sfnt, truetype] Always provide default instance.
> 
> The default instance does NOT need a named instance.  It's already
> there when the instance-number is not set (=0).
> 
> It doesn't make my life harder, as some fonts might include the
> default instance anyway, so I have to filter the duplicate entry
> anyway.  It's just unnecessary IMO.

There is an asymmetry in the OpenType specification: Some variation
fonts come with a named default instance, some not.  I decided to
completely separate named instances from `normal' fonts, at the cost
of adding the unnamed default instance to the list of instances.

In other words, the list of instances in FreeType is *always*
complete.  This means that for variation fonts you never have to look
at the non-instanced face.


    Werner



reply via email to

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