APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.font

pack-priv abstract Class CMap

extends Object
Class Inheritance
Known Direct Subclasses
sun.font.CMap.CMapFormat4, sun.font.CMap.CMapFormat0, sun.font.CMap.CMapFormat2, sun.font.CMap.CMapFormat6, sun.font.CMap.CMapFormat8, sun.font.CMap.CMapFormat10, sun.font.CMap.CMapFormat12, sun.font.CMap.NullCMapClass
Imports
java.nio.ByteBuffer, .CharBuffer, .IntBuffer, java.util.Locale, java.nio.charset.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv static final short
pack-priv static final char[][]
pack-priv static final short
pack-priv static final int
pack-priv static final short
pack-priv static final short
pack-priv static final char
pack-priv static final short
pack-priv static final int
public static final CMap.NullCMapClass
pack-priv CMap.UVS
pack-priv static final short
pack-priv char[]

Constructor Summary

AccessConstructor and Description
pack-priv
CMap()

Method Summary

Modifier and TypeMethod and Description
pack-priv static CMap
createCMap(ByteBuffer buffer, int offset, char[] xlat)

private void
createUVS(ByteBuffer buffer, int offset)

pack-priv static char[]
getConverter(short encodingID)

pack-priv static char[]
getConverterMap(short encodingID)

pack-priv abstract char
getGlyph(int charCode)

pack-priv char
getVariationGlyph(int charCode, int variationSelector)

pack-priv static CMap
private static boolean
isSurrogate(int charCode)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

Big5Encodingback to summary
pack-priv static final short Big5Encoding
converterMapsback to summary
pack-priv static final char[][] converterMaps
GBKEncodingback to summary
pack-priv static final short GBKEncoding
INTMASKback to summary
pack-priv static final int INTMASK
JohabEncodingback to summary
pack-priv static final short JohabEncoding
MSUnicodeSurrogateEncodingback to summary
pack-priv static final short MSUnicodeSurrogateEncoding
noSuchCharback to summary
pack-priv static final char noSuchChar
ShiftJISEncodingback to summary
pack-priv static final short ShiftJISEncoding
SHORTMASKback to summary
pack-priv static final int SHORTMASK
theNullCmapback to summary
public static final CMap.NullCMapClass theNullCmap
uvsback to summary
pack-priv CMap.UVS uvs
WansungEncodingback to summary
pack-priv static final short WansungEncoding
xlatback to summary
pack-priv char[] xlat

Constructor Detail

CMapback to summary
pack-priv CMap()

Method Detail

createCMapback to summary
pack-priv static CMap createCMap(ByteBuffer buffer, int offset, char[] xlat)
createUVSback to summary
private void createUVS(ByteBuffer buffer, int offset)
getConverterback to summary
pack-priv static char[] getConverter(short encodingID)
getConverterMapback to summary
pack-priv static char[] getConverterMap(short encodingID)
getGlyphback to summary
pack-priv abstract char getGlyph(int charCode)
getVariationGlyphback to summary
pack-priv char getVariationGlyph(int charCode, int variationSelector)
initializeback to summary
pack-priv static CMap initialize(TrueTypeFont font)
isSurrogateback to summary
private static boolean isSurrogate(int charCode)
sun.font back to summary

pack-priv Class CMap.CMapFormat0

extends CMap
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv byte[]
Inherited from sun.font.CMap:
Big5EncodingconverterMapsGBKEncodingINTMASKJohabEncodingMSUnicodeSurrogateEncodingnoSuchCharShiftJISEncodingSHORTMASKtheNullCmapuvsWansungEncodingxlat

Constructor Summary

AccessConstructor and Description
pack-priv
CMapFormat0(ByteBuffer buffer, int offset)

Method Summary

Modifier and TypeMethod and Description
pack-priv char
getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

Inherited from sun.font.CMap:
createCMapgetConvertergetConverterMapgetVariationGlyphinitialize

Field Detail

cmapback to summary
pack-priv byte[] cmap

Constructor Detail

CMapFormat0back to summary
pack-priv CMapFormat0(ByteBuffer buffer, int offset)

Method Detail

getGlyphback to summary
pack-priv char getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

sun.font back to summary

pack-priv Class CMap.CMapFormat10

extends CMap
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv long
pack-priv char[]
Inherited from sun.font.CMap:
Big5EncodingconverterMapsGBKEncodingINTMASKJohabEncodingMSUnicodeSurrogateEncodingnoSuchCharShiftJISEncodingSHORTMASKtheNullCmapuvsWansungEncodingxlat

Constructor Summary

AccessConstructor and Description
pack-priv
CMapFormat10(ByteBuffer bbuffer, int offset, char[] xlat)

Method Summary

Modifier and TypeMethod and Description
pack-priv char
getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

Inherited from sun.font.CMap:
createCMapgetConvertergetConverterMapgetVariationGlyphinitialize

Field Detail

entryCountback to summary
pack-priv int entryCount
firstCodeback to summary
pack-priv long firstCode
glyphIdArrayback to summary
pack-priv char[] glyphIdArray

Constructor Detail

CMapFormat10back to summary
pack-priv CMapFormat10(ByteBuffer bbuffer, int offset, char[] xlat)

Method Detail

getGlyphback to summary
pack-priv char getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

sun.font back to summary

pack-priv Class CMap.CMapFormat12

extends CMap
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv long[]
pack-priv int
pack-priv int
pack-priv int
pack-priv int
pack-priv long[]
pack-priv int[]
Inherited from sun.font.CMap:
Big5EncodingconverterMapsGBKEncodingINTMASKJohabEncodingMSUnicodeSurrogateEncodingnoSuchCharShiftJISEncodingSHORTMASKtheNullCmapuvsWansungEncodingxlat

Constructor Summary

AccessConstructor and Description
pack-priv
CMapFormat12(ByteBuffer buffer, int offset, char[] xlat)

Method Summary

Modifier and TypeMethod and Description
pack-priv char
getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

Inherited from sun.font.CMap:
createCMapgetConvertergetConverterMapgetVariationGlyphinitialize

Field Detail

endCharCodeback to summary
pack-priv long[] endCharCode
extraback to summary
pack-priv int extra
highBitback to summary
pack-priv int highBit
numGroupsback to summary
pack-priv int numGroups
powerback to summary
pack-priv int power
startCharCodeback to summary
pack-priv long[] startCharCode
startGlyphIDback to summary
pack-priv int[] startGlyphID

Constructor Detail

CMapFormat12back to summary
pack-priv CMapFormat12(ByteBuffer buffer, int offset, char[] xlat)

Method Detail

getGlyphback to summary
pack-priv char getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

sun.font back to summary

pack-priv Class CMap.CMapFormat2

extends CMap
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv char[]
pack-priv char[]
pack-priv char[]
pack-priv short[]
pack-priv char[]
pack-priv char[]
Inherited from sun.font.CMap:
Big5EncodingconverterMapsGBKEncodingINTMASKJohabEncodingMSUnicodeSurrogateEncodingnoSuchCharShiftJISEncodingSHORTMASKtheNullCmapuvsWansungEncodingxlat

Constructor Summary

AccessConstructor and Description
pack-priv
CMapFormat2(ByteBuffer buffer, int offset, char[] xlat)

Method Summary

Modifier and TypeMethod and Description
pack-priv char
getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

Inherited from sun.font.CMap:
createCMapgetConvertergetConverterMapgetVariationGlyphinitialize

Field Detail

entryCountArrayback to summary
pack-priv char[] entryCountArray
firstCodeArrayback to summary
pack-priv char[] firstCodeArray
glyphIndexArrayback to summary
pack-priv char[] glyphIndexArray
idDeltaArrayback to summary
pack-priv short[] idDeltaArray
idRangeOffSetArrayback to summary
pack-priv char[] idRangeOffSetArray
subHeaderKeyback to summary
pack-priv char[] subHeaderKey

Constructor Detail

CMapFormat2back to summary
pack-priv CMapFormat2(ByteBuffer buffer, int offset, char[] xlat)

Method Detail

getGlyphback to summary
pack-priv char getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

sun.font back to summary

pack-priv Class CMap.CMapFormat4

extends CMap
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv char[]
pack-priv int
pack-priv char[]
pack-priv short[]
pack-priv char[]
pack-priv int
pack-priv int
pack-priv char[]
Inherited from sun.font.CMap:
Big5EncodingconverterMapsGBKEncodingINTMASKJohabEncodingMSUnicodeSurrogateEncodingnoSuchCharShiftJISEncodingSHORTMASKtheNullCmapuvsWansungEncodingxlat

Constructor Summary

AccessConstructor and Description
pack-priv
CMapFormat4(ByteBuffer bbuffer, int offset, char[] xlat)

Method Summary

Modifier and TypeMethod and Description
pack-priv char
getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

Inherited from sun.font.CMap:
createCMapgetConvertergetConverterMapgetVariationGlyphinitialize

Field Detail

endCountback to summary
pack-priv char[] endCount
entrySelectorback to summary
pack-priv int entrySelector
glyphIdsback to summary
pack-priv char[] glyphIds
idDeltaback to summary
pack-priv short[] idDelta
idRangeOffsetback to summary
pack-priv char[] idRangeOffset
rangeShiftback to summary
pack-priv int rangeShift
segCountback to summary
pack-priv int segCount
startCountback to summary
pack-priv char[] startCount

Constructor Detail

CMapFormat4back to summary
pack-priv CMapFormat4(ByteBuffer bbuffer, int offset, char[] xlat)

Method Detail

getGlyphback to summary
pack-priv char getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

sun.font back to summary

pack-priv Class CMap.CMapFormat6

extends CMap
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv char
pack-priv char
pack-priv char[]
Inherited from sun.font.CMap:
Big5EncodingconverterMapsGBKEncodingINTMASKJohabEncodingMSUnicodeSurrogateEncodingnoSuchCharShiftJISEncodingSHORTMASKtheNullCmapuvsWansungEncodingxlat

Constructor Summary

AccessConstructor and Description
pack-priv
CMapFormat6(ByteBuffer bbuffer, int offset, char[] xlat)

Method Summary

Modifier and TypeMethod and Description
pack-priv char
getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

Inherited from sun.font.CMap:
createCMapgetConvertergetConverterMapgetVariationGlyphinitialize

Field Detail

entryCountback to summary
pack-priv char entryCount
firstCodeback to summary
pack-priv char firstCode
glyphIdArrayback to summary
pack-priv char[] glyphIdArray

Constructor Detail

CMapFormat6back to summary
pack-priv CMapFormat6(ByteBuffer bbuffer, int offset, char[] xlat)

Method Detail

getGlyphback to summary
pack-priv char getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

sun.font back to summary

pack-priv Class CMap.CMapFormat8

extends CMap
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv int[]
pack-priv byte[]
pack-priv int
pack-priv int[]
pack-priv int[]
Inherited from sun.font.CMap:
Big5EncodingconverterMapsGBKEncodingINTMASKJohabEncodingMSUnicodeSurrogateEncodingnoSuchCharShiftJISEncodingSHORTMASKtheNullCmapuvsWansungEncodingxlat

Constructor Summary

AccessConstructor and Description
pack-priv
CMapFormat8(ByteBuffer bbuffer, int offset, char[] xlat)

Method Summary

Modifier and TypeMethod and Description
pack-priv char
getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

Inherited from sun.font.CMap:
createCMapgetConvertergetConverterMapgetVariationGlyphinitialize

Field Detail

endCharCodeback to summary
pack-priv int[] endCharCode
is32back to summary
pack-priv byte[] is32
nGroupsback to summary
pack-priv int nGroups
startCharCodeback to summary
pack-priv int[] startCharCode
startGlyphIDback to summary
pack-priv int[] startGlyphID

Constructor Detail

CMapFormat8back to summary
pack-priv CMapFormat8(ByteBuffer bbuffer, int offset, char[] xlat)

Method Detail

getGlyphback to summary
pack-priv char getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

sun.font back to summary

pack-priv Class CMap.NullCMapClass

extends CMap
Class Inheritance

Field Summary

Inherited from sun.font.CMap:
Big5EncodingconverterMapsGBKEncodingINTMASKJohabEncodingMSUnicodeSurrogateEncodingnoSuchCharShiftJISEncodingSHORTMASKtheNullCmapuvsWansungEncodingxlat

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv char
getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

Inherited from sun.font.CMap:
createCMapgetConvertergetConverterMapgetVariationGlyphinitialize

Constructor Detail

NullCMapClassback to summary
pack-priv NullCMapClass()

Method Detail

getGlyphback to summary
pack-priv char getGlyph(int charCode)

Implements abstract sun.font.CMap.getGlyph.

sun.font back to summary

pack-priv Class CMap.UVS

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv char[][]
pack-priv int
pack-priv int[]
pack-priv int[]
pack-priv int[][]
pack-priv static final int

Constructor Summary

AccessConstructor and Description
pack-priv
UVS(ByteBuffer buffer, int offset)

Method Summary

Modifier and TypeMethod and Description
private int
getGlyph(int charCode, int variationSelector)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

glyphIDback to summary
pack-priv char[][] glyphID
numSelectorsback to summary
pack-priv int numSelectors
numUVSMappingback to summary
pack-priv int[] numUVSMapping
selectorback to summary
pack-priv int[] selector
unicodeValueback to summary
pack-priv int[][] unicodeValue
VS_NOGLYPHback to summary
pack-priv static final int VS_NOGLYPH

Constructor Detail

UVSback to summary
pack-priv UVS(ByteBuffer buffer, int offset)

Method Detail

getGlyphback to summary
private int getGlyph(int charCode, int variationSelector)