[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] new error scheme
From: |
David Turner |
Subject: |
Re: [Devel] new error scheme |
Date: |
Fri, 08 Jun 2001 16:12:57 +0200 |
Hi Werner,
Werner LEMBERG a écrit :
>
> I've finally committed my changes for the new error scheme. It's not
> documented yet. Please have a look into the new file ftmoderr.h for
> some explanations. If `FT_CONFIG_OPTION_USE_MODULE_ERRORS' is
> undefined, new changes are even fully backwards compatible.
>
Well, your changes completely broke FreeType, since the font drivers
didn't return FT_Err_Unknown_File_Format anymore when they were handed
a stream to a font file they cannot handle.
I've just commited a fix, where all parts of FreeType that looked at
the error code now use the new macro FT_ERROR_BASE() (defined in
"fttypes.h") which now returns the module-less error code.
However, since we're going to release 2.0.4 really soon now due
to the transformation bug, I'd prefer to undefine
FT_CONFIG_OPTION_USE_MODULE_ERRORS for now..
Actually, since your changes break _source_ compatibility with
2.0.3 for applications that #include FT_ERRORS_H to generate
error messages (e.g. Pango), it may be a good idea to get them
out until 2.1.. ??
> BTW, it seems that we've forgotten to increase the DLL version info in
> configure.in. I suggest that we use 7:0:1, following the rules in
> libtool.info, since Tom has added the get_cff_glyph_name() function
> for FreeType 2.0.2 -- comments?
>
Good idea, please do it !-)
Regards,
- David