freetype
[Top][All Lists]
Advanced

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

Re: [ft] GDEF table validation & Roboto-Regular.ttf


From: Stephan Bouchard
Subject: Re: [ft] GDEF table validation & Roboto-Regular.ttf
Date: Fri, 15 Sep 2017 17:05:57 -0700

Taking a closer look, it appears the table is marked as Invalid since the
GDEF Header is version 1.2. Unless I am mistaken, in otvgdef.c at line 172, 

  if ( FT_NEXT_ULONG( p ) != 0x10000UL )          /* Version */
      FT_INVALID_FORMAT;

This would cause format 1.2 and 1.3 to return as invalid.

-----Original Message-----
From: Freetype [mailto:address@hidden On
Behalf Of Stephan B.
Sent: Friday, September 15, 2017 4:27 PM
To: address@hidden
Subject: [ft] GDEF table validation & Roboto-Regular.ttf

Hi!

 

I am using FT_OpenType_Validate and when trying to validate the GDEF table
using Roboto-Regular
<https://fonts.google.com/specimen/Roboto?selection.family=Roboto>  I get an
Error = 8 or Invalid Table. Looking at the font file itself, the GDEF table
appears to be fine so I am not sure if this is in face an issue with the
font or with Freetype. Other font files appear to validate fine.

 

 

Regards,

 

 

Stephan

_______________________________________________
Freetype mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/freetype




reply via email to

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