diff options
author | David Turner <david@freetype.org> | 2002-08-27 20:20:29 +0000 |
---|---|---|
committer | David Turner <david@freetype.org> | 2002-08-27 20:20:29 +0000 |
commit | b08fe2dc7af972a61f4e6bcadd7bb522861faec5 (patch) | |
tree | 9091785d1d8f5f4e1b3e67f73a28a7acf6aa7394 /src/truetype | |
parent | 51b6699a35ae3204ffadf0e53fbfb73c486050f4 (diff) | |
download | freetype2-b08fe2dc7af972a61f4e6bcadd7bb522861faec5.tar.gz |
* massive re-formatting changes to many, many source files. I don't
want to list them all here. The operations performed were all logical
transformations of the sources:
- trying to convert all enums and constants to CAPITALIZED_STYLE, with
#define definitions like
#define my_old_constants MY_NEW_CONSTANT
- big, big update of the documentation comments
* include/freetype/freetype.h, src/base/ftobjs.c, src/smooth/ftsmooth.c,
include/freetype/ftimage.h: adding support for LCD-optimized rendering
though the new constants/enums:
FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V
FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V
this is still work in progress, don't expect everything to work correctly
though most of the features have been implemented.
* adding new FT_LOAD_XXX flags, used to specify both hinting and rendering
targets:
FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering
FT_LOAD_TARGET_MONO :: monochrome bitmaps
FT_LOAD_TARGET_LCD :: horizontal RGB/BGR decimated hinting & rendering
FT_LOAD_TARGET_LCD_V :: vertical RGB/BGR decimated hinting & rendering
note that FT_LOAD_TARGET_NORMAL is 0, which means that the default
behaviour of the font engine is _unchanged_.
Diffstat (limited to 'src/truetype')
-rw-r--r-- | src/truetype/ttdriver.c | 18 | ||||
-rw-r--r-- | src/truetype/ttgload.c | 16 | ||||
-rw-r--r-- | src/truetype/ttinterp.c | 72 | ||||
-rw-r--r-- | src/truetype/ttobjs.c | 56 | ||||
-rw-r--r-- | src/truetype/ttobjs.h | 18 | ||||
-rw-r--r-- | src/truetype/ttpload.c | 16 | ||||
-rw-r--r-- | src/truetype/ttpload.h | 10 |
7 files changed, 103 insertions, 103 deletions
diff --git a/src/truetype/ttdriver.c b/src/truetype/ttdriver.c index d07427d5c..1e7bf3178 100644 --- a/src/truetype/ttdriver.c +++ b/src/truetype/ttdriver.c @@ -222,7 +222,7 @@ size->strike_index = 0xFFFF; #endif - return TT_Size_Reset( size ); + return tt_size_reset( size ); } @@ -261,7 +261,7 @@ size->strike_index = 0xFFFF; #endif - return TT_Size_Reset( size ); + return tt_size_reset( size ); } @@ -319,7 +319,7 @@ if ( !size->ttmetrics.valid ) { - if ( FT_SET_ERROR( TT_Size_Reset( size ) ) ) + if ( FT_SET_ERROR( tt_size_reset( size ) ) ) return error; } } @@ -390,8 +390,8 @@ (void*)0, /* driver specific interface */ - (FT_Module_Constructor)TT_Driver_Init, - (FT_Module_Destructor) TT_Driver_Done, + (FT_Module_Constructor)tt_driver_init, + (FT_Module_Destructor) tt_driver_done, (FT_Module_Requester) tt_get_interface, }, @@ -400,10 +400,10 @@ sizeof ( FT_GlyphSlotRec ), - (FT_Face_InitFunc) TT_Face_Init, - (FT_Face_DoneFunc) TT_Face_Done, - (FT_Size_InitFunc) TT_Size_Init, - (FT_Size_DoneFunc) TT_Size_Done, + (FT_Face_InitFunc) tt_face_init, + (FT_Face_DoneFunc) tt_face_done, + (FT_Size_InitFunc) tt_size_init, + (FT_Size_DoneFunc) tt_size_done, (FT_Slot_InitFunc) 0, (FT_Slot_DoneFunc) 0, diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index 526dbbc87..5eff015ef 100644 --- a/src/truetype/ttgload.c +++ b/src/truetype/ttgload.c @@ -458,7 +458,7 @@ /* clear the touch tags */ for ( n = 0; n < n_points; n++ ) - outline->tags[n] &= FT_Curve_Tag_On; + outline->tags[n] &= FT_CURVE_TAG_ON; outline->n_points = (FT_UShort)n_points; outline->n_contours = (FT_Short) n_contours; @@ -1021,7 +1021,7 @@ FT_GlyphLoader_Add( gloader ); glyph->num_subglyphs = gloader->base.num_subglyphs; - glyph->format = ft_glyph_format_composite; + glyph->format = FT_GLYPH_FORMAT_COMPOSITE; glyph->subglyphs = gloader->base.subglyphs; goto Exit; @@ -1299,7 +1299,7 @@ for ( k = 0; k < num_points; k++ ) - pts->tags[k] &= FT_Curve_Tag_On; + pts->tags[k] &= FT_CURVE_TAG_ON; } cur_to_org( num_points + 2, pts ); @@ -1363,9 +1363,9 @@ if ( ( loader->load_flags & FT_LOAD_NO_SCALE ) == 0 ) y_scale = size->root.metrics.y_scale; - if ( glyph->format != ft_glyph_format_composite ) + if ( glyph->format != FT_GLYPH_FORMAT_COMPOSITE ) { - glyph->outline.flags &= ~ft_outline_single_pass; + glyph->outline.flags &= ~FT_OUTLINE_SINGLE_PASS; /* copy outline to our glyph slot */ FT_GlyphLoader_CopyPoints( glyph->internal->loader, loader->gloader ); @@ -1647,7 +1647,7 @@ glyph->metrics.vertBearingY = (FT_Pos)metrics.vertBearingY << 6; glyph->metrics.vertAdvance = (FT_Pos)metrics.vertAdvance << 6; - glyph->format = ft_glyph_format_bitmap; + glyph->format = FT_GLYPH_FORMAT_BITMAP; if ( load_flags & FT_LOAD_VERTICAL_LAYOUT ) { glyph->bitmap_left = metrics.vertBearingX; @@ -1754,7 +1754,7 @@ #endif /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ /* Main loading loop */ - glyph->format = ft_glyph_format_outline; + glyph->format = FT_GLYPH_FORMAT_OUTLINE; glyph->num_subglyphs = 0; error = load_truetype_glyph( &loader, glyph_index ); @@ -1773,7 +1773,7 @@ /* TrueType glyphs at all sizes using the bytecode interpreter. */ /* */ if ( size && size->root.metrics.y_ppem < 24 ) - glyph->outline.flags |= ft_outline_high_precision; + glyph->outline.flags |= FT_OUTLINE_HIGH_PRECISION; Exit: return error; diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c index 28587e614..cee0f78a2 100644 --- a/src/truetype/ttinterp.c +++ b/src/truetype/ttinterp.c @@ -1175,15 +1175,15 @@ { FT_Int32 m, s, hi; FT_UInt32 l, lo; - + /* compute ax*bx as 64-bit value */ l = (FT_UInt32)( ( a & 0xFFFFU ) * b ); m = ( a >> 16 ) * b; - + lo = l + (FT_UInt32)( m << 16 ); hi = ( m >> 16 ) + ( (FT_Int32)l >> 31 ) + ( lo < l ); - + /* divide the result by 2^14 with rounding */ s = hi >> 31; l = lo + (FT_UInt32)s; @@ -1192,7 +1192,7 @@ l = lo + 0x2000U; hi += (l < lo); - + return ( hi << 18 ) | ( l >> 14 ); } @@ -1206,26 +1206,26 @@ { FT_Int32 m, s, hi1, hi2, hi; FT_UInt32 l, lo1, lo2, lo; - + /* compute ax*bx as 64-bit value */ l = (FT_UInt32)( ( ax & 0xFFFFU ) * bx ); m = ( ax >> 16 ) * bx; - + lo1 = l + (FT_UInt32)( m << 16 ); hi1 = ( m >> 16 ) + ( (FT_Int32)l >> 31 ) + ( lo1 < l ); - + /* compute ay*by as 64-bit value */ l = (FT_UInt32)( ( ay & 0xFFFFU ) * by ); m = ( ay >> 16 ) * by; - + lo2 = l + (FT_UInt32)( m << 16 ); hi2 = ( m >> 16 ) + ( (FT_Int32)l >> 31 ) + ( lo2 < l ); - + /* add them */ lo = lo1 + lo2; hi = hi1 + hi2 + ( lo < lo1 ); - + /* divide the result by 2^14 with rounding */ s = hi >> 31; l = lo + (FT_UInt32)s; @@ -1234,7 +1234,7 @@ l = lo + 0x2000U; hi += ( l < lo ); - + return ( hi << 18 ) | ( l >> 14 ); } @@ -1250,33 +1250,33 @@ FT_Int32 m, hi1, hi2, hi; FT_UInt32 l, lo1, lo2, lo; - + /* compute x*x as 64-bit value */ lo = (FT_UInt32)( x & 0xFFFFU ); hi = x >> 16; - + l = lo * lo; m = hi * lo; hi = hi * hi; - + lo1 = l + (FT_UInt32)( m << 17 ); hi1 = hi + ( m >> 15 ) + ( lo1 < l ); - + /* compute y*y as 64-bit value */ lo = (FT_UInt32)( y & 0xFFFFU ); hi = y >> 16; - + l = lo * lo; m = hi * lo; hi = hi * hi; - + lo2 = l + (FT_UInt32)( m << 17 ); hi2 = hi + ( m >> 15 ) + ( lo2 < l ); - + /* add them to get 'x*x+y*y' as 64-bit value */ lo = lo1 + lo2; hi = hi1 + hi2 + ( lo < lo1 ); - + /* compute the square root of this value */ { FT_UInt32 root, rem, test_div; @@ -1303,13 +1303,13 @@ } } while ( --count ); } - + return (FT_Int32)root; } } #else - + /* this version uses FT_Vector_Length which computes the same value */ /* much, much faster.. */ /* */ @@ -1325,7 +1325,7 @@ return FT_Vector_Length( &v ); } - + #endif @@ -1550,7 +1550,7 @@ #endif - zone->tags[point] |= FT_Curve_Tag_Touch_X; + zone->tags[point] |= FT_CURVE_TAG_TOUCH_X; } v = CUR.GS.freeVector.y; @@ -1571,7 +1571,7 @@ #endif - zone->tags[point] |= FT_Curve_Tag_Touch_Y; + zone->tags[point] |= FT_CURVE_TAG_TOUCH_Y; } } @@ -1594,7 +1594,7 @@ FT_UNUSED_EXEC; zone->cur[point].x += distance; - zone->tags[point] |= FT_Curve_Tag_Touch_X; + zone->tags[point] |= FT_CURVE_TAG_TOUCH_X; } @@ -1606,7 +1606,7 @@ FT_UNUSED_EXEC; zone->cur[point].y += distance; - zone->tags[point] |= FT_Curve_Tag_Touch_Y; + zone->tags[point] |= FT_CURVE_TAG_TOUCH_Y; } @@ -5023,7 +5023,7 @@ } } else - CUR.pts.tags[point] ^= FT_Curve_Tag_On; + CUR.pts.tags[point] ^= FT_CURVE_TAG_ON; CUR.GS.loop--; } @@ -5057,7 +5057,7 @@ } for ( I = L; I <= K; I++ ) - CUR.pts.tags[I] |= FT_Curve_Tag_On; + CUR.pts.tags[I] |= FT_CURVE_TAG_ON; } @@ -5085,7 +5085,7 @@ } for ( I = L; I <= K; I++ ) - CUR.pts.tags[I] &= ~FT_Curve_Tag_On; + CUR.pts.tags[I] &= ~FT_CURVE_TAG_ON; } @@ -5153,14 +5153,14 @@ { CUR.zp2.cur[point].x += dx; if ( touch ) - CUR.zp2.tags[point] |= FT_Curve_Tag_Touch_X; + CUR.zp2.tags[point] |= FT_CURVE_TAG_TOUCH_X; } if ( CUR.GS.freeVector.y != 0 ) { CUR.zp2.cur[point].y += dy; if ( touch ) - CUR.zp2.tags[point] |= FT_Curve_Tag_Touch_Y; + CUR.zp2.tags[point] |= FT_CURVE_TAG_TOUCH_Y; } } @@ -5828,7 +5828,7 @@ dx = CUR.zp0.cur[b0].x - CUR.zp1.cur[a0].x; dy = CUR.zp0.cur[b0].y - CUR.zp1.cur[a0].y; - CUR.zp2.tags[point] |= FT_Curve_Tag_Touch_Both; + CUR.zp2.tags[point] |= FT_CURVE_TAG_TOUCH_BOTH; discriminant = TT_MULDIV( dax, -dby, 0x40 ) + TT_MULDIV( day, dbx, 0x40 ); @@ -6006,10 +6006,10 @@ mask = 0xFF; if ( CUR.GS.freeVector.x != 0 ) - mask &= ~FT_Curve_Tag_Touch_X; + mask &= ~FT_CURVE_TAG_TOUCH_X; if ( CUR.GS.freeVector.y != 0 ) - mask &= ~FT_Curve_Tag_Touch_Y; + mask &= ~FT_CURVE_TAG_TOUCH_Y; CUR.zp0.tags[point] &= mask; } @@ -6149,13 +6149,13 @@ if ( CUR.opcode & 1 ) { - mask = FT_Curve_Tag_Touch_X; + mask = FT_CURVE_TAG_TOUCH_X; V.orgs = CUR.pts.org; V.curs = CUR.pts.cur; } else { - mask = FT_Curve_Tag_Touch_Y; + mask = FT_CURVE_TAG_TOUCH_Y; V.orgs = (FT_Vector*)( (FT_Pos*)CUR.pts.org + 1 ); V.curs = (FT_Vector*)( (FT_Pos*)CUR.pts.cur + 1 ); } diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c index 39653e170..e982c539b 100644 --- a/src/truetype/ttobjs.c +++ b/src/truetype/ttobjs.c @@ -57,7 +57,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Done_GlyphZone */ + /* tt_glyphzone_done */ /* */ /* <Description> */ /* Deallocates a glyph zone. */ @@ -66,7 +66,7 @@ /* zone :: A pointer to the target glyph zone. */ /* */ FT_LOCAL_DEF( void ) - TT_Done_GlyphZone( TT_GlyphZone zone ) + tt_glyphzone_done( TT_GlyphZone zone ) { FT_Memory memory = zone->memory; @@ -84,7 +84,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_New_GlyphZone */ + /* tt_glyphzone_new */ /* */ /* <Description> */ /* Allocates a new glyph zone. */ @@ -103,7 +103,7 @@ /* FreeType error code. 0 means success. */ /* */ FT_LOCAL_DEF( FT_Error ) - TT_New_GlyphZone( FT_Memory memory, + tt_glyphzone_new( FT_Memory memory, FT_UShort maxPoints, FT_Short maxContours, TT_GlyphZone zone ) @@ -122,7 +122,7 @@ FT_NEW_ARRAY( zone->tags, maxPoints ) || FT_NEW_ARRAY( zone->contours, maxContours ) ) { - TT_Done_GlyphZone( zone ); + tt_glyphzone_done( zone ); } return error; @@ -133,7 +133,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Face_Init */ + /* tt_face_init */ /* */ /* <Description> */ /* Initializes a given TrueType face object. */ @@ -154,7 +154,7 @@ /* FreeType error code. 0 means success. */ /* */ FT_LOCAL_DEF( FT_Error ) - TT_Face_Init( FT_Stream stream, + tt_face_init( FT_Stream stream, TT_Face face, FT_Int face_index, FT_Int num_params, @@ -202,17 +202,17 @@ #ifdef FT_CONFIG_OPTION_INCREMENTAL if ( !face->root.internal->incremental_interface ) - error = TT_Load_Locations( face, stream ); + error = tt_face_load_loca( face, stream ); if ( !error ) - error = TT_Load_CVT ( face, stream ) || - TT_Load_Programs ( face, stream ); + error = tt_face_load_cvt ( face, stream ) || + tt_face_load_fpgm ( face, stream ); #else if ( !error ) - error = TT_Load_Locations( face, stream ) || - TT_Load_CVT ( face, stream ) || - TT_Load_Programs ( face, stream ); + error = tt_face_load_loca( face, stream ) || + tt_face_load_cvt ( face, stream ) || + tt_face_load_fpgm ( face, stream ); #endif @@ -233,7 +233,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Face_Done */ + /* tt_face_done */ /* */ /* <Description> */ /* Finalizes a given face object. */ @@ -242,7 +242,7 @@ /* face :: A pointer to the face object to destroy. */ /* */ FT_LOCAL_DEF( void ) - TT_Face_Done( TT_Face face ) + tt_face_done( TT_Face face ) { FT_Memory memory = face->root.memory; FT_Stream stream = face->root.stream; @@ -283,7 +283,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Size_Init */ + /* tt_size_init */ /* */ /* <Description> */ /* Initializes a new TrueType size object. */ @@ -295,7 +295,7 @@ /* FreeType error code. 0 means success. */ /* */ FT_LOCAL_DEF( FT_Error ) - TT_Size_Init( TT_Size size ) + tt_size_init( TT_Size size ) { FT_Error error = TT_Err_Ok; @@ -352,7 +352,7 @@ /* reserve twilight zone */ n_twilight = maxp->maxTwilightPoints; - error = TT_New_GlyphZone( memory, n_twilight, 0, &size->twilight ); + error = tt_glyphzone_new( memory, n_twilight, 0, &size->twilight ); if ( error ) goto Fail_Memory; @@ -453,7 +453,7 @@ Fail_Memory: - TT_Size_Done( size ); + tt_size_done( size ); return error; #endif /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ @@ -464,7 +464,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Size_Done */ + /* tt_size_done */ /* */ /* <Description> */ /* The TrueType size object finalizer. */ @@ -473,7 +473,7 @@ /* size :: A handle to the target size object. */ /* */ FT_LOCAL_DEF( void ) - TT_Size_Done( TT_Size size ) + tt_size_done( TT_Size size ) { #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER @@ -496,7 +496,7 @@ size->storage_size = 0; /* twilight zone */ - TT_Done_GlyphZone( &size->twilight ); + tt_glyphzone_done( &size->twilight ); FT_FREE( size->function_defs ); FT_FREE( size->instruction_defs ); @@ -755,7 +755,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Size_Reset */ + /* tt_size_reset */ /* */ /* <Description> */ /* Resets a TrueType size when resolutions and character dimensions */ @@ -765,7 +765,7 @@ /* size :: A handle to the target size object. */ /* */ FT_LOCAL_DEF( FT_Error ) - TT_Size_Reset( TT_Size size ) + tt_size_reset( TT_Size size ) { FT_Face face; FT_Error error = TT_Err_Ok; @@ -805,7 +805,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Driver_Init */ + /* tt_driver_init */ /* */ /* <Description> */ /* Initializes a given TrueType driver object. */ @@ -817,7 +817,7 @@ /* FreeType error code. 0 means success. */ /* */ FT_LOCAL_DEF( FT_Error ) - TT_Driver_Init( TT_Driver driver ) + tt_driver_init( TT_Driver driver ) { FT_Error error; @@ -832,7 +832,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Driver_Done */ + /* tt_driver_done */ /* */ /* <Description> */ /* Finalizes a given TrueType driver. */ @@ -841,7 +841,7 @@ /* driver :: A handle to the target TrueType driver. */ /* */ FT_LOCAL_DEF( void ) - TT_Driver_Done( TT_Driver driver ) + tt_driver_done( TT_Driver driver ) { #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER diff --git a/src/truetype/ttobjs.h b/src/truetype/ttobjs.h index 4fb48d041..28bcdc425 100644 --- a/src/truetype/ttobjs.h +++ b/src/truetype/ttobjs.h @@ -108,10 +108,10 @@ FT_BEGIN_HEADER #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER FT_LOCAL( void ) - TT_Done_GlyphZone( TT_GlyphZone zone ); + tt_glyphzone_done( TT_GlyphZone zone ); FT_LOCAL( FT_Error ) - TT_New_GlyphZone( FT_Memory memory, + tt_glyphzone_new( FT_Memory memory, FT_UShort maxPoints, FT_Short maxContours, TT_GlyphZone zone ); @@ -379,14 +379,14 @@ FT_BEGIN_HEADER /* Face functions */ /* */ FT_LOCAL( FT_Error ) - TT_Face_Init( FT_Stream stream, + tt_face_init( FT_Stream stream, TT_Face face, FT_Int face_index, FT_Int num_params, FT_Parameter* params ); FT_LOCAL( void ) - TT_Face_Done( TT_Face face ); + tt_face_done( TT_Face face ); /*************************************************************************/ @@ -394,13 +394,13 @@ FT_BEGIN_HEADER /* Size functions */ /* */ FT_LOCAL( FT_Error ) - TT_Size_Init( TT_Size size ); + tt_size_init( TT_Size size ); FT_LOCAL( void ) - TT_Size_Done( TT_Size size ); + tt_size_done( TT_Size size ); FT_LOCAL( FT_Error ) - TT_Size_Reset( TT_Size size ); + tt_size_reset( TT_Size size ); /*************************************************************************/ @@ -408,10 +408,10 @@ FT_BEGIN_HEADER /* Driver functions */ /* */ FT_LOCAL( FT_Error ) - TT_Driver_Init( TT_Driver driver ); + tt_driver_init( TT_Driver driver ); FT_LOCAL( void ) - TT_Driver_Done( TT_Driver driver ); + tt_driver_done( TT_Driver driver ); FT_END_HEADER diff --git a/src/truetype/ttpload.c b/src/truetype/ttpload.c index 19bd0f87c..4066cd7c2 100644 --- a/src/truetype/ttpload.c +++ b/src/truetype/ttpload.c @@ -40,7 +40,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Load_Locations */ + /* tt_face_load_loca */ /* */ /* <Description> */ /* Loads the locations table. */ @@ -55,7 +55,7 @@ /* FreeType error code. 0 means success. */ /* */ FT_LOCAL_DEF( FT_Error ) - TT_Load_Locations( TT_Face face, + tt_face_load_loca( TT_Face face, FT_Stream stream ) { FT_Error error; @@ -129,7 +129,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Load_CVT */ + /* tt_face_load_cvt */ /* */ /* <Description> */ /* Loads the control value table into a face object. */ @@ -144,8 +144,8 @@ /* FreeType error code. 0 means success. */ /* */ FT_LOCAL_DEF( FT_Error ) - TT_Load_CVT( TT_Face face, - FT_Stream stream ) + tt_face_load_cvt( TT_Face face, + FT_Stream stream ) { FT_Error error; FT_Memory memory = stream->memory; @@ -194,7 +194,7 @@ /*************************************************************************/ /* */ /* <Function> */ - /* TT_Load_Progams */ + /* tt_face_load_fpgm */ /* */ /* <Description> */ /* Loads the font program and the cvt program. */ @@ -209,8 +209,8 @@ /* FreeType error code. 0 means success. */ /* */ FT_LOCAL_DEF( FT_Error ) - TT_Load_Programs( TT_Face face, - FT_Stream stream ) + tt_face_load_fpgm( TT_Face face, + FT_Stream stream ) { FT_Error error; FT_ULong table_len; diff --git a/src/truetype/ttpload.h b/src/truetype/ttpload.h index c83b2f269..3f8cd64ff 100644 --- a/src/truetype/ttpload.h +++ b/src/truetype/ttpload.h @@ -28,16 +28,16 @@ FT_BEGIN_HEADER FT_LOCAL( FT_Error ) - TT_Load_Locations( TT_Face face, + tt_face_load_loca( TT_Face face, FT_Stream stream ); FT_LOCAL( FT_Error ) - TT_Load_CVT( TT_Face face, - FT_Stream stream ); + tt_face_load_cvt( TT_Face face, + FT_Stream stream ); FT_LOCAL( FT_Error ) - TT_Load_Programs( TT_Face face, - FT_Stream stream ); + tt_face_load_fpgm( TT_Face face, + FT_Stream stream ); FT_END_HEADER |