|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides services to applications using and embedding fonts in PDF output.
Method Summary | |
int |
getFirstIndex()
Convenience method equivalent to getFontUse().getEncoding().getFirstIndex() . |
int |
getFlags()
Returns the Flags value for this font, used in a PDF Font Descriptor, as defined in the PDF Reference, Second Edition, Section 5.7, and, more specifically, in Section 5.7.1. |
int[] |
getFontBBox()
Returns the FontBBox value for this font, used in a PDF Font Descriptor, as defined in the PDF Reference, Second Edition, Section 5.7. |
java.lang.String |
getItalicAngleFormatted()
Returns a compactly formatted version of the ItalicAngle value for this font, expressed in degrees counterclockwise from vertical. |
int |
getLastIndex()
Convenience method equivalent to getFontUse().getEncoding().getFirstIndex() . |
java.lang.String |
getPDFFontFileStreamAdditional()
Returns the "Additional entries in a FontFile stream dictionary" that is documented in the PDF Reference, Second Edition, Section 5.8, especially Table 5.22. |
java.lang.String |
getToUnicodeBF()
Return the BF Entries needed to write this FontUse 's ToUnicode
CMap. |
short[] |
getWidths()
Returns an array containing the widths of all glyphs in the font that can be encoded by the FontUse instance. |
Methods inherited from interface org.axsl.fontR.output.FontOutput |
getContents, getFontUse |
Method Detail |
public short[] getWidths()
FontUse
instance.
FontUse
instance.
Element 0 contains the width for the first encodable glyph index (see
Encoding.getFirstIndex()
).
The last element contains the width for the last encodable glyph index
(see Encoding.getLastIndex()
).
Each element contains the width for the encodable glyph index that is
equal to the element index + Encoding.getFirstIndex()
.
For fonts that have been subsetted, only the characters that are
included in the subset are returned.public int getFirstIndex()
getFontUse().getEncoding().getFirstIndex()
.
This is the glyph index for the first item in the array returned by
getWidths()
.
This is needed when embedding some types of fonts in a PDF file.
public int getLastIndex()
getFontUse().getEncoding().getFirstIndex()
.
This is the glyph index for the last item in the array returned by
getWidths()
.
This is needed when embedding some types of fonts in a PDF file.
public java.lang.String getPDFFontFileStreamAdditional()
Font.isEmbeddable()
is false.public int[] getFontBBox()
public int getFlags()
public java.lang.String getItalicAngleFormatted()
public java.lang.String getToUnicodeBF()
FontUse
's ToUnicode
CMap.
FontUse
's
ToUnicode CMap.
For fonts that have been subsetted, the entries only apply to the
subset.
|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.