diff options
author | Simon Hausmann <shausman@rhea.troll.no> | 2007-02-20 14:10:20 +0100 |
---|---|---|
committer | Simon Hausmann <shausman@rhea.troll.no> | 2007-03-28 12:52:32 +0200 |
commit | d1eae021fff83834ce9895e022c8b135020c5f00 (patch) | |
tree | 0644f53981eac37adea6653928581cede557594e /src | |
parent | f50c7626d716545d914ab36310717df0336bcb57 (diff) |
Removed unused glyph function
Diffstat (limited to 'src')
-rw-r--r-- | src/harfbuzz-gpos.c | 14 | ||||
-rw-r--r-- | src/harfbuzz-gpos.h | 9 |
2 files changed, 0 insertions, 23 deletions
diff --git a/src/harfbuzz-gpos.c b/src/harfbuzz-gpos.c index a0152e8..dc57e80 100644 --- a/src/harfbuzz-gpos.c +++ b/src/harfbuzz-gpos.c @@ -83,7 +83,6 @@ HB_Error HB_Load_GPOS_Table( HB_Stream stream, if ( ALLOC ( gpos, sizeof( *gpos ) ) ) return error; - gpos->gfunc = FT_Load_Glyph; gpos->mmfunc = default_mmfunc; /* skip version */ @@ -6099,19 +6098,6 @@ HB_Error HB_GPOS_Clear_Features( HB_GPOSHeader* gpos ) -HB_Error HB_GPOS_Register_Glyph_Function( HB_GPOSHeader* gpos, - HB_GlyphFunction gfunc ) -{ - if ( !gpos ) - return HB_Err_Invalid_Argument; - - gpos->gfunc = gfunc; - - return HB_Err_Ok; -} - - - HB_Error HB_GPOS_Register_MM_Function( HB_GPOSHeader* gpos, HB_MMFunction mmfunc, void* data ) diff --git a/src/harfbuzz-gpos.h b/src/harfbuzz-gpos.h index e0724b9..3385b62 100644 --- a/src/harfbuzz-gpos.h +++ b/src/harfbuzz-gpos.h @@ -80,11 +80,6 @@ struct HB_GPOSHeader_ HB_GDEFHeader* gdef; - /* the next field is used for a callback function to get the - glyph outline. */ - - HB_GlyphFunction gfunc; - /* this is OpenType 1.2 -- Multiple Master fonts need this callback function to get various metric values from the PostScript interpreter. */ @@ -143,10 +138,6 @@ HB_Error HB_GPOS_Add_Feature( HB_GPOSHeader* gpos, HB_Error HB_GPOS_Clear_Features( HB_GPOSHeader* gpos ); -HB_Error HB_GPOS_Register_Glyph_Function( HB_GPOSHeader* gpos, - HB_GlyphFunction gfunc ); - - HB_Error HB_GPOS_Register_MM_Function( HB_GPOSHeader* gpos, HB_MMFunction mmfunc, void* data ); |