Class ResourceFont
- java.lang.Object
-
- com.adobe.fontengine.font.FontImpl
-
- com.adobe.fontengine.fontmanagement.ResourceFont
-
- All Implemented Interfaces:
Font,java.io.Serializable
public class ResourceFont extends FontImpl
A font that comes from a Mac resource file whether that be a resource fork or a data fork resource file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceFont(java.net.URL resource, int type, int fontID, int fondID)Constructor.ResourceFont(java.net.URL resource, int type, int fontID, int fondID, FontData fontData)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.ObjectgetCachedFontDescription(java.lang.String key)java.util.Map<java.lang.String,java.lang.Object>getCachedFontDescriptionMap()java.lang.StringgetCanonicalPath()longgetLastModified()longgetLength()inthashCode()voidsetCachedFontDescription(java.lang.String key, java.lang.Object value)java.lang.StringtoString()-
Methods inherited from class com.adobe.fontengine.font.FontImpl
canEmbedForEditting, canEmbedForPrintAndPreview, createSubset, getCacheSupportInfo, getCoolTypeGlyphBBox, getCoolTypeIcfBox, getCoolTypeIdeoEmBox, getCoolTypeLineMetrics, getCoolTypeScript, getCoolTypeUnderlineMetrics, getCSS20FontDescription, getFontData, getFXGFontDescription, getFXGFontDescription, getFXGFontDescription, getLineMetrics, getPDFFontDescription, getPlatformFontDescription, getPlatformFontDescription, getPlatformFontDescription, getPostscriptFontDescription, getPreferredCSS20FontDescription, getSWFFont4Description, getSWFFontDescription, getUnitsPerEmX, getUnitsPerEmY, getXDCFontDescription, hasCoolTypeProportionalRoman, isSymbolic, wasEmbedded
-
-
-
-
Constructor Detail
-
ResourceFont
public ResourceFont(java.net.URL resource, int type, int fontID, int fondID)Constructor.
-
ResourceFont
public ResourceFont(java.net.URL resource, int type, int fontID, int fondID, FontData fontData)Constructor.
-
-
Method Detail
-
getCanonicalPath
public java.lang.String getCanonicalPath()
- Specified by:
getCanonicalPathin classFontImpl
-
getLastModified
public long getLastModified()
- Specified by:
getLastModifiedin classFontImpl
-
getCachedFontDescription
public java.lang.Object getCachedFontDescription(java.lang.String key)
- Specified by:
getCachedFontDescriptionin classFontImpl
-
getCachedFontDescriptionMap
public java.util.Map<java.lang.String,java.lang.Object> getCachedFontDescriptionMap()
- Specified by:
getCachedFontDescriptionMapin classFontImpl
-
setCachedFontDescription
public void setCachedFontDescription(java.lang.String key, java.lang.Object value)- Specified by:
setCachedFontDescriptionin classFontImpl
-
-