1 //========================================================================
5 // Copyright 1999-2003 Glyph & Cog, LLC
7 //========================================================================
14 #ifdef USE_GCC_PRAGMAS
21 //------------------------------------------------------------------------
23 //------------------------------------------------------------------------
25 class FoFiType1: public FoFiBase {
28 // Create a FoFiType1 object from a memory buffer.
29 static FoFiType1 *make(char *fileA, int lenA);
31 // Create a FoFiType1 object from a file on disk.
32 static FoFiType1 *load(char *fileName);
36 // Return the font name.
39 // Return the encoding, as an array of 256 names (any of which may
43 // Write a version of the Type 1 font file with a new encoding.
44 void writeEncoded(char **newEncoding,
45 FoFiOutputFunc outputFunc, void *outputStream);
49 FoFiType1(char *fileA, int lenA, GBool freeFileDataA);
51 char *getNextLine(char *line);