Lei Zhang 17c6d8dae8 Fix mixed-direction line extraction
Disable automatic whole-line Bidi segment reversal for text extraction,
preserving the original logical ordering of text segments on the page to
match Acrobat behavior and prevent semantic phrase reversals in mixed
English/Hebrew sentences. Then update FPDFTextEmbedderTest.ActualTextRtl
test expectations to match this behavior change.

TAG=agy
CONV=f944b222-25e8-4814-ac19-fc1a0101da16

Bug: 525087036
Change-Id: Ia48be8bb74ed60e4bd1bd34b34461ea5d46b3db0
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/152910
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Andy Phan <andyphan@chromium.org>
2026-07-24 12:08:09 -07:00
..