public class PSFontTable extends FontTable
FontTable.Entry| Constructor and Description | 
|---|
| PSFontTable(OutputStream out,
           FontRenderContext context) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | createFontReference(Font font)Uses the font name as a reference. | 
| protected void | firstRequest(FontTable.Entry e,
            boolean embed,
            String embedAs)Called whenever a specific font is used for the first time. | 
| CharTable | getEncodingTable()Returns a default CharTable to be used for normal text (not Symbol or
 Dingbats). | 
| static void | normalize(Map<AttributedCharacterIterator.Attribute,Object> attributes)Replaces TextAttribute.FAMILY by values of replaceFonts. | 
| protected Font | substituteFont(Font font)removes any transformation and superscript, changes the names
 to PS font name | 
fontReference, getEntriespublic PSFontTable(OutputStream out, FontRenderContext context)
public CharTable getEncodingTable()
FontTablegetEncodingTable in class FontTableprotected void firstRequest(FontTable.Entry e, boolean embed, String embedAs) throws IOException
FontTablefirstRequest in class FontTableIOExceptionprotected Font substituteFont(Font font)
substituteFont in class FontTablefont - protected String createFontReference(Font font)
normalize(java.util.Map)createFontReference in class FontTablepublic static void normalize(Map<AttributedCharacterIterator.Attribute,Object> attributes)
java.awt.Font[family=SansSerif,name=SansSerif,style=plain,size=30]java.awt.Font[family=SansSerif,name=Helvetica,style=plain,size=30]FontTable.normalize(java.util.Map) first.attributes - with font name to changeCopyright © 2014. All rights reserved.