diff options
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/XeTeXFontInst_FT2.h')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeXFontInst_FT2.h | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeXFontInst_FT2.h b/Build/source/texk/web2c/xetexdir/XeTeXFontInst_FT2.h index ab1c22a417a..570b6e54670 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeXFontInst_FT2.h +++ b/Build/source/texk/web2c/xetexdir/XeTeXFontInst_FT2.h @@ -1,9 +1,9 @@ /****************************************************************************\ Part of the XeTeX typesetting system - copyright (c) 1994-2008 by SIL International - copyright (c) 2009 by Jonathan Kew + Copyright (c) 1994-2008 by SIL International + Copyright (c) 2009 by Jonathan Kew - Written by Jonathan Kew + SIL Author(s): Jonathan Kew Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the @@ -50,29 +50,27 @@ class XeTeXFontInst_FT2 : public XeTeXFontInst { protected: - const void * readTable(LETag tag, le_uint32 *length) const; + const void * readTable(OTTag tag, uint32_t *length) const; FT_Face face; - bool fFreeTypeOnly; public: - XeTeXFontInst_FT2(const char* filename, int index, float pointSize, LEErrorCode &status); + XeTeXFontInst_FT2(const char* filename, int index, float pointSize, int &status); virtual ~XeTeXFontInst_FT2(); - virtual void initialize(LEErrorCode &status); + virtual void initialize(int &status); - virtual void getGlyphBounds(LEGlyphID gid, GlyphBBox* bbox); + virtual void getGlyphBounds(GlyphID gid, GlyphBBox* bbox); // overrides of XeTeXFontInst methods, in case it's not an sfnt - virtual le_uint16 getNumGlyphs() const; - virtual void getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const; - virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch) const; - virtual LEGlyphID mapGlyphToIndex(const char* glyphName) const; - virtual void getKernPair(LEGlyphID leftGlyph, LEGlyphID rightGlyph, LEPoint &kern) const; - virtual const char* getGlyphName(LEGlyphID gid, int& nameLen); - virtual LEUnicode32 getFirstCharCode(); - virtual LEUnicode32 getLastCharCode(); + virtual uint16_t getNumGlyphs() const; + virtual void getGlyphAdvance(GlyphID glyph, realpoint &advance) const; + virtual GlyphID mapCharToGlyph(UChar32 ch) const; + virtual GlyphID mapGlyphToIndex(const char* glyphName) const; + virtual const char* getGlyphName(GlyphID gid, int& nameLen); + virtual UChar32 getFirstCharCode(); + virtual UChar32 getLastCharCode(); }; #endif |