[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] GDEF table validation & Roboto-Regular.ttf
From: |
Werner LEMBERG |
Subject: |
Re: [ft] GDEF table validation & Roboto-Regular.ttf |
Date: |
Sat, 16 Sep 2017 07:26:44 +0200 (CEST) |
> 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