public class PCLSoftFontManager
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
PCLSoftFontManager.PCLTextSegment |
Constructor | Description |
---|---|
PCLSoftFontManager() |
Modifier and Type | Method | Description |
---|---|---|
byte[] |
assignFontID(int fontID) |
|
PCLSoftFont |
getSoftFont(Typeface font,
java.lang.String text) |
Finds a soft font associated with the given typeface.
|
PCLSoftFont |
getSoftFontFromID(int index) |
|
int |
getSoftFontID(Typeface tf) |
|
java.util.List<PCLSoftFontManager.PCLTextSegment> |
getTextSegments(java.lang.String text,
Typeface font) |
|
java.io.ByteArrayOutputStream |
makeSoftFont(Typeface font) |
public java.io.ByteArrayOutputStream makeSoftFont(Typeface font) throws java.io.IOException
java.io.IOException
public byte[] assignFontID(int fontID) throws java.io.IOException
java.io.IOException
public PCLSoftFont getSoftFont(Typeface font, java.lang.String text)
font
- The typeface associated with the soft fontpublic PCLSoftFont getSoftFontFromID(int index)
public int getSoftFontID(Typeface tf) throws java.io.IOException
java.io.IOException
public java.util.List<PCLSoftFontManager.PCLTextSegment> getTextSegments(java.lang.String text, Typeface font)
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.