Searched refs:glyphs (Results 1 - 25 of 68) sorted by relevance

123

/openjdk7/jdk/src/share/classes/sun/font/
H A DCharToGlyphMapper.java66 int[] glyphs = new int[1];
68 charsToGlyphs(1, chars, glyphs);
69 return glyphs[0];
74 int [] glyphs = new int[1];
76 charsToGlyphs(1, chars, glyphs);
77 return glyphs[0];
83 char[] unicodes, int[] glyphs);
86 char[] unicodes, int[] glyphs);
89 int[] unicodes, int[] glyphs);
82 charsToGlyphs(int count, char[] unicodes, int[] glyphs) argument
85 charsToGlyphsNS(int count, char[] unicodes, int[] glyphs) argument
88 charsToGlyphs(int count, int[] unicodes, int[] glyphs) argument
H A DGlyphDisposedListener.java31 public void glyphDisposed(ArrayList<Long> glyphs); argument
H A DType1GlyphMapper.java102 public void charsToGlyphs(int count, char[] unicodes, int[] glyphs) { argument
118 glyphs[i + 1] = 0xFFFF; // invisible glyph
121 glyphs[i] = charToGlyph(code);
128 public void charsToGlyphs(int count, int[] unicodes, int[] glyphs) { argument
134 glyphs[i] = charToGlyph(unicodes[i]);
144 public boolean charsToGlyphsNS(int count, char[] unicodes, int[] glyphs) { argument
157 glyphs[i + 1] = INVISIBLE_GLYPH_ID;
161 glyphs[i] = charToGlyph(code);
H A DTrueTypeGlyphMapper.java163 public void charsToGlyphs(int count, int[] unicodes, int[] glyphs) { argument
166 glyphs[i] = getGlyphFromCMAP(remapJAIntChar(unicodes[i]));
168 glyphs[i] = getGlyphFromCMAP(unicodes[i]);
171 glyphs[i] < font.glyphToCharMap.length) {
172 font.glyphToCharMap[glyphs[i]] = (char)unicodes[i];
177 public void charsToGlyphs(int count, char[] unicodes, int[] glyphs) { argument
196 glyphs[i] = getGlyphFromCMAP(code);
198 glyphs[i] = INVISIBLE_GLYPH_ID;
202 glyphs[i] = getGlyphFromCMAP(code);
205 glyphs[
217 charsToGlyphsNS(int count, char[] unicodes, int[] glyphs) argument
[all...]
H A DCompositeGlyphMapper.java138 /* The number of glyphs in a composite is affected by
143 * just count the glyphs in all the slots. However this would
192 public boolean charsToGlyphsNS(int count, char[] unicodes, int[] glyphs) { argument
205 glyphs[i + 1] = INVISIBLE_GLYPH_ID;
209 int gc = glyphs[i] = getCachedGlyphCode(code);
211 glyphs[i] = convertToGlyph(code);
232 public void charsToGlyphs(int count, char[] unicodes, int[] glyphs) { argument
245 int gc = glyphs[i] = getCachedGlyphCode(code);
247 glyphs[i] = convertToGlyph(code);
250 glyphs[
262 charsToGlyphs(int count, int[] unicodes, int[] glyphs) argument
[all...]
H A DStandardGlyphVector.java78 * subsequent glyphs if defaultLayout is called after setting a glyph
121 * A font transform transforms both the baseline and all the glyphs
123 * If you do want to rotate individual glyphs, you need to apply a
128 * - select vertical metrics - glyphs are rotated pi/4 cc and vertical
139 private int[] glyphs; // always field in class:StandardGlyphVector
140 private int[] userGlyphs; // used to return glyphs to the client.
156 private SoftReference fsref; // font strike reference for glyphs with no per-glyph transform
184 public StandardGlyphVector(Font font, FontRenderContext frc, int[] glyphs, float[] positions, argument
186 initGlyphVector(font, frc, glyphs, positions, indices, flags);
208 for (int i = j, n = 0; n < glyphs
220 initGlyphVector(Font font, FontRenderContext frc, int[] glyphs, float[] positions, int[] indices, int flags) argument
244 StandardGlyphVector(Font font, int[] glyphs, FontRenderContext frc) argument
[all...]
H A DCompositeStrike.java101 /* Performance tweak: Slot 0 can often return all the glyphs
103 * Could go a step further and support getting a run of glyphs.
178 * To be as efficient as possible we find a run of glyphs from the
179 * same slot and create a temporary array of these glyphs decoded
181 * for that run of glyphs. GeneralPaths from each run are appended
184 GeneralPath getGlyphVectorOutline(int[] glyphs, float x, float y) { argument
190 while (glyphIndex < glyphs.length) {
192 int slot = glyphs[glyphIndex] >>> 24;
193 while (glyphIndex < glyphs.length &&
194 (glyphs[glyphInde
[all...]
H A DFontStrike.java77 getGlyphVectorOutline(int[] glyphs, float x, float y); argument
/openjdk7/jdk/src/solaris/classes/sun/font/
H A DNativeGlyphMapper.java78 public void charsToGlyphs(int count, char[] unicodes, int[] glyphs) { argument
82 glyphs[i] = 0;
84 glyphs[i] = xmapper.convertedGlyphs[code];
89 public boolean charsToGlyphsNS(int count, char[] unicodes, int[] glyphs) { argument
90 charsToGlyphs(count, unicodes, glyphs);
94 public void charsToGlyphs(int count, int[] unicodes, int[] glyphs) { argument
98 glyphs[i] = 0;
100 glyphs[i] = xmapper.convertedGlyphs[code];
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCCharToGlyphMapper.m55 CGGlyph *cgGlyphs, jintArray glyphs)
57 jint *glyphCodeInts = (*env)->GetPrimitiveArrayCritical(env, glyphs, 0);
64 (*env)->ReleasePrimitiveArrayCritical(env, glyphs, glyphCodeInts, 0);
69 jint count, UniChar *unicodes, jintArray glyphs)
73 GetGlyphsFromUnicodes(env, awtFont, count, unicodes, cgGlyphs, glyphs);
76 GetGlyphsFromUnicodes(env, awtFont, count, unicodes, cgGlyphs, glyphs);
89 jlong awtFontPtr, jint count, jcharArray unicodes, jintArray glyphs)
96 jint len = (*env)->GetArrayLength(env, glyphs);
104 AllocateGlyphBuffer(env, awtFont, count, (UniChar *)unicodesAsChars, glyphs);
H A DCGGlyphOutlines.h54 OSStatus AWTGetGlyphOutline(CGGlyph *glyphs, NSFont *font,
H A DCoreTextSupport.h38 * Transform Unicode characters into glyphs.
45 void CTS_GetGlyphsAsIntsForCharacters(const AWTFont *font, const UniChar unicodes[], CGGlyph glyphs[], jint glyphsAsInts[], const size_t count);
H A DCoreTextSupport.m92 * Transform Unicode characters into glyphs.
100 (const AWTFont *font, const UniChar unicodes[], CGGlyph glyphs[], jint glyphsAsInts[], const size_t count)
102 CTFontGetGlyphsForCharacters((CTFontRef)font->fFont, unicodes, glyphs, count);
106 CGGlyph glyph = glyphs[i];
H A DCGGlyphImages.m618 const CGGlyph glyphs[],
630 CGGI_CreateImageForGlyph(canvas, glyphs[i], info, mode);
661 * the glyphs, and destroy it.
666 const UniChar uniChars[], const CGGlyph glyphs[],
677 glyphs, len);
694 glyphInfos, uniChars, glyphs, len);
710 const UniChar uniChars[], const CGGlyph glyphs[],
717 JRSFontGetBoundingBoxesForGlyphsAndStyle((CTFontRef)font->fFont, &tx, bboxCGMode, glyphs, len, bboxes);
718 JRSFontGetAdvancesForGlyphsAndStyle((CTFontRef)font->fFont, &tx, strike->fStyle, glyphs, len, advances);
744 glyphs, maxWidt
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DGrowableEltArray.java29 * Class to efficiently store glyph information for laid out glyphs,
36 GrowableIntArray glyphs; field in class:GrowableEltArray
41 glyphs = new GrowableIntArray(1, initialSize*8);
77 return glyphs;
81 glyphs.clear();
/openjdk7/jdk/src/share/native/sun/font/
H A Dglyphblitting.h39 ImageRef *glyphs; member in struct:__anon800
H A DDrawGlyphList.c75 gbv->glyphs = (ImageRef*)((unsigned char*)gbv+sizeof(GlyphBlitVector));
105 gbv->glyphs[g].glyphInfo = ginfo;
106 gbv->glyphs[g].pixels = ginfo->image;
107 gbv->glyphs[g].width = ginfo->width;
108 gbv->glyphs[g].rowBytes = ginfo->rowBytes;
109 gbv->glyphs[g].height = ginfo->height;
110 FLOOR_ASSIGN(gbv->glyphs[g].x, px + ginfo->topLeftX);
111 FLOOR_ASSIGN(gbv->glyphs[g].y, py + ginfo->topLeftY);
118 gbv->glyphs[g].glyphInfo = ginfo;
119 gbv->glyphs[
142 SurfaceDataBounds glyphs; local
[all...]
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11TextRenderer.c48 SurfaceDataBounds *bounds, ImageRef *glyphs, jint totalGlyphs);
72 &bounds, gbv->glyphs, gbv->numGlyphs);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DLEInsertionList.cpp45 LEGlyphID glyphs[ANY_NUMBER]; member in struct:InsertionRecord
107 return insertion->glyphs;
113 if (callback->applyInsertion(rec->position, rec->count, rec->glyphs)) {
/openjdk7/jdk/src/macosx/classes/sun/font/
H A DCCharToGlyphMapper.java60 char[] unicodes, int[] glyphs)
62 charsToGlyphs(count, unicodes, glyphs);
74 glyphs[i + 1] = INVISIBLE_GLYPH_ID;
134 int[] glyphs = new int[2];
139 charsToGlyphs(2, surrogates, glyphs);
140 return glyphs[0];
145 public synchronized void charsToGlyphs(int count, char[] unicodes, int[] glyphs) { argument
146 cache.get(count, unicodes, glyphs);
149 public synchronized void charsToGlyphs(int count, int[] unicodes, int[] glyphs) { argument
151 glyphs[
59 charsToGlyphsNS(int count, char[] unicodes, int[] glyphs) argument
161 nativeCharsToGlyphs(final long nativeFontPtr, int count, char[] unicodes, int[] glyphs) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11TextRenderer_md.c104 ImageRef *glyphs, jint totalGlyphs,
123 pixels = (const jubyte *)glyphs[glyphCounter].pixels;
127 rowBytes = glyphs[glyphCounter].width;
128 left = glyphs[glyphCounter].x;
129 top = glyphs[glyphCounter].y;
130 width = glyphs[glyphCounter].width;
131 height = glyphs[glyphCounter].height;
209 SurfaceDataBounds *bounds, ImageRef *glyphs, jint totalGlyphs)
260 glyphs,
103 FillBitmap(XImage *theImage, ImageRef *glyphs, jint totalGlyphs, jint clipLeft, jint clipTop, jint clipRight, jint clipBottom) argument
207 AWTDrawGlyphList(JNIEnv *env, jobject xtr, jlong dstData, jlong gc, SurfaceDataBounds *bounds, ImageRef *glyphs, jint totalGlyphs) argument
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DDrawGlyphListLCD.java111 GlyphList glyphs)
114 target.DrawGlyphListLCD(sg2d, dest, glyphs);
110 DrawGlyphListLCD(SunGraphics2D sg2d, SurfaceData dest, GlyphList glyphs) argument
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCTextPipe.m134 (const QuartzSDOps *qsdo, const AWTStrike *strike, const BOOL useSubstituion, const int uniChars[], const CGGlyph glyphs[], CGSize advances[], const jint g_gvTXIndicesAsInts[], const jdouble g_gvTransformsAsDoubles[], const CFIndex length)
154 CGGlyph glyph = glyphs[i];
323 aquiring transform arrays from JNI, filling buffers, or striking glyphs. All resources or memory
332 // strike the glyphs immediately in Core Graphics. Otherwise, obtain the arrays, and defer to above.
334 (JNIEnv *env, QuartzSDOps *qsdo, const AWTStrike *strike, jobject gVector, BOOL useSubstituion, int *uniChars, CGGlyph *glyphs, CGSize *advances, size_t length)
344 JavaCT_DrawGlyphVector(qsdo, strike, TRUE, uniChars, glyphs, advances, NULL, NULL, length);
349 CGContextShowGlyphsWithAdvances(qsdo->cgRef, glyphs, advances, length);
364 JavaCT_DrawGlyphVector(qsdo, strike, useSubstituion, uniChars, glyphs, advances, g_gvTXIndicesAsInts, g_gvTransformsAsDoubles, length);
374 // Uses "glyphs" as a temporary buffer for the glyph-to-unicode translation
376 (const NSFont *font, const int uniChars[], CGGlyph glyphs[], cons
[all...]
/openjdk7/jdk/src/windows/classes/sun/font/
H A DNativeStrike.java82 GeneralPath getGlyphVectorOutline(int[] glyphs, float x, float y) { argument
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_FourByteAbgrPre.c154 ImageRef *glyphs,
193 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
197 left = glyphs[glyphCounter].x;
198 top = glyphs[glyphCounter].y;
199 width = glyphs[glyphCounter].width;
200 height = glyphs[glyphCounter].height;

Completed in 39 milliseconds

123