public class FontItem extends FontInfo
STYLE_ITALIC, STYLE_UNKNOWN, STYLE_UPRIGHT, WEIGHT_BOLD, WEIGHT_NORMAL, WEIGHT_UNKNOWN| Modifier and Type | Method and Description |
|---|---|
void |
addSubsettedGlyphs(int glyph,
int chr) |
static double |
ctLegacyScale(double emScale,
double advance) |
boolean |
equals(Object object) |
Font |
getAFEFont() |
double |
getAscent() |
double |
getCharWidth(int c,
boolean useHorizontalGlyphs) |
double |
getDescent() |
int |
getGlyphID(int c) |
double |
getGlyphWidth(int glyphID,
boolean useHorizontalGlyphs) |
double |
getLegacyAscent() |
double |
getLegacyLineGap() |
double |
getLineGap() |
int |
getNotDefGlyphID() |
double |
getSpacing() |
FontItem |
getUnicodeFont() |
int |
hashCode() |
boolean |
isPWIDApplied() |
void |
mapGlyph(int c,
int glyphID) |
static boolean |
match(FontItem o1,
FontItem o2) |
FontInstance |
reconcile(UnitSpan size) |
FontInstance |
reconcile(UnitSpan size,
double horizontalScale,
double verticalScale) |
boolean |
validateChar(int c,
boolean useHorizontalGlyphs) |
compareTo, createFromAFEDescription, getItalic, getLegacySizeDiff, getStretchDiff, getTypeface, getWeight, match, toStringpublic static double ctLegacyScale(double emScale,
double advance)
public Font getAFEFont()
public double getAscent()
public double getLegacyAscent()
public double getDescent()
public double getLineGap()
public double getLegacyLineGap()
public double getSpacing()
public double getCharWidth(int c,
boolean useHorizontalGlyphs)
public int getNotDefGlyphID()
public int getGlyphID(int c)
public double getGlyphWidth(int glyphID,
boolean useHorizontalGlyphs)
public boolean validateChar(int c,
boolean useHorizontalGlyphs)
public FontInstance reconcile(UnitSpan size)
public FontInstance reconcile(UnitSpan size, double horizontalScale, double verticalScale)
public void addSubsettedGlyphs(int glyph,
int chr)
public FontItem getUnicodeFont()
public boolean isPWIDApplied()
public void mapGlyph(int c,
int glyphID)
Copyright © 2010 - 2020 Adobe. All Rights Reserved