APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.font

public abstract Class FileFont

extends PhysicalFont
Class Inheritance
Known Direct Subclasses
sun.font.TrueTypeFont, sun.font.Type1Font
Imports
java.lang.ref.Reference, java.awt.FontFormatException, java.awt.geom.GeneralPath, .Point2D, .Rectangle2D, java.io.File, java.nio.ByteBuffer, sun.java2d.Disposer, .DisposerRecord, java.util.List

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
protected int
protected char[]
protected NativeFont[]
protected FontScaler
protected boolean
Inherited from sun.font.PhysicalFont:
nativeNamesplatName

Constructor Summary

AccessConstructor and Description
pack-priv
FileFont(String platname, Object nativeNames)

Method Summary

Modifier and TypeMethod and Description
public boolean
protected abstract void
pack-priv FontStrike
pack-priv synchronized void
pack-priv StrikeMetrics
getFontMetrics(long pScalerContext)

Implements abstract sun.font.PhysicalFont.getFontMetrics.

pack-priv float
getGlyphAdvance(long pScalerContext, int glyphCode)

Implements abstract sun.font.PhysicalFont.getGlyphAdvance.

pack-priv long
getGlyphImage(long pScalerContext, int glyphCode)

Implements abstract sun.font.PhysicalFont.getGlyphImage.

pack-priv void
getGlyphMetrics(long pScalerContext, int glyphCode, Point2D.Float metrics)

Implements abstract sun.font.PhysicalFont.getGlyphMetrics.

pack-priv GeneralPath
getGlyphOutline(long pScalerContext, int glyphCode, float x, float y)

Implements abstract sun.font.PhysicalFont.getGlyphOutline.

pack-priv Rectangle2D.Float
getGlyphOutlineBounds(long pScalerContext, int glyphCode)

Implements abstract sun.font.PhysicalFont.getGlyphOutlineBounds.

pack-priv GeneralPath
getGlyphVectorOutline(long pScalerContext, int[] glyphs, int numGlyphs, float x, float y)

Implements abstract sun.font.PhysicalFont.getGlyphVectorOutline.

protected String
protected abstract FontScaler
protected long
pack-priv abstract ByteBuffer
readBlock(int offset, int length)

pack-priv static void
setFileToRemove(List<Font2D> fonts, File file, int cnt)

Inherited from sun.font.PhysicalFont:
equalsgetGlyphPointhashCode

Field Detail

fileSizeback to summary
protected int fileSize
glyphToCharMapback to summary
protected char[] glyphToCharMap
nativeFontsback to summary
protected NativeFont[] nativeFonts
scalerback to summary
protected FontScaler scaler
useJavaRasterizerback to summary
protected boolean useJavaRasterizer

Constructor Detail

FileFontback to summary
pack-priv FileFont(String platname, Object nativeNames) throws FontFormatException

Method Detail

canDoStyleback to summary
public boolean canDoStyle(int style)

Overrides sun.font.Font2D.canDoStyle.

closeback to summary
protected abstract void close()
createStrikeback to summary
pack-priv FontStrike createStrike(FontStrikeDesc desc)

Implements abstract sun.font.Font2D.createStrike.

deregisterFontAndClearStrikeCacheback to summary
pack-priv synchronized void deregisterFontAndClearStrikeCache()
getFontMetricsback to summary
pack-priv StrikeMetrics getFontMetrics(long pScalerContext)

Implements abstract sun.font.PhysicalFont.getFontMetrics.

getGlyphAdvanceback to summary
pack-priv float getGlyphAdvance(long pScalerContext, int glyphCode)

Implements abstract sun.font.PhysicalFont.getGlyphAdvance.

getGlyphImageback to summary
pack-priv long getGlyphImage(long pScalerContext, int glyphCode)

Implements abstract sun.font.PhysicalFont.getGlyphImage.

getGlyphMetricsback to summary
pack-priv void getGlyphMetrics(long pScalerContext, int glyphCode, Point2D.Float metrics)

Implements abstract sun.font.PhysicalFont.getGlyphMetrics.

getGlyphOutlineback to summary
pack-priv GeneralPath getGlyphOutline(long pScalerContext, int glyphCode, float x, float y)

Implements abstract sun.font.PhysicalFont.getGlyphOutline.

getGlyphOutlineBoundsback to summary
pack-priv Rectangle2D.Float getGlyphOutlineBounds(long pScalerContext, int glyphCode)

Implements abstract sun.font.PhysicalFont.getGlyphOutlineBounds.

getGlyphVectorOutlineback to summary
pack-priv GeneralPath getGlyphVectorOutline(long pScalerContext, int[] glyphs, int numGlyphs, float x, float y)

Implements abstract sun.font.PhysicalFont.getGlyphVectorOutline.

getPublicFileNameback to summary
protected String getPublicFileName()
getScalerback to summary
protected abstract FontScaler getScaler()
getUnitsPerEmback to summary
protected long getUnitsPerEm()

Overrides sun.font.Font2D.getUnitsPerEm.

readBlockback to summary
pack-priv abstract ByteBuffer readBlock(int offset, int length)
setFileToRemoveback to summary
pack-priv static void setFileToRemove(List<Font2D> fonts, File file, int cnt)
sun.font back to summary

private Class FileFont.CreatedFontFileDisposerRecord

extends Object
implements DisposerRecord
Class Inheritance
All Implemented Interfaces
sun.java2d.DisposerRecord

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv File

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

countback to summary
pack-priv int count
fontFileback to summary
pack-priv File fontFile

Constructor Detail

CreatedFontFileDisposerRecordback to summary
private CreatedFontFileDisposerRecord(File file, int cnt)

Method Detail

disposeback to summary
public void dispose()

Implements sun.java2d.DisposerRecord.dispose.