[okular] [Bug 473495] Give an option not to apply compatibility decomposition when copying

Sune Vuorela bugzilla_noreply at kde.org
Fri May 24 11:52:18 BST 2024


https://bugs.kde.org/show_bug.cgi?id=473495

--- Comment #2 from Sune Vuorela <sune at vuorela.dk> ---
Git commit 322fd2d54e4226f6dbb4fb357a86931a5c790340 by Sune Vuorela, on behalf
of Wendi Gan.
Committed on 24/05/2024 at 10:02.
Pushed by sune into branch 'master'.

fix Unicode Normalization: replace NFKC to NFC

Use NFC in copy, makeWord, and export functions, and NFKC for search
operations.
NFKC may alter characters when copied or exported. For example ⑥ in pdf will be
pasted as 6. So most instances are replaced with NFC.
To simplify matching during search operation, NFKC is used.
Related: bug 466521

M  +12   -9    core/textpage.cpp
M  +1    -1    generators/poppler/generator_pdf.cpp

https://invent.kde.org/graphics/okular/-/commit/322fd2d54e4226f6dbb4fb357a86931a5c790340

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


More information about the Okular-devel mailing list