[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: |
Sat, 16 Sep 2017 13:49:00 -0700 |
Hi!
I submitted a bug report on this to make it easier for you to track.
Regards,
Stephan
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of
Werner LEMBERG
Sent: Friday, September 15, 2017 10:27 PM
To: address@hidden
Cc: address@hidden
Subject: Re: [ft] GDEF table validation & Roboto-Regular.ttf
> 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.
FreeType's OpenType validation code doesn't yet support recent OpenType
versions, sorry. Admittedly, this is something I have completely missed :-/
Please open a bug tracker issue so that it isn't forgotten.
Werner