summaryrefslogtreecommitdiff
path: root/sax/qa
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@libreoffice.org>2023-06-01 12:23:05 +0300
committerخالد حسني <khaled@libreoffice.org>2023-06-01 14:46:16 +0200
commit737854f3c5131d3a64803edc0802dbbc07aa4405 (patch)
tree91280034d2743dbf37a85bcc451dea4ab14f4241 /sax/qa
parent29224bf7305ab8ba103be145effc8ac467ffcfd6 (diff)
tdf#153440: Fix font fallback for surrogate pairs in RTL text
When checking for a font that supports the surrogate pair, code was appending code units one by one to string buffer and in RTL case this was happening in reverse order leading to invalid text and consequently failing to find any font that supports it. We now iterate over runs not individual positions, so the text of each individual run maintains its correct order regardless of the direction. Change-Id: Icf2e2aed56512bf907dc6b3c36f387a9e3ad497a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152481 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'sax/qa')
0 files changed, 0 insertions, 0 deletions