|
Multivalent API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmultivalent.std.adaptor.pdf.Core14AFM
Repository of font metric data for core 14 fonts, extracted from Adobe Font Metric files and augmented as noted where required by practice.
The core 14 fonts are: Times-Roman, Times-Bold, Times-Italic, Times-BoldItalic, Courier, Courier-Bold, Courier-Oblique, Courier-BoldOblique, Helvetica, Helvetica-Bold, Helvetica-Oblique, Helvetica-BoldOblique, Symbol, ZapfDingbats.
Encoding is always "AdobeStandardEncoding" or "FontSpecific". As it happens, the first character in the core 14 widths is always 32.
Method Summary | |
---|---|
static Dict |
getFontDescriptor(java.lang.String fontname)
Returns null if fontname not on of core 14 fonts. |
static int[] |
getWidths(java.lang.String fontname)
Returns array of character widths, with array position 0 corresponding to character code 32. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int[] getWidths(java.lang.String fontname)
public static Dict getFontDescriptor(java.lang.String fontname)
fontname
not on of core 14 fonts.
|
Multivalent API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |