public abstract class SWFFont4Description extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SWFFont4Description.FTESubsetCompletionIterator
Expands the characters in an iteration set to include those that are needed by TLE/CTS.
|
static class |
SWFFont4Description.TLFSubsetCompletionIterator
Expands the characters in an iteration set to include those that may be added by TLF.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
canDisplay(int c)
Return true iff the font has a non-notdef glyph associated with it.
|
abstract String |
getFamily()
Get the family name for the font.
|
abstract int |
getFirstChar()
Get the lowest unicode scalar value that has a non-notdef glyph associated with it.
|
abstract int |
getLastChar()
Get the largest BMP value that has a non-notdef glyph associated with it.
|
abstract Permission |
getPermissions()
Determine the permissions associated with this font.
|
abstract String |
getSubFamily()
Get the subfamily name for the font.
|
abstract boolean |
isBold()
Return true iff the font is the bold member of a family.
|
abstract boolean |
isItalic()
Return true iff the font is the italic member of a family.
|
abstract void |
streamFontData(Iterator<Integer> codepoints,
OutputStream stream)
Convert this font into the format expected by DefineFont4's FontData field.
|
abstract void |
streamFontData(OutputStream stream)
Convert this font into the format expected by DefineFont4's FontData field.
|
public abstract boolean canDisplay(int c)
throws UnsupportedFontException,
InvalidFontException
public abstract int getFirstChar()
throws InvalidFontException,
UnsupportedFontException
public abstract int getLastChar()
throws InvalidFontException,
UnsupportedFontException
public abstract Permission getPermissions() throws InvalidFontException, UnsupportedFontException
public abstract String getFamily() throws InvalidFontException, UnsupportedFontException
public abstract String getSubFamily() throws InvalidFontException, UnsupportedFontException
public abstract boolean isBold()
throws InvalidFontException,
UnsupportedFontException
public abstract boolean isItalic()
throws InvalidFontException,
UnsupportedFontException
public abstract void streamFontData(Iterator<Integer> codepoints, OutputStream stream) throws InvalidFontException, UnsupportedFontException, IOException
codepoints - An iterator returning Integers that are the unicode codepoints to be
embedded in the font.stream - The OutputStream to which AFE will write the font data.InvalidFontExceptionUnsupportedFontExceptionIOExceptionpublic abstract void streamFontData(OutputStream stream) throws InvalidFontException, UnsupportedFontException, IOException
stream - The OutputStream to which AFE will write the font data.InvalidFontExceptionUnsupportedFontExceptionIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved