HomeSort by relevance Sort by last modified time
    Searched defs:glyphs (Results 1 - 25 of 42) sorted by null

1 2

  /external/icu4c/layout/
LEInsertionList.cpp 20 LEGlyphID glyphs[ANY_NUMBER]; member in struct:InsertionRecord
82 return insertion->glyphs;
88 if (callback->applyInsertion(rec->position, rec->count, rec->glyphs)) {
  /external/icu4c/test/letest/
letest.h 38 LEGlyphID *glyphs; member in struct:TestResult
cletest.c 42 LEGlyphID *glyphs = NULL; local
60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10);
71 le_getGlyphs(engine, glyphs, &status);
74 log_err("Calling getGlyphs(glyphs, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n");
121 DELETE_ARRAY(glyphs);
215 LEGlyphID glyphs[6]; local
236 le_getGlyphs(engine, glyphs, &status);
296 if (actual->glyphs[i] != expected->glyphs[i]) {
298 testID, i, expected->glyphs[i], actual->glyphs[i])
    [all...]
gendata.cpp 164 LEGlyphID *glyphs = NULL; local
259 glyphs = NEW_ARRAY(LEGlyphID, glyphCount);
263 engine->getGlyphs(glyphs, leStatus);
267 dumpLongs(outputFile, "result-glyphs", (le_int32 *) glyphs, glyphCount);
277 DELETE_ARRAY(glyphs);
xmlreader.cpp 149 UnicodeString result_glyphs = UNICODE_STRING_SIMPLE("result-glyphs");
180 UnicodeString text, glyphs, indices, positions; local
212 glyphs = element->getText(TRUE);
226 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount);
243 DELETE_ARRAY(expected.glyphs);
  /external/webkit/Source/WebCore/platform/graphics/pango/
GlyphPageTreeNodePango.cpp 55 PangoGlyphString* glyphs = pango_glyph_string_new(); local
56 pango_shape(buffer, length, &item->analysis, glyphs);
60 if (glyphs->num_glyphs == 1)
61 result = glyphs->glyphs[0].glyph;
63 g_warning("didn't get 1 glyph but %d", glyphs->num_glyphs);
65 pango_glyph_string_free(glyphs);
  /external/webkit/Source/WebCore/platform/graphics/skia/
GlyphPageTreeNodeSkia.cpp 44 static int substituteWithVerticalGlyphs(const SimpleFontData* fontData, uint16_t* glyphs, unsigned bufferLength)
55 hb_buffer_add_glyph(buffer, glyphs[i], 0, i);
69 glyphs[i] = static_cast<Glyph>(buffer->out_string[i].gindex);
86 uint16_t* glyphs = glyphStorage.get(); local
88 unsigned count = paint.textToGlyphs(buffer, bufferLength * 2, glyphs);
103 substituteWithVerticalGlyphs(fontData, glyphs, bufferLength);
108 setGlyphDataForIndex(offset + i, glyphs[i], glyphs[i] ? fontData : NULL);
109 allGlyphs |= glyphs[i];
  /external/webkit/Source/WebCore/platform/graphics/android/
GlyphMapAndroid.cpp 47 static int substituteWithVerticalGlyphs(const FontPlatformData& platformData, uint16_t* glyphs, unsigned bufferLength)
58 hb_buffer_add_glyph(buffer, glyphs[i], 0, i);
72 glyphs[i] = static_cast<Glyph>(buffer->out_string[i].gindex);
89 uint16_t* glyphs = glyphStorage.get(); local
94 // Convert to vertical form if there is no vertical glyphs.
103 unsigned count = paint.textToGlyphs(textBuffer, bufferLength << 1, glyphs);
118 substituteWithVerticalGlyphs(fontData->platformData(), glyphs, bufferLength);
129 uint16_t glyphID = glyphs[i];
138 uint16_t glyphID = glyphs[i];
  /external/webkit/Source/WebCore/platform/graphics/haiku/
FontHaiku.cpp 84 GlyphBufferGlyph* glyphs = const_cast<GlyphBufferGlyph*>(glyphBuffer.glyphs(from)); local
88 charUnicodeToUTF8HACK(glyphs[i], out);
  /external/webkit/Source/WebCore/platform/graphics/mac/
GlyphPageTreeNodeMac.cpp 60 Vector<CGGlyph, 512> glyphs(bufferLength);
61 wkGetGlyphsForCharacters(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength);
63 if (!glyphs[i])
66 setGlyphDataForIndex(offset + i, glyphs[i], fontData);
71 // We ask CoreText for possible vertical variant glyphs
102 // This run uses the font we want. Extract glyphs.
104 const CGGlyph* glyphs = CTRunGetGlyphsPtr(ctRun); local
105 if (!glyphs) {
108 glyphs = glyphVector.data();
122 if (glyphs[i])
    [all...]
ComplexTextController.h 43 // ComplexTextController is responsible for rendering and measuring glyphs for
52 // Advance and emit glyphs up to the specified character.
96 const CGGlyph* glyphs() const { return m_glyphs; } function in class:WebCore::ComplexTextController::ComplexTextRun
  /external/webkit/Source/WebCore/svg/
SVGGlyphMap.h 38 Vector<SVGGlyphIdentifier> glyphs; member in struct:WebCore::GlyphMapNode
65 node->glyphs.append(glyph);
66 node->glyphs.last().priority = m_currentPriority++;
67 node->glyphs.last().nameLength = len;
68 node->glyphs.last().isValid = true;
77 void get(const String& string, Vector<SVGGlyphIdentifier>& glyphs)
86 glyphs.append(node->glyphs);
89 std::sort(glyphs.begin(), glyphs.end(), compareGlyphPriority)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cairo/
FontCairo.cpp 57 static void drawGlyphsToContext(cairo_t* context, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs)
59 cairo_show_glyphs(context, glyphs, numGlyphs);
63 cairo_show_glyphs(context, glyphs, numGlyphs);
68 static void drawGlyphsShadow(GraphicsContext* graphicsContext, const FloatPoint& point, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs)
83 cairo_show_glyphs(context, glyphs, numGlyphs);
89 cairo_scaled_font_glyph_extents(font->platformData().scaledFont(), glyphs, numGlyphs, &extents);
94 drawGlyphsToContext(shadowContext, font, glyphs, numGlyphs);
102 GlyphBufferGlyph* glyphs = (GlyphBufferGlyph*)glyphBuffer.glyphs(from); local
106 glyphs[i].x = offset
    [all...]
  /external/webkit/Source/WebCore/platform/wx/wxcode/gtk/
non-kerned-drawing.cpp 165 PangoGlyphString* glyphs = pango_glyph_string_new(); local
166 pango_shape(buffer, length, &item->analysis, glyphs);
170 if (glyphs->num_glyphs == 1)
171 result = glyphs->glyphs[0].glyph;
173 g_warning("didn't get 1 glyph but %d", glyphs->num_glyphs);
175 pango_glyph_string_free(glyphs);
201 cairo_glyph_t* glyphs = NULL; local
202 glyphs = static_cast<cairo_glyph_t*>(malloc(sizeof(cairo_glyph_t) * numGlyphs));
207 glyphs[i].index = pango_font_get_glyph(pangoFont, pangoContext, glyphBuffer.glyphAt(from + i))
    [all...]
  /external/webkit/Source/WebCore/platform/wx/wxcode/win/
non-kerned-drawing.cpp 106 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); local
124 wxString string = wxString((wxChar*)(&glyphs[from]), numGlyphs);
125 ::ExtTextOut(hdc, x, y, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphs), numGlyphs, spacing);
  /external/webkit/Source/WebCore/platform/graphics/
GlyphBuffer.h 86 GlyphBufferGlyph* glyphs(int from) { return m_glyphs.data() + from; } function in class:WebCore::GlyphBuffer
88 const GlyphBufferGlyph* glyphs(int from) const { return m_glyphs.data() + from; } function in class:WebCore::GlyphBuffer
  /external/webkit/Source/WebCore/platform/graphics/chromium/
ComplexTextControllerLinux.h 90 const uint16_t* glyphs() const { return m_glyphs16; } function in class:WebCore::ComplexTextController
92 // Return the length of the array returned by |glyphs|
95 // Return the x offset for each of the glyphs. Note that this is translated
FontLinux.cpp 85 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); local
133 canvas->drawTextOnPath(glyphs + i, 2, path, 0, paint);
136 canvas->drawPosText(glyphs, numGlyphs << 1, pos, paint);
162 canvas->drawTextOnPath(glyphs + i, 2, path, 0, paint);
165 canvas->drawPosText(glyphs, numGlyphs << 1, pos, paint);
228 canvas->drawPosTextH(controller.glyphs(), controller.length() << 1, controller.xPositions(), point.y(), fillPaint);
234 canvas->drawPosTextH(controller.glyphs(), controller.length() << 1, controller.xPositions(), point.y(), strokePaint);
255 // Iterate through the glyphs in logical order, seeing whether targetX falls between the previous
306 // that /no/ code points contributed to certain glyphs. Because o
    [all...]
SimpleFontDataLinux.cpp 188 uint16_t glyphs[maxBufferCount]; local
194 int n = SkMin32(length, SK_ARRAY_COUNT(glyphs));
197 int count = paint.textToGlyphs(characters, n * 2, glyphs);
199 if (0 == glyphs[i])
FontChromiumWin.cpp 195 // Draws the partial string of glyphs, starting at |startAdvance| to the
199 bool drawGlyphs(int numGlyphs, const WORD* glyphs, const int* advances, float startAdvance) const;
257 const WORD* glyphs,
265 numGlyphs, glyphs, advances, 0, &origin);
291 ExtTextOut(m_hdc, x + shadowOffset.width(), y + shadowOffset.height(), ETO_GLYPH_INDEX, 0, reinterpret_cast<const wchar_t*>(&glyphs[0]), numGlyphs, &advances[0]);
295 return !!ExtTextOut(m_hdc, x, y, ETO_GLYPH_INDEX, 0, reinterpret_cast<const wchar_t*>(&glyphs[0]), numGlyphs, &advances[0]);
387 // We draw the glyphs in chunks to avoid having to do a heap allocation for
393 Vector<WORD, kMaxBufferLength> glyphs; local
405 glyphs.resize(curLen);
410 glyphs[i] = glyphBuffer.glyphAt(from + glyphIndex)
    [all...]
  /external/harfbuzz/tests/shaping/
main.cpp 65 static HB_Bool hb_stringToGlyphs(HB_Font font, const HB_UChar16 *string, hb_uint32 length, HB_Glyph *glyphs, hb_uint32 *numGlyphs, HB_Bool /*rightToLeft*/)
73 glyphs[glyph_pos] = FT_Get_Char_Index(face, getChar(string, length, i));
82 static void hb_getAdvances(HB_Font /*font*/, const HB_Glyph * /*glyphs*/, hb_uint32 numGlyphs, HB_Fixed *advances, int /*flags*/)
207 unsigned short glyphs[16]; member in struct:ShapeTable
257 shaper_item.glyphs = hb_glyphs.data();
271 const unsigned short *g = s->glyphs;
281 if ((shaper_item.glyphs[i]&0xffffff) != s->glyphs[i])
300 str += QString("%1 ").arg(shaper_item.glyphs[i], 4, 16);
  /external/icu4c/samples/layout/
paragraph.cpp 241 const LEGlyphID *glyphs = visualRun->getGlyphs(); local
244 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight);
pflow.c 341 const LEGlyphID *glyphs = pl_getVisualRunGlyphs(visualRun); local
344 rs_drawGlyphs(surface, font, glyphs, glyphCount, positions, x, y, obj->fWidth, obj->fHeight);
  /external/webkit/Source/WebCore/platform/graphics/win/
UniscribeController.cpp 226 Vector<WORD> glyphs; local
234 glyphs.resize(1.5 * len + 16);
235 visualAttributes.resize(glyphs.size());
237 if (!shape(str, len, item, fontData, glyphs, clusters, visualAttributes))
240 // We now have a collection of glyphs.
243 offsets.resize(glyphs.size());
244 advances.resize(glyphs.size());
246 HRESULT placeResult = ScriptPlace(0, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data(),
254 placeResult = ScriptPlace(hdc, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data()
    [all...]
  /external/icu4c/layoutex/layout/
ParagraphLayout.h 41 * Clients can use this to break a paragraph into lines, and to display the glyphs in each line.
180 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
226 * Get the number of glyphs in the visual run.
228 * @return the number of glyphs.
235 * Get the glyphs in the visual run. Glyphs with the values <code>0xFFFE</code> and
238 * @return the address of the array of glyphs for this visual run. The storage
247 * Get the (x, y) positions of the glyphs in the visual run. To simplify storage
341 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
412 * just mapping the characters to glyphs and rendering them in order
559 LEGlyphID *glyphs; member in struct:ParagraphLayout::StyleRunInfo
    [all...]

Completed in 294 milliseconds

1 2