> 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.

It boils down to whether `FT_Outline_Decompose' should return success
for empty glyphs.  After the discussion here and some private e-mail
exchanges I'm now rather convinced that the answer is yes – mainly
because `FT_Outline_Check' accepts the empty glyph also.

I'll add a note that users have to filter out empty outlines if
necessary.


    Werner
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to