freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Problem font [was: Error code 0x0412?]


From: Tom Kacvinsky
Subject: [Devel] Problem font [was: Error code 0x0412?]
Date: Thu, 14 Dec 2000 11:25:55 -0500 (EST)

Tit definitely is the maxFunctionsDefs.  I cahnged it to 100 in a copy
of the font, and ran it back through ftview.  No problems!

Thanks David!

Tom

On Thu, 14 Dec 2000, Tom Kacvinsky wrote:

> I'll send the font along presently.  The font has maxFunctionDefs set to 10.
>
> Regards,
>
> Tom
>
> On Thu, 14 Dec 2000, David Turner wrote:
>
> > Hi Tom,
> >
> > >
> > > I was debugging the problem with the font Mark Leisher provided me, and I 
> > > get an
> > > error code of 0x0412.  This is not defined in the ft2 headers, but error 
> > > code
> > > 0x0012 is defined:
> > >
> > >   FT_ERRORDEF( FT_Err_Invalid_Glyph_Format,         0x0012, \
> > >                "unsupported glyph image format" )
> > >
> > > So where does the 0x0400 "piece" come from?
> > >
> >
> > There are some internal error codes in the following files too:
> >
> >    freetype/internal/tterrors.h
> >    freetype/internal/t1errors.h
> >    freetype/internal/t2errors.h
> >
> > they should have moved to <freetype/fterrors.h>, but we didn't do it
> > due to our lazyness.. It seems that 0x412 means:
> >
> >     #define TT_Err_Too_Many_Function_Defs     0x412
> >
> > which means that there are too many function definitions in this font
> > (or more exactly, that the "maxFunctionDefs" field of the "maxp" table
> >  in this font is not correctly set..)
> >
> > I'd like to receive a copy of this font to perform some analysis,
> >
> > Thanks,
> >
> > - David
> >
>
>
> _______________________________________________
> Devel mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/devel
>





reply via email to

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