Bug 439488 - Some letters are omitted in the visible hint for the electronic signature.
Summary: Some letters are omitted in the visible hint for the electronic signature.
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 21.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-04 18:41 UTC by smihael
Modified: 2022-06-09 09:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The signee's name (ending with -ič) is shown correctly in the Signatures panel, but not in the visible hint (-i). (146.38 KB, image/png)
2022-02-19 15:39 UTC, smihael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smihael 2021-07-04 18:41:57 UTC
Some letters are omitted in the visible hint for the electronic signature. Thus names might be shown incorrectly, which is a blocking bug that can prevents from using Okular for signing documents. Instead of "Test Testič" documents show a stamp with "Test Tesevi". 

STEPS TO REPRODUCE
1. Get a recent version of Okular (21.04.1) with a recent version of the poppler backend (21.03.0) that enable signing PDFs with a visible hint as described at https://cloudstore.zih.tu-dresden.de/index.php/s/j5BKKyJYZFBzGsB
2. Add a certificate with first or last name that contains c with caron (č). Š, ž, ć. đ and other non-ASCII letters are probably also affected. 
3. Open pdf, go to Tools>Digitally sign and draw a rectangle in the area you want to add a visual hint for the digital signature.


OBSERVED RESULT

A gray box saying Signed by Name Surname and date but without letter "č".

Signed by: Test Testi
....................................
Date: 2021-07-04T20:24:31



EXPECTED RESULT

Full name including non-ASCII letters should be added.

Signed by: Test Testič
....................................
Date: 2021-07-04T20:24:31
Comment 1 smihael 2022-02-19 15:39:04 UTC
Created attachment 146936 [details]
The signee's name (ending with -ič) is shown correctly in the Signatures panel, but not in the visible hint (-i).

The bug persist in Okular 21.12.2.
Comment 2 smihael 2022-06-09 09:28:17 UTC
This bug has been resolved by a recent upgrade of the Poppler backend.

See: https://tsdgeos.blogspot.com/2022/04/poppler-finally-has-support-for.html

Using a recent enough combination of Okular (tested with 22.04.1) and Poppler (tested with 22.06.0), signatures works as intended now.