[okular] [Bug 466521] Characters such as "⑥" cannot be copied as in Chrome, but can only be pasted as "6"

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


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

Sune Vuorela <sune at vuorela.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/okular/-/commit/322fd2
                   |                            |d54e4226f6dbb4fb357a86931a5
                   |                            |c790340
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- 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 473495

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