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 boolean
equals(java.lang.Object obj)
java.lang.Object
getCachedFontDescription(java.lang.String key)
java.util.Map<java.lang.String,java.lang.Object>
getCachedFontDescriptionMap()
java.lang.String
getCanonicalPath()
long
getLastModified()
long
getLength()
int
hashCode()
void
setCachedFontDescription(java.lang.String key, java.lang.Object value)
java.lang.String
toString()
-
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:
getCanonicalPath
in classFontImpl
-
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in classFontImpl
-
getCachedFontDescription
public java.lang.Object getCachedFontDescription(java.lang.String key)
- Specified by:
getCachedFontDescription
in classFontImpl
-
getCachedFontDescriptionMap
public java.util.Map<java.lang.String,java.lang.Object> getCachedFontDescriptionMap()
- Specified by:
getCachedFontDescriptionMap
in classFontImpl
-
setCachedFontDescription
public void setCachedFontDescription(java.lang.String key, java.lang.Object value)
- Specified by:
setCachedFontDescription
in classFontImpl
-
-