#3555·react-pdf

阿拉伯语丢失基本字母形状: slice() 开始边界使用组中的最后一个字形索引

作者: rozakbuhari创建于 2026年9月3日更新于 2026年9月3日

For the start boundary only, walk back to the first glyph sharing that character index. In packages/textkit/src/run/slice.ts:

typescript
/**
 * Return the FIRST glyph index of the group mapping to the given string index.
 *
 * `glyphIndexAt` returns the last, which is right
…

内容来源: diegomura/react-pdf