freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Re: Throw SFNT_Err_Table_Missing and catch FT_Err_Table_Missi


From: Werner LEMBERG
Subject: [ft-devel] Re: Throw SFNT_Err_Table_Missing and catch FT_Err_Table_Missing?
Date: Sat, 04 Oct 2008 13:43:41 +0200 (CEST)

> The error is catched by FT_Open_Face(), but my patch compares it
> with FT_Err_XXX (not SFNT_Err_XXX). Same macro should be used
> between the thrower and the catcher?

Use the FT_ERROR_BASE macro to convert a module error into a base
error.

BTW, I suggest to define a TTAG_TYP1 macro (and probably TTAG_CID_
also).

The patch looks fine, thanks.


    Werner




reply via email to

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