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
A wrapper for Mac Resource font file fonts.
-
Constructor Summary
ConstructorsConstructorDescriptionResourceFontData(FontData fontData, ULocale locale, String fontName, String sfntName, boolean isBold, boolean isItalic) -
Method Summary
Modifier and TypeMethodDescriptiongetFXGFontDescription(Platform platform, ULocale locale) Return the FXG descriptions for this font.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 Details
-
ResourceFontData
public ResourceFontData(FontData fontData, ULocale locale, String fontName, 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 Details
-
getFXGFontDescription
public FXGFontDescription[] getFXGFontDescription(Platform platform, ULocale locale) throws InvalidFontException, UnsupportedFontException Description copied from class:FontDataReturn the FXG descriptions for this font.- Overrides:
getFXGFontDescriptionin classWrapperFontData- Throws:
InvalidFontExceptionUnsupportedFontException
-
getPlatformFontDescription
public PlatformFontDescription[] getPlatformFontDescription(Platform platform, ULocale locale) throws InvalidFontException, UnsupportedFontException Description copied from class:FontDataReturn the platform descriptions for this font.- Overrides:
getPlatformFontDescriptionin classWrapperFontData- Throws:
InvalidFontExceptionUnsupportedFontException
-