Searched refs:shaper_item (Results 1 - 10 of 10) sorted by relevance

/external/harfbuzz/src/
H A Dharfbuzz-hebrew.c45 HB_Bool HB_HebrewShape(HB_ShaperItem *shaper_item) argument
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
[all...]
H A Dharfbuzz-shaper-private.h95 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...]
H A Dharfbuzz-greek.c356 HB_Bool HB_GreekShape(HB_ShaperItem *shaper_item) argument
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
[all...]
H A Dharfbuzz-shaper.cpp560 HB_Bool HB_ConvertStringToGlyphIndices(HB_ShaperItem *shaper_item) argument
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
574 HB_BasicShape(HB_ShaperItem *shaper_item) argument
1052 HB_SelectScript(HB_ShaperItem *shaper_item, const HB_OpenTypeFeature *features) argument
1346 HB_ShapeItem(HB_ShaperItem *shaper_item) argument
[all...]
/external/harfbuzz_ng/src/hb-old/
H A Dharfbuzz-hebrew.c45 HB_Bool HB_HebrewShape(HB_ShaperItem *shaper_item) argument
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
[all...]
H A Dharfbuzz-shaper-private.h95 typedef HB_Bool (*HB_ShapeFunction)(HB_ShaperItem *shaper_item);
103 extern HB_Bool HB_BasicShape(HB_ShaperItem *shaper_item);
104 extern HB_Bool HB_GreekShape(HB_ShaperItem *shaper_item);
105 extern HB_Bool HB_TibetanShape(HB_ShaperItem *shaper_item);
106 extern HB_Bool HB_HebrewShape(HB_ShaperItem *shaper_item);
107 extern HB_Bool HB_ArabicShape(HB_ShaperItem *shaper_item);
108 extern HB_Bool HB_HangulShape(HB_ShaperItem *shaper_item);
109 extern HB_Bool HB_MyanmarShape(HB_ShaperItem *shaper_item);
110 extern HB_Bool HB_KhmerShape(HB_ShaperItem *shaper_item);
111 extern HB_Bool HB_IndicShape(HB_ShaperItem *shaper_item);
[all...]
H A Dharfbuzz-greek.c356 HB_Bool HB_GreekShape(HB_ShaperItem *shaper_item) argument
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
[all...]
H A Dharfbuzz-shaper.cpp349 HB_Bool HB_ConvertStringToGlyphIndices(HB_ShaperItem *shaper_item) argument
351 if (shaper_item->glyphIndicesPresent) {
352 shaper_item->num_glyphs = shaper_item->initialGlyphCount;
353 shaper_item->glyphIndicesPresent = false;
356 return shaper_item->font->klass
357 ->convertStringToGlyphIndices(shaper_item->font,
358 shaper_item->string + shaper_item->item.pos, shaper_item
363 HB_BasicShape(HB_ShaperItem *shaper_item) argument
696 HB_SelectScript(HB_ShaperItem *shaper_item, const HB_OpenTypeFeature *features) argument
983 HB_ShapeItem(HB_ShaperItem *shaper_item) argument
[all...]
/external/harfbuzz/tests/shaping/
H A Dmain.cpp224 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
[all...]
/external/harfbuzz_ng/src/
H A Dhb-shape-plan.cc265 for (const char * const *shaper_item = shaper_list; *shaper_item; shaper_item++)
269 else if (0 == strcmp (*shaper_item, #shaper)) \

Completed in 116 milliseconds