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) |
CharTable |
getEncodingTable() |
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()
getEncodingTable in class FontTableprotected void firstRequest(FontTable.Entry e, boolean embed, String embedAs) throws IOException
firstRequest 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 © 2013. All Rights Reserved.