ref: 85fd84b828d6ed51fc8b5ddb359b38fffaa67877
parent: 4447b2c84e66699b52d0f207ad2604276b0e1a40
author: Werner Lemberg <[email protected]>
date: Fri Jun 7 13:10:21 EDT 2013
[cff] s/cf2_getGlyphWidth/cf2_getGlyphOutline/. * src/cff/cf2font.c, src/cff/cf2font.h, src/cff/cf2ft.c: Do it.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-06-07 Werner Lemberg <[email protected]>
+
+ [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 <[email protected]>
[cff] Add early exit feature for width-only calls.
--- a/src/cff/cf2font.c
+++ b/src/cff/cf2font.c
@@ -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;
--- a/src/cff/cf2font.h
+++ b/src/cff/cf2font.h
@@ -99,10 +99,10 @@
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
--- a/src/cff/cf2ft.c
+++ b/src/cff/cf2ft.c
@@ -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 );