X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/efa1e6592fb03ce23b15276b2b91d885a3ee7da5..57a6839dcb3bba09e8228b822b290604668416fe:/icuSources/test/letest/PortableFontInstance.h diff --git a/icuSources/test/letest/PortableFontInstance.h b/icuSources/test/letest/PortableFontInstance.h index 3e86112c..ed366e9f 100644 --- a/icuSources/test/letest/PortableFontInstance.h +++ b/icuSources/test/letest/PortableFontInstance.h @@ -2,7 +2,7 @@ /* ******************************************************************************* * - * Copyright (C) 1999-2008, International Business Machines + * Copyright (C) 1999-2013, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -63,7 +63,8 @@ private: CMAPMapper *findUnicodeMapper(); protected: - const void *readFontTable(LETag tableTag) const; + const void *readFontTable(LETag tableTag) const { size_t ignored; return readFontTable(tableTag, ignored); } + const void *readFontTable(LETag tableTag, size_t &length) const; public: PortableFontInstance(const char *fileName, float pointSize, LEErrorCode &status); @@ -71,6 +72,7 @@ public: virtual ~PortableFontInstance(); virtual const void *getFontTable(LETag tableTag) const; + virtual const void *getFontTable(LETag tableTag, size_t &length) const; virtual const char *getNameString(le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language) const; @@ -84,6 +86,8 @@ public: virtual le_uint32 getFontChecksum() const; + virtual le_uint32 getRawChecksum() const; + virtual le_int32 getAscent() const; virtual le_int32 getDescent() const;