public class SVGFontTable extends Object
addGlyphs(String, java.awt.Font)
.
The final SVG tag for the toString()
.
Use normalize(java.util.Map)
for referencing embedded glyphs
in Constructor and Description |
---|
SVGFontTable() |
Modifier and Type | Method and Description |
---|---|
protected void |
addGlyphs(String string,
Font font)
creates the glyph for the string
|
static void |
normalize(Map<AttributedCharacterIterator.Attribute,Object> attributes)
Replaces TextAttribute.FAMILY by values of replaceFonts.
|
String |
toString()
creates the font entry:
|
protected void addGlyphs(String string, Font font)
string
- font
- public String toString()
...
public 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.