[cff] s/cf2_getGlyphWidth/cf2_getGlyphOutline/.

* src/cff/cf2font.c, src/cff/cf2font.h, src/cff/cf2ft.c: Do it.
This commit is contained in:
Werner Lemberg 2013-06-07 17:10:21 +02:00
parent 4447b2c84e
commit 85fd84b828
4 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2013-06-07 Werner Lemberg <wl@gnu.org>
[cff] s/cf2_getGlyphWidth/cf2_getGlyphOutline/.
* src/cff/cf2font.c, src/cff/cf2font.h, src/cff/cf2ft.c: Do it.
2013-06-06 Dave Arnold <darnold@adobe.com>
[cff] Add early exit feature for width-only calls.

View File

@ -318,10 +318,10 @@
/* equivalent to AdobeGetOutline */
FT_LOCAL_DEF( FT_Error )
cf2_getGlyphWidth( CF2_Font font,
CF2_Buffer charstring,
const CF2_Matrix* transform,
CF2_F16Dot16* glyphWidth )
cf2_getGlyphOutline( CF2_Font font,
CF2_Buffer charstring,
const CF2_Matrix* transform,
CF2_F16Dot16* glyphWidth )
{
FT_Error lastError = FT_Err_Ok;

View File

@ -99,10 +99,10 @@ FT_BEGIN_HEADER
FT_LOCAL( FT_Error )
cf2_getGlyphWidth( CF2_Font font,
CF2_Buffer charstring,
const CF2_Matrix* transform,
CF2_F16Dot16* glyphWidth );
cf2_getGlyphOutline( CF2_Font font,
CF2_Buffer charstring,
const CF2_Matrix* transform,
CF2_F16Dot16* glyphWidth );
FT_END_HEADER

View File

@ -352,7 +352,7 @@
if ( error2 )
return error2;
error2 = cf2_getGlyphWidth( font, &buf, &transform, &glyphWidth );
error2 = cf2_getGlyphOutline( font, &buf, &transform, &glyphWidth );
if ( error2 )
return FT_ERR( Invalid_File_Format );