Searched refs:glyphCode (Results 1 - 25 of 32) sorted by relevance

12

/openjdk7/jdk/src/windows/classes/sun/font/
H A DNativeStrike.java54 long getGlyphImagePtr(int glyphCode) { argument
58 long getGlyphImagePtrNoCache(int glyphCode) { argument
67 Point2D.Float getGlyphMetrics(int glyphCode) { argument
71 float getGlyphAdvance(int glyphCode) { argument
75 Rectangle2D.Float getGlyphOutlineBounds(int glyphCode) { argument
78 GeneralPath getGlyphOutline(int glyphCode, float x, float y) { argument
H A DNativeFont.java77 int glyphCode,
89 long getGlyphImage(long pScalerContext, int glyphCode) { argument
94 void getGlyphMetrics(long pScalerContext, int glyphCode, argument
99 float getGlyphAdvance(long pScalerContext, int glyphCode) { argument
104 int glyphCode) {
76 getGlyphOutline(long pScalerContext, int glyphCode, float x, float y) argument
103 getGlyphOutlineBounds(long pScalerContext, int glyphCode) argument
/openjdk7/jdk/src/solaris/classes/sun/font/
H A DNativeStrike.java220 long getGlyphImagePtr(int glyphCode) { argument
224 if ((glyphPtr = intGlyphImages[glyphCode] & INTMASK) != 0L) {
227 glyphPtr = nativeFont.getGlyphImage(pScalerContext,glyphCode);
232 if (intGlyphImages[glyphCode] == 0) {
233 intGlyphImages[glyphCode] = (int)glyphPtr;
237 return intGlyphImages[glyphCode] & INTMASK;
243 else if ((glyphPtr = getLongGlyphImages()[glyphCode]) != 0L) {
246 glyphPtr = nativeFont.getGlyphImage(pScalerContext, glyphCode);
249 if (longGlyphImages[glyphCode] == 0L) {
250 longGlyphImages[glyphCode]
267 getGlyphImagePtrNoCache(int glyphCode) argument
275 getGlyphMetrics(int glyphCode) argument
280 getGlyphAdvance(int glyphCode) argument
284 getGlyphOutlineBounds(int glyphCode) argument
288 getGlyphOutline(int glyphCode, float x, float y) argument
339 getGlyphImagePtr(int glyphCode) argument
343 getGlyphImageBounds(int glyphCode, Point2D.Float pt, Rectangle result) argument
348 getGlyphMetrics(int glyphCode) argument
352 getGlyphAdvance(int glyphCode) argument
367 getGlyphOutlineBounds(int glyphCode) argument
371 getGlyphOutline(int glyphCode, float x, float y) argument
[all...]
H A DNativeFont.java278 native float getGlyphAdvance(long pContext, int glyphCode); argument
281 int glyphCode) {
286 int glyphCode,
292 native long getGlyphImage(long pScalerContext, int glyphCode); argument
294 native long getGlyphImageNoDefault(long pScalerContext, int glyphCode); argument
296 void getGlyphMetrics(long pScalerContext, int glyphCode, argument
280 getGlyphOutlineBounds(long pScalerContext, int glyphCode) argument
285 getGlyphOutline(long pScalerContext, int glyphCode, float x, float y) argument
/openjdk7/jdk/src/share/classes/sun/font/
H A DCompositeStrike.java69 PhysicalStrike getStrikeForGlyph(int glyphCode) { argument
70 return getStrikeForSlot(glyphCode >>> 24);
126 long getGlyphImagePtr(int glyphCode) { argument
127 PhysicalStrike strike = getStrikeForGlyph(glyphCode);
128 return strike.getGlyphImagePtr(glyphCode & SLOTMASK);
131 void getGlyphImageBounds(int glyphCode, Point2D.Float pt, Rectangle result) { argument
132 PhysicalStrike strike = getStrikeForGlyph(glyphCode);
133 strike.getGlyphImageBounds(glyphCode & SLOTMASK, pt, result);
136 Point2D.Float getGlyphMetrics(int glyphCode) { argument
137 PhysicalStrike strike = getStrikeForGlyph(glyphCode);
145 getGlyphAdvance(int glyphCode) argument
161 getGlyphOutlineBounds(int glyphCode) argument
166 getGlyphOutline(int glyphCode, float x, float y) argument
[all...]
H A DFreetypeFontScaler.java85 synchronized float getGlyphAdvance(long pScalerContext, int glyphCode) argument
91 glyphCode);
94 getGlyphAdvance(0L, glyphCode);
98 int glyphCode, Point2D.Float metrics)
104 glyphCode,
109 getGlyphMetrics(0L, glyphCode, metrics);
112 synchronized long getGlyphImage(long pScalerContext, int glyphCode) argument
118 glyphCode);
121 getGlyphImage(0L, glyphCode);
125 long pScalerContext, int glyphCode)
97 getGlyphMetrics(long pScalerContext, int glyphCode, Point2D.Float metrics) argument
124 getGlyphOutlineBounds( long pScalerContext, int glyphCode) argument
137 getGlyphOutline( long pScalerContext, int glyphCode, float x, float y) argument
198 getGlyphPoint(long pScalerContext, int glyphCode, int ptNumber) argument
228 getGlyphAdvanceNative(Font2D font, long pScalerContext, long pScaler, int glyphCode) argument
230 getGlyphMetricsNative(Font2D font, long pScalerContext, long pScaler, int glyphCode, Point2D.Float metrics) argument
233 getGlyphImageNative(Font2D font, long pScalerContext, long pScaler, int glyphCode) argument
235 getGlyphOutlineBoundsNative(Font2D font, long pScalerContext, long pScaler, int glyphCode) argument
237 getGlyphOutlineNative(Font2D font, long pScalerContext, long pScaler, int glyphCode, float x, float y) argument
243 getGlyphPointNative(Font2D font, long pScalerContext, long pScaler, int glyphCode, int ptNumber) argument
[all...]
H A DNullFontScaler.java43 float getGlyphAdvance(long pScalerContext, int glyphCode) { argument
47 void getGlyphMetrics(long pScalerContext, int glyphCode, argument
53 Rectangle2D.Float getGlyphOutlineBounds(long pContext, int glyphCode) { argument
57 GeneralPath getGlyphOutline(long pScalerContext, int glyphCode, argument
95 int glyphCode, int ptNumber) {
105 native long getGlyphImage(long pScalerContext, int glyphCode); argument
94 getGlyphPoint(long pScalerContext, int glyphCode, int ptNumber) argument
H A DPhysicalFont.java78 int glyphCode, int ptNumber) {
87 abstract float getGlyphAdvance(long pScalerContext, int glyphCode); argument
89 abstract void getGlyphMetrics(long pScalerContext, int glyphCode, argument
92 abstract long getGlyphImage(long pScalerContext, int glyphCode); argument
99 int glyphCode);
101 abstract GeneralPath getGlyphOutline(long pScalerContext, int glyphCode, argument
77 getGlyphPoint(long pScalerContext, int glyphCode, int ptNumber) argument
98 getGlyphOutlineBounds(long pScalerContext, int glyphCode) argument
H A DCompositeGlyphMapper.java70 public final int compositeGlyphCode(int slot, int glyphCode) { argument
71 return (slot << 24 | (glyphCode & GLYPHMASK));
97 private void setCachedGlyphCode(int unicode, int glyphCode) { argument
108 glyphMaps[index0][unicode & 0xff] = glyphCode;
125 int glyphCode = mapper.charToGlyph(unicode);
126 if (glyphCode != mapper.getMissingGlyphCode()) {
127 glyphCode = compositeGlyphCode(slot, glyphCode);
128 setCachedGlyphCode(unicode, glyphCode);
129 return glyphCode;
[all...]
H A DFileFontStrike.java316 long getGlyphImageFromNative(int glyphCode) { argument
318 return getGlyphImageFromWindows(glyphCode);
320 return getGlyphImageFromX11(glyphCode);
330 int glyphCode,
333 long getGlyphImageFromWindows(int glyphCode) { argument
339 (family, style, size, glyphCode,
349 float advance = getGlyphAdvance(glyphCode, false);
354 return fileFont.getGlyphImage(pScalerContext, glyphCode);
359 long getGlyphImageFromX11(int glyphCode) { argument
361 char charCode = fileFont.glyphToCharMap[glyphCode];
327 _getGlyphImageFromWindows(String family, int style, int size, int glyphCode, boolean fracMetrics) argument
375 getGlyphImagePtr(int glyphCode) argument
456 getCachedGlyphPtr(int glyphCode) argument
483 setCachedGlyphPtr(int glyphCode, long glyphPtr) argument
570 getGlyphAdvance(int glyphCode) argument
579 getGlyphAdvance(int glyphCode, boolean getUserAdv) argument
696 getGlyphImageBounds(int glyphCode, Point2D.Float pt, Rectangle result) argument
781 getGlyphMetrics(int glyphCode) argument
785 getGlyphMetrics(int glyphCode, boolean getImage) argument
884 getGlyphOutlineBounds(int glyphCode) argument
900 getOutlineBounds(int glyphCode) argument
907 getGlyphOutline(int glyphCode, float x, float y) argument
[all...]
H A DFontStrike.java67 abstract float getGlyphAdvance(int glyphCode); argument
71 abstract Rectangle2D.Float getGlyphOutlineBounds(int glyphCode); argument
74 getGlyphOutline(int glyphCode, float x, float y); argument
H A DFileFont.java186 float getGlyphAdvance(long pScalerContext, int glyphCode) { argument
188 return getScaler().getGlyphAdvance(pScalerContext, glyphCode);
191 return getGlyphAdvance(pScalerContext, glyphCode);
195 void getGlyphMetrics(long pScalerContext, int glyphCode, Point2D.Float metrics) { argument
197 getScaler().getGlyphMetrics(pScalerContext, glyphCode, metrics);
200 getGlyphMetrics(pScalerContext, glyphCode, metrics);
204 long getGlyphImage(long pScalerContext, int glyphCode) { argument
206 return getScaler().getGlyphImage(pScalerContext, glyphCode);
209 return getGlyphImage(pScalerContext, glyphCode);
213 Rectangle2D.Float getGlyphOutlineBounds(long pScalerContext, int glyphCode) { argument
222 getGlyphOutline(long pScalerContext, int glyphCode, float x, float y) argument
[all...]
H A DFontScaler.java164 abstract float getGlyphAdvance(long pScalerContext, int glyphCode) argument
167 abstract void getGlyphMetrics(long pScalerContext, int glyphCode, argument
181 abstract long getGlyphImage(long pScalerContext, int glyphCode) argument
185 int glyphCode)
188 abstract GeneralPath getGlyphOutline(long pScalerContext, int glyphCode, argument
230 int glyphCode, int ptNumber)
184 getGlyphOutlineBounds(long pContext, int glyphCode) argument
229 getGlyphPoint(long pScalerContext, int glyphCode, int ptNumber) argument
H A DPhysicalStrike.java123 Point2D.Float getGlyphPoint(int glyphCode, int ptNumber) { argument
125 Integer ptKey = Integer.valueOf(glyphCode<<16|ptNumber);
138 gp = (physicalFont.getGlyphPoint(pScalerContext, glyphCode, ptNumber));
H A DTrueTypeGlyphMapper.java80 char glyphCode = cmap.getGlyph(charCode);
81 if (glyphCode < numGlyphs ||
82 glyphCode >= FileFontStrike.INVISIBLE_GLYPHS) {
83 return glyphCode;
88 Integer.toHexString((int)glyphCode) +
H A DCMap.java539 char glyphCode = 0;
590 glyphCode = (char)(charCode + idDelta[index]);
603 glyphCode = glyphIds[glyphIDIndex];
604 if (glyphCode != 0) {
605 glyphCode = (char)(glyphCode + idDelta[index]);
609 if (glyphCode != 0) {
610 //System.err.println("cc="+Integer.toHexString((int)charCode) + " gc="+(int)glyphCode);
612 return glyphCode;
825 char glyphCode
[all...]
H A DFont2D.java178 protected int getValidatedGlyphCode(int glyphCode) { argument
179 if (glyphCode < 0 || glyphCode >= getMapper().getNumGlyphs()) {
180 glyphCode = getMapper().getMissingGlyphCode();
182 return glyphCode;
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DStateTableProcessor.cpp89 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(glyphStorage[currGlyph]); local
91 if (glyphCode == 0xFFFF) {
93 } else if ((glyphCode >= firstGlyph) && (glyphCode < lastGlyph)) {
94 classCode = classTable->classArray[glyphCode - firstGlyph];
H A DStateTableProcessor2.cpp108 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid); local
110 if (glyphCode == 0xFFFF) {
139 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid); local
141 if (glyphCode == 0xFFFF) {
180 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid); local
182 if (glyphCode == 0xFFFF) {
215 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(glyphStorage[currGlyph]); local
216 if (glyphCode == 0xFFFF) {
218 } else if ((glyphCode >= firstGlyph) && (glyphCode < lastGlyp
[all...]
H A DContextualGlyphSubstProc2.cpp116 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
117 newGlyph = SWAPW(lookupTable0->valueArray(glyphCode, success));
154 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid); local
155 if ((glyphCode >= firstGlyph) && (glyphCode < lastGlyph)) {
157 newGlyph = SWAPW(valueArray(glyphCode - firstGlyph, success));
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11FontScaler.c233 (JNIEnv *env, jobject font2D, jlong pScalerContext, jint glyphCode) {
244 if (glyphCode < context->minGlyph || glyphCode > context->maxGlyph) {
245 glyphCode = context->defaultGlyph;
255 xcs = AWTFontPerChar(xFont, glyphCode - context->minGlyph);
261 xChar.byte1 = (unsigned char) (glyphCode >> 8);
262 xChar.byte2 = (unsigned char) glyphCode;
272 (JNIEnv *env, jobject font2D, jlong pScalerContext, jint glyphCode) {
282 if (glyphCode < context->minGlyph || glyphCode > contex
232 Java_sun_font_NativeFont_getGlyphAdvance(JNIEnv *env, jobject font2D, jlong pScalerContext, jint glyphCode) argument
271 Java_sun_font_NativeFont_getGlyphImageNoDefault(JNIEnv *env, jobject font2D, jlong pScalerContext, jint glyphCode) argument
292 Java_sun_font_NativeFont_getGlyphImage(JNIEnv *env, jobject font2D, jlong pScalerContext, jint glyphCode) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/font/
H A DCStrike.java57 int glyphCode);
61 int glyphCode,
67 int glyphCode,
158 float getGlyphAdvance(int glyphCode) { argument
159 return getScaledAdvanceForAdvance(getCachedNativeGlyphAdvance(glyphCode));
193 Point2D.Float getGlyphMetrics(int glyphCode) { argument
194 return getScaledPointForAdvance(getCachedNativeGlyphAdvance(glyphCode));
228 Rectangle2D.Float getGlyphOutlineBounds(int glyphCode) { argument
229 GeneralPath gp = getGlyphOutline(glyphCode, 0f, 0f);
245 void getGlyphImageBounds(int glyphCode, Point2 argument
56 getNativeGlyphAdvance(long nativeStrikePtr, int glyphCode) argument
60 getNativeGlyphOutline(long nativeStrikePtr, int glyphCode, double x, double y) argument
66 getNativeGlyphImageBounds(long nativeStrikePtr, int glyphCode, Rectangle2D.Float result, double x, double y) argument
262 getGlyphImageBounds(int glyphCode, float x, float y, Rectangle2D.Float floatRect) argument
266 getGlyphOutline(int glyphCode, float x, float y) argument
276 getGlyphImagePtr(int glyphCode) argument
390 getCachedNativeGlyphAdvance(int glyphCode) argument
[all...]
H A DCFont.java50 float getGlyphAdvance(long pScalerContext, int glyphCode) { argument
54 void getGlyphMetrics(long pScalerContext, int glyphCode, argument
59 long getGlyphImage(long pScalerContext, int glyphCode) { argument
64 int glyphCode) {
68 GeneralPath getGlyphOutline(long pScalerContext, int glyphCode, argument
63 getGlyphOutlineBounds(long pScalerContext, int glyphCode) argument
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCoreTextSupport.m150 (const AWTFont *font, const jint glyphCode, CGGlyph *glyphRef)
154 if (glyphCode >= 0)
156 *glyphRef = glyphCode;
161 UTF16Char character = -glyphCode;
H A DCoreTextSupport.h49 CTFontRef CTS_CopyCTFallbackFontAndGlyphForJavaGlyphCode(const AWTFont *font, const jint glyphCode, CGGlyph *glyphRef);

Completed in 996 milliseconds

12