1 //========================================================================
5 // Copyright 1999-2003 Glyph & Cog, LLC
7 //========================================================================
12 #ifdef USE_GCC_PRAGMAS
16 #include "goo/gtypes.h"
19 //------------------------------------------------------------------------
21 //------------------------------------------------------------------------
23 class FoFiType1
: public FoFiBase
{
26 // Create a FoFiType1 object from a memory buffer.
27 static FoFiType1
*make(char *fileA
, int lenA
);
29 // Create a FoFiType1 object from a file on disk.
30 static FoFiType1
*load(char *fileName
);
34 // Return the font name.
37 // Return the encoding, as an array of 256 names (any of which may
41 // Return the font matrix as an array of six numbers.
42 void getFontMatrix(double *mat
);
44 // Write a version of the Type 1 font file with a new encoding.
45 void writeEncoded(const char **newEncoding
,
46 FoFiOutputFunc outputFunc
, void *outputStream
);
50 FoFiType1(char *fileA
, int lenA
, GBool freeFileDataA
);
52 char *getNextLine(char *line
);