freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Minor modification of `FT_Outline_Check'?


From: Behdad Esfahbod
Subject: Re: [ft-devel] Minor modification of `FT_Outline_Check'?
Date: Wed, 31 Aug 2016 20:04:57 -0700

On Wed, Aug 31, 2016 at 7:56 PM, Alexei Podtelezhnikov <address@hidden> wrote:
> On Wed, Aug 31, 2016 at 10:45 PM, Behdad Esfahbod
> <address@hidden> wrote:
>> Still confused.  What's wrong with an outline with 0 contours and
>> points.  Ie. empty?
>
> :) Not everything has value. Some things are just empty. This is not a
> complex concept.

I truly don't understand what you are talking about.

Is this about fonts with a glyf table that has glyphs with numContours set to zero, instead of the glyph data being 0-lengthed?  If yes, then that is NOT illegal.  Quoting the spec:

SHORT numberOfContoursIf the number of contours is greater than or equal to zero, this is a single glyph; if negative, this is a composite glyph.

https://www.microsoft.com/typography/OTSPEC/glyf.htm

How is a empty glyph represented?  Too lazy to check.

--
behdad
http://behdad.org/

reply via email to

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