|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BackendFont
Interface for a backend font.
| Method Summary | |
|---|---|
FontKey |
getActualFontKey()
Returns the actual FontKey for this font after a font substitution. |
byte[] |
getAfm()
Returns the afm data, or null, if not available. |
int |
getCheckSum()
Returns the checksum of the font. |
int |
getEncodingForChar(int codepoint)
Returns the number of the encoding vector for the codepoint. |
java.util.List<java.lang.String[]> |
getEncodingVectors()
Returns the encoding vectors as list of string array (without a '/') or null, if no one exists. |
java.lang.String |
getName()
Returns the internal name of the font. |
byte[] |
getPfa()
Returns the pfa data, or null, if not available. |
byte[] |
getPfb()
Returns the pfb data, or null, if not available. |
byte[] |
getXtf()
Returns the xtf data, or null, if not available. |
boolean |
hasEncodingVector()
Returns true, if the font has an encoding vector,
otherwise false. |
boolean |
hasMultiFonts()
If true, the font has more the one font in it. |
boolean |
isType1()
Returns true, if the font is a type 1 font (with
afm/pfb), otherwise false. |
boolean |
isXtf()
Returns true, if the font is a ttf/otf font, otherwise
false. |
void |
usedCharacter(BackendCharacter bc)
Tells the font, which character is used. |
| Method Detail |
|---|
FontKey getActualFontKey()
byte[] getAfm()
null, if not available.
TODO mgn raus
null, if not available.int getCheckSum()
java.util.List<java.lang.String[]> getEncodingVectors()
null, if no one exists.
TODO mgn raus
java.lang.String getName()
byte[] getPfa()
null, if not available.
TODO mgn raus
null, if not available.byte[] getPfb()
null, if not available.
TODO mgn raus
null, if not available.byte[] getXtf()
null, if not available.
TODO mgn raus
null, if not available.boolean hasEncodingVector()
true, if the font has an encoding vector,
otherwise false.
TODO mgn raus
boolean hasMultiFonts()
true, the font has more the one font in it.
TODO mgn raus
true, if the font has more fonts in it.int getEncodingForChar(int codepoint)
codepoint - The codepoint of the char.
boolean isType1()
true, if the font is a type 1 font (with
afm/pfb), otherwise false.
TODO mgn raus
true, if the font is a type 1 font (with
afm/pfb), otherwise false.boolean isXtf()
true, if the font is a ttf/otf font, otherwise
false.
TODO mgn raus
true, if the font is a ttf/otf font,
otherwise false.void usedCharacter(BackendCharacter bc)
bc - The character.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||