[Top][All Lists]

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

Re: Maximum length of 'kern' table supported in .ttf?

From: Werner LEMBERG
Subject: Re: Maximum length of 'kern' table supported in .ttf?
Date: Wed, 28 Jul 2021 16:26:02 +0000 (UTC)

> I am trying to use Adobe Source Serif in WPS Office on Linux.  I
> notice that it ignores kerning pairs in the .otf version.  In the
> .ttf version it also ignores kerning pairs.  This is because WPS
> doesn't support GPOS kerning.  However, if I open either of the
> original fonts in fontforge and export as .ttf with a 'kern' table
> then kerning is activated in WPS Office.

Well, kerning in the GPOS table exists since 20 years or so...

> I notice that there are 200,000 kern pairs in 15 subtables in my
> generated fonts.  What is the limit of entries that freetype can
> handle?

FreeType handles up to 32 subtables (with up to 65k entries each).
This is an arbitrary limit as a protection against malformed fonts.
Did you notice a problem?


reply via email to

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