Diffstat (limited to 'noncore/unsupported/qpdf/xpdf/CharCodeToUnicode.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/qpdf/xpdf/CharCodeToUnicode.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/unsupported/qpdf/xpdf/CharCodeToUnicode.h b/noncore/unsupported/qpdf/xpdf/CharCodeToUnicode.h index c811d72..06916c8 100644 --- a/noncore/unsupported/qpdf/xpdf/CharCodeToUnicode.h +++ b/noncore/unsupported/qpdf/xpdf/CharCodeToUnicode.h @@ -1,19 +1,19 @@ //======================================================================== // // CharCodeToUnicode.h // // Mapping from character codes to Unicode. // -// Copyright 2001 Derek B. Noonburg +// Copyright 2001-2002 Glyph & Cog, LLC // //======================================================================== #ifndef CHARCODETOUNICODE_H #define CHARCODETOUNICODE_H #ifdef __GNUC__ #pragma interface #endif #include "CharTypes.h" @@ -41,26 +41,25 @@ public: void incRefCnt(); void decRefCnt(); // Return true if this mapping matches the specified <collectionA>. GBool match(GString *collectionA); // Map a CharCode to Unicode. int mapToUnicode(CharCode c, Unicode *u, int size); private: - void parseCMap1(char *(*getLineFunc)(char *, int, void *), - void *data, int nBits); + void parseCMap1(int (*getCharFunc)(void *), void *data, int nBits); CharCodeToUnicode(GString *collectionA); CharCodeToUnicode(GString *collectionA, Unicode *mapA, CharCode mapLenA, GBool copyMap, CharCodeToUnicodeString *sMapA, int sMapLenA); GString *collection; Unicode *map; CharCode mapLen; CharCodeToUnicodeString *sMap; int sMapLen, sMapSize; int refCnt; }; |