HomeSort by relevance Sort by last modified time
    Searched refs:shaper_item (Results 1 - 5 of 5) sorted by null

  /external/harfbuzz/src/
harfbuzz-hebrew.c 45 HB_Bool HB_HebrewShape(HB_ShaperItem *shaper_item)
57 assert(shaper_item->item.script == HB_Script_Hebrew);
60 if (HB_SelectScript(shaper_item, hebrew_features)) {
62 const int availableGlyphs = shaper_item->num_glyphs;
63 if (!HB_ConvertStringToGlyphIndices(shaper_item))
66 HB_HeuristicSetGlyphAttributes(shaper_item);
67 HB_OpenTypeShape(shaper_item, /*properties*/0);
68 return HB_OpenTypePosition(shaper_item, availableGlyphs, /*doLogClusters*/TRUE);
73 const HB_UChar16 *uc = shaper_item->string + shaper_item->item.pos
    [all...]
harfbuzz-shaper-private.h 95 typedef HB_Bool (*HB_ShapeFunction)(HB_ShaperItem *shaper_item);
105 extern HB_Bool HB_BasicShape(HB_ShaperItem *shaper_item);
106 extern HB_Bool HB_GreekShape(HB_ShaperItem *shaper_item);
107 extern HB_Bool HB_TibetanShape(HB_ShaperItem *shaper_item);
108 extern HB_Bool HB_HebrewShape(HB_ShaperItem *shaper_item);
109 extern HB_Bool HB_ArabicShape(HB_ShaperItem *shaper_item);
110 extern HB_Bool HB_HangulShape(HB_ShaperItem *shaper_item);
111 extern HB_Bool HB_MyanmarShape(HB_ShaperItem *shaper_item);
112 extern HB_Bool HB_KhmerShape(HB_ShaperItem *shaper_item);
113 extern HB_Bool HB_IndicShape(HB_ShaperItem *shaper_item);
    [all...]
harfbuzz-greek.c 356 HB_Bool HB_GreekShape(HB_ShaperItem *shaper_item)
358 const int availableGlyphs = shaper_item->num_glyphs;
359 const HB_UChar16 *uc = shaper_item->string + shaper_item->item.pos;
360 unsigned short *logClusters = shaper_item->log_clusters;
361 HB_GlyphAttributes *attributes = shaper_item->attributes;
368 HB_STACKARRAY(HB_UChar16, shapedChars, 2 * shaper_item->item.length);
370 assert(shaper_item->item.script == HB_Script_Greek);
375 for (i = 1; i < shaper_item->item.length; ++i) {
398 if (shaper_item->font->klass->canRender(shaper_item->font, (HB_UChar16 *)&shaped, 1))
    [all...]
harfbuzz-shaper.cpp 560 HB_Bool HB_ConvertStringToGlyphIndices(HB_ShaperItem *shaper_item)
562 if (shaper_item->glyphIndicesPresent) {
563 shaper_item->num_glyphs = shaper_item->initialGlyphCount;
564 shaper_item->glyphIndicesPresent = false;
567 return shaper_item->font->klass
568 ->convertStringToGlyphIndices(shaper_item->font,
569 shaper_item->string + shaper_item->item.pos, shaper_item->item.length
    [all...]
  /external/harfbuzz/tests/shaping/
main.cpp 224 HB_ShaperItem shaper_item; local
225 shaper_item.kerning_applied = false;
226 shaper_item.string = reinterpret_cast<const HB_UChar16 *>(str.constData());
227 shaper_item.stringLength = str.length();
228 shaper_item.item.script = script;
229 shaper_item.item.pos = 0;
230 shaper_item.item.length = shaper_item.stringLength;
231 shaper_item.item.bidiLevel = 0; // ###
232 shaper_item.shaperFlags = 0
    [all...]

Completed in 207 milliseconds