-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
are harfbuzz's CharIndices pre-indexed? I had to ignore the indexBase param to get the same value as ICU. Some mismatch here.
index b0bbe63..7d760fd 100644
--- a/src/LayoutEngine.cpp
+++ b/src/LayoutEngine.cpp
@@ -178,7 +178,7 @@ void LayoutEngine::getCharIndices(le_int32 charIndices[], le_int32 indexBase, LE
unsigned int count;
const hb_glyph_info_t *info = hb_buffer_get_glyph_infos (fHbBuffer, &count);
for (unsigned int i = 0; i < count; i++)
- charIndices[i] = info[i].cluster + indexBase;
+ charIndices[i] = info[i].cluster; // + indexBase;
}
void LayoutEngine::getCharIndices(le_int32 charIndices[], LEErrorCode &success) const
Metadata
Metadata
Assignees
Labels
No labels