| java.lang.Object org.apache.xmlgraphics.ps.PSFontUtils
PSFontUtils | public class PSFontUtils (Code) | | Utility code for font handling in PostScript.
|
defineWinAnsiEncoding | public static void defineWinAnsiEncoding(PSGenerator gen) throws IOException(Code) | | Defines the WinAnsi encoding for use in PostScript files.
Parameters: gen - the PostScript generator throws: IOException - In case of an I/O problem |
embedType1Font | public static void embedType1Font(PSGenerator gen, InputStream in) throws IOException(Code) | | This method reads a Type 1 font from a stream and embeds it into a PostScript stream.
Note: Only the IBM PC Format as described in section 3.3 of the Adobe Technical Note #5040
is supported.
Parameters: gen - The PostScript generator Parameters: in - the InputStream from which to read the Type 1 font throws: IOException - in case an I/O problem occurs |
redefineFontEncoding | public static void redefineFontEncoding(PSGenerator gen, String fontName, String encoding) throws IOException(Code) | | Redefines the encoding of a font.
Parameters: gen - the PostScript generator Parameters: fontName - the font name Parameters: encoding - the new encoding (must be predefined in the PS file) throws: IOException - In case of an I/O problem |
|
|