> Here's a patch for something that has caused me some trouble.
> tt_face_init in ttobjs.c uses logical OR to concatenate a series of
> calls to functions that return integer error codes. Unfortunately,
> logical OR converts the error code, if any, to 1, because it returns
> a boolean value, 0 or 1.
>
> That had the very irritating consequence for me of changing
> FT_Err_Out_Of_Memory (0x40) into FT_Err_Cannot_Open_Resource (0x01)
> which sent me on a wild goose chase. [...]
>
> Here's a diff (from Perforce - I hope the format is okay):
Applied, thanks.
Werner
_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel