Le mercredi 31 août 2005 à 22:37 +0200, Werner LEMBERG a écrit :
This patch is causing a regression when trying to use Bitstream
Vera Sans 10 = all glyphs with accentuated letters (like à é ù )
are not longer displayed :(
Hmm. It works on my system. Did I send the wrong patch?
It's
Le lundi 29 août 2005 à 13:59 +0200, Werner LEMBERG a écrit :
#define TT_MAX_COMPOSITE_RECURSE 5
This value is used to specify the maximum depth allowed to which
composite glyphs may be nested.
But the truetype spec does talk about this, it's a field in maxp
maxComponentDepth.
This patch is causing a regression when trying to use Bitstream
Vera Sans 10 = all glyphs with accentuated letters (like à é ù )
are not longer displayed :(
Hmm. It works on my system. Did I send the wrong patch?
It's my fault I think since I applied it manually.
Anyway. Line 1215 of
#define TT_MAX_COMPOSITE_RECURSE 5
This value is used to specify the maximum depth allowed to which
composite glyphs may be nested.
But the truetype spec does talk about this, it's a field in maxp
maxComponentDepth. So I suggest the following patch:
Applied, thanks.
Werner
src/truetype/ttgload.c: says
/* Maximum recursion depth we allow for composite glyphs.
* The TrueType spec doesn't say anything about recursion,
* so it isn't clear that recursion is allowed at all. But
* we'll be generous.
*/
#define