https://bugs.documentfoundation.org/show_bug.cgi?id=158329

--- Comment #10 from ⁨خالد حسني⁩ <[email protected]> ---
For anyone trying to debug this, it is caused by the removal of the line:
hb_buffer_set_cluster_level(pHbBuffer,
HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS);
As the default cluster level in HarfBuzz gives the base character and combining
mark the same cluster number, so when we tey to map glyphs back to input
characters while creating PDF data, we can no longer map the base and mark
glyphs individually to their original characters and instead have 2+ glyphs
mapped to 2+ characters which requires /ActualText which in turn is badly
supported in PDF readers and lead to this and the duplicate bug.

One fix is to restore this line and tey to figure another way to fix bug
151350.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to