Package com.adobe.fontengine.font.mac
Class ResourceFontData
- java.lang.Object
-
- com.adobe.fontengine.font.FontData
-
- com.adobe.fontengine.font.WrapperFontData
-
- com.adobe.fontengine.font.mac.ResourceFontData
-
public class ResourceFontData extends WrapperFontData
A wrapper for Mac Resource font file fonts.
-
-
Constructor Summary
Constructors Constructor Description ResourceFontData(FontData fontData, ULocale locale, java.lang.String fontName, java.lang.String sfntName, boolean isBold, boolean isItalic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FXGFontDescription[]
getFXGFontDescription(Platform platform, ULocale locale)
Return the FXG descriptions for this font.PlatformFontDescription[]
getPlatformFontDescription(Platform platform, ULocale locale)
Return the platform descriptions for this font.-
Methods inherited from class com.adobe.fontengine.font.WrapperFontData
createSubset, equals, getCacheSupportInfo, getContainerFingerprint, getCoolTypeCapHeight, getCoolTypeFontBBox, getCoolTypeGlyphBBox, getCoolTypeGlyphForChar, getCoolTypeIcfBox, getCoolTypeIdeoEmBox, getCoolTypeLineMetrics, getCoolTypeProportionalRomanFromFontProperties, getCoolTypeScript, getCoolTypeUnderlineMetrics, getCoolTypeUnitsPerEm, getCoolTypeXHeight, getCSS20FontDescription, getEmbeddingPermission, getFontBBox, getFontData, getGlyphBBox, getGlyphForChar, getGlyphOutline, getHorizontalAdvance, getLineMetrics, getNumGlyphs, getPDFFontDescription, getPointSizeRange, getPostscriptFontDescription, getPreferredCSS20FontDescription, getScaler, getScaler, getSelectionDescription, getSWFFont4Description, getSWFFontDescription, getUnitsPerEmX, getUnitsPerEmY, getXDCFontDescription, hasCoolTypeProportionalRoman, hashCode, isSymbolic, subsetAndStream, toString
-
-
-
-
Constructor Detail
-
ResourceFontData
public ResourceFontData(FontData fontData, ULocale locale, java.lang.String fontName, java.lang.String sfntName, boolean isBold, boolean isItalic)
- Parameters:
fontData
- the actual font datalocale
- the locale of this wrapperfontName
- the font name for this wrapperisBold
- is the wrapper boldisItalic
- is the wrapper italic
-
-
Method Detail
-
getFXGFontDescription
public FXGFontDescription[] getFXGFontDescription(Platform platform, ULocale locale) throws InvalidFontException, UnsupportedFontException
Description copied from class:FontData
Return the FXG descriptions for this font.- Overrides:
getFXGFontDescription
in classWrapperFontData
- Throws:
InvalidFontException
UnsupportedFontException
-
getPlatformFontDescription
public PlatformFontDescription[] getPlatformFontDescription(Platform platform, ULocale locale) throws InvalidFontException, UnsupportedFontException
Description copied from class:FontData
Return the platform descriptions for this font.- Overrides:
getPlatformFontDescription
in classWrapperFontData
- Throws:
InvalidFontException
UnsupportedFontException
-
-