public class TTFSubFont extends Object
| Constructor and Description |
|---|
TTFSubFont(TrueTypeFont baseFont,
String suffix)
Constructs a subfont based on the given font using the given suffix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharCode(int charCode)
Add the given charcode to the subfpont.
|
void |
writeToStream(OutputStream os)
Write the subfont to the given output stream.
|
public TTFSubFont(TrueTypeFont baseFont, String suffix)
baseFont - the base font of the subfontsuffix - suffix used for the namingpublic void addCharCode(int charCode)
charCode - the charCode to be addedpublic void writeToStream(OutputStream os) throws IOException
os - the stream used for writingIOException - if something went wrong.Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.