[bdf,pcf,winfonts,sfnt] Remove barely used marcros.
* include/freetype/internal/ftobjs.h (FT_FACE_SIZE, FT_SIZE_FACE): Removed. * src/bdf/bdfdrivr.c (BDF_Glyph_Load): Updated. * src/pcf/pcfdrivr.c (PCF_Glyph_Load): Ditto. * src/winfonts/winfnt.c (FNT_Load_Glyph): Ditto * src/sfnt/ttbdf.c (tt_face_find_bdf_prop): Ditto.
This commit is contained in:
parent
97069edd16
commit
2488854056
@ -604,12 +604,6 @@ FT_BEGIN_HEADER
|
||||
#define FT_FACE_MEMORY( x ) FT_FACE( x )->memory
|
||||
#define FT_FACE_STREAM( x ) FT_FACE( x )->stream
|
||||
|
||||
#define FT_SIZE_FACE( x ) FT_SIZE( x )->face
|
||||
#define FT_SLOT_FACE( x ) FT_SLOT( x )->face
|
||||
|
||||
#define FT_FACE_SLOT( x ) FT_FACE( x )->glyph
|
||||
#define FT_FACE_SIZE( x ) FT_FACE( x )->size
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
*
|
||||
|
@ -780,8 +780,8 @@ THE SOFTWARE.
|
||||
FT_UInt glyph_index,
|
||||
FT_Int32 load_flags )
|
||||
{
|
||||
BDF_Face bdf = (BDF_Face)FT_SIZE_FACE( size );
|
||||
FT_Face face = FT_FACE( bdf );
|
||||
FT_Face face = size->face;
|
||||
BDF_Face bdf = (BDF_Face)face;
|
||||
FT_Error error = FT_Err_Ok;
|
||||
FT_Bitmap* bitmap = &slot->bitmap;
|
||||
bdf_glyph_t glyph;
|
||||
|
@ -453,7 +453,7 @@ THE SOFTWARE.
|
||||
FT_UInt glyph_index,
|
||||
FT_Int32 load_flags )
|
||||
{
|
||||
PCF_Face face = (PCF_Face)FT_SIZE_FACE( size );
|
||||
PCF_Face face = (PCF_Face)size->face;
|
||||
FT_Stream stream;
|
||||
FT_Error error = FT_Err_Ok;
|
||||
FT_Bitmap* bitmap = &slot->bitmap;
|
||||
|
@ -142,7 +142,7 @@
|
||||
{
|
||||
TT_Face ttface = (TT_Face)face;
|
||||
TT_BDF bdf = &ttface->bdf;
|
||||
FT_Size size = FT_FACE_SIZE( face );
|
||||
FT_Size size = face->size;
|
||||
FT_Error error = FT_Err_Ok;
|
||||
FT_Byte* p;
|
||||
FT_UInt count;
|
||||
|
@ -1006,7 +1006,7 @@
|
||||
FT_UInt glyph_index,
|
||||
FT_Int32 load_flags )
|
||||
{
|
||||
FNT_Face face = (FNT_Face)FT_SIZE_FACE( size );
|
||||
FNT_Face face = (FNT_Face)size->face;
|
||||
FNT_Font font;
|
||||
FT_Error error = FT_Err_Ok;
|
||||
FT_Byte* p;
|
||||
|
Loading…
Reference in New Issue
Block a user