Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members  

PS Type1 Font Utilities

Postscript Type 1 Font Utilities. More...

Functions

int psPFBToPFA (PSStream *in, PSStream *out, int lineLength)
 Converts Type1 binary (pfb) to Type1 ascii (pfa) format. More...

int psAssembleToPFA (PSStream *in, PSStream* out, int lineLength)
 Converts Type1 human readable/editiable forma to Type1 ascii (pfa) format. More...

int psAssembleToPFB (PSStream *in, PSStream* out, int maxBlockLen)
 Converts Type1 human readable/editiable forma to Type1 binary (pfb) format. More...

int psPFAToPFB (PSStream *in, PSStream *out, int maxBlockLen)
 Converts Type1 ascii (pfa) to Type1 binary (pfb) format. More...

int psPFXDisassemble (PSStream* in, PSStream* out)
 Converts Type1 either binary (pfb) or ascii (pfa) to Type1 human readable/editable format. More...


Detailed Description

Postscript Type 1 Font Utilities.

These routines allow conversion of Postscript Type 1 fonts between binary and ascii formats as well as to and from a human readable/editable format suitable to allow editting of font data with a simple text editor.

The psPFBToPFA() routine is exceptionally useful to convert binary format font files to ascii for inclusion in postscript files :).


Function Documentation

int psAssembleToPFA ( PSStream * in,
PSStream * out,
int lineLength )
 

Converts Type1 human readable/editiable forma to Type1 ascii (pfa) format.

Parameters:
in   pointer to input stream.
out   pointer to output stream.
lineLength   max length of line. Set to 0 for default (64).

Returns:
PSERR_NONE on success or an error code on failure.

int psAssembleToPFB ( PSStream * in,
PSStream * out,
int maxBlockLen )
 

Converts Type1 human readable/editiable forma to Type1 binary (pfb) format.

Parameters:
in   pointer to input stream.
out   pointer to output stream.
maxblockLen   max block len. Set to -1 for default.

Returns:
PSERR_NONE on success or an error code on failure.

int psPFAToPFB ( PSStream * in,
PSStream * out,
int maxBlockLen )
 

Converts Type1 ascii (pfa) to Type1 binary (pfb) format.

Parameters:
in   pointer to input stream.
out   pointer to output stream.
maxblockLen   max block len. Set to -1 for default.

Returns:
non-zero on success or 0 on failure and sets pserrno.

int psPFBToPFA ( PSStream * in,
PSStream * out,
int lineLength )
 

Converts Type1 binary (pfb) to Type1 ascii (pfa) format.

Parameters:
in   pointer to input stream.
out   pointer to output stream.
lineLength   max length of line. Set to 0 for default (64).

Returns:
non-zero on success or 0 on failure and sets pserrno.

int psPFXDisassemble ( PSStream * in,
PSStream * out )
 

Converts Type1 either binary (pfb) or ascii (pfa) to Type1 human readable/editable format.

Parameters:
in   pointer to input stream.
out   pointer to output stream.

Returns:
non-zero on success or 0 on failure and sets pserrno.


Generated at Mon Dec 11 22:46:31 2000 for Postscript Utility Library by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000