[OpenFontLibrary] Windows 5k Name table restriction

Khaled Hosny khaledhosny at eglug.org
Thu Mar 18 11:26:37 PDT 2010


It was discussed a while ago on FontForge list, and this analysis wasn't
correct; each entry in names table can't be more than 5K, not the whole
table, IIRC, FontForge now does the correct check.

On Thu, Mar 18, 2010 at 05:36:29PM +0000, Dave Crossland wrote:
> Hi,
> 
> Interesting: this effects us, I think. A url of a license is not as ideal as
> the full license text, but I guess will have to do.
> 
> Regards, Dave
> 
>     ---------- Forwarded message ----------
>     From: "प्रविण सातपुते" <pravin.d.s at gmail.com>
>     Date: 18 Mar 2010, 9:28 AM
>     Subject: warning while generating .ttf file
>     To: "fedora-fonts-list" <fedora-fonts-list at redhat.com>
> 
>     "Windows has decided that fonts with 'name' tables bigger than 5K are
>     insecure and will refuse to load them. Don't ask me why they believe this.
>     This font has a name table which is 6948 bytes and is bigger than this
>     limit."
> 
>     http://fontforge.sourceforge.net/fontinfo.html#Names
> 
>     .... MicroSoft recently (2009) released a security patch in which they
>     decided that font's whose 'name' table was bigger than 5K were insecure.
>     Personally I cannot fathom their logic, but that's OK, I usually can't.
>     Unfortunately many licenses are bigger than 5K, the OFL is for one, so it
>     is now "better" to include a link to a license website rather than the full
>     text of the license -- at least it is if you want your font to work on
>     Windows.
>     .....
> 
> 
>     Most of the fonts has license included inside fonts itself.
> 
>     version fontforge-20090923-2
> 
>     -
>     Pravin S
> 
>     _______________________________________________
>     fonts mailing list
>     fonts at lists.fedoraproject.org
>     https://admin.fedoraproject.org/mailman/listinfo/fonts
>     http://fonts.fedoraproject.org/
> 

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the OpenFontLibrary mailing list