22struct CMapVectorEntry;
32 static CMap *parse(CMapCache *cache, GString *collectionA,
41 GString *getCollection() { return collection; }
45 GBool match(GString *collectionA, GString *cMapNameA);
50 CID getCID( char *s, int len, int *nUsed);
53 int getWMode() { return wMode; }
57 CMap(GString *collectionA, GString *cMapNameA);
58 CMap(GString *collectionA, GString *cMapNameA, int wModeA);
59 void useCMap(CMapCache *cache, char *useName);
60 void copyVector(CMapVectorEntry *dest, CMapVectorEntry *src);
61 void addCodeSpace(CMapVectorEntry *vec, Guint start, Guint end,
63 void addCIDs(Guint start, Guint end, Guint nBytes, CID firstCID);
64 void freeCMapVector(CMapVectorEntry *vec);
69 CMapVectorEntry *vector;
76#define cMapCacheSize 4
88 CMap *getCMap(GString *collection, GString *cMapName);
92 CMap *cache[cMapCacheSize];
|