Bug 407956

Summary: Okular typewrite doesn't display Chinese characters
Product: [Applications] okular Reporter: Rui Zhao <renyuneyun>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: yurchor
Priority: NOR    
Version: 1.7.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot for the bug, with minor comments

Description Rui Zhao 2019-05-26 10:03:28 UTC
Created attachment 120316 [details]
Screenshot for the bug, with minor comments

SUMMARY

Okular typewrite (annotation) doesn't show Chinese characters on the page (but is displayed normally in the popup note).


STEPS TO REPRODUCE
1. Open a PDF file with okular
2. Select "typewriter" annotation tool
3. type any Chinese (e.g. "啊啊啊" (ahhhh)), surrounded with Latin characters (the second part is not necessary, but useful to test)

OBSERVED RESULT

Chinese characters are not shown.
If surround the Chinese characters with Latin characters, the Latin part is shown and no space is preserved for Chinese characters. (This rules out font issues; I also checked the font which is a valid Chinese font, Source Han Sans.)


EXPECTED RESULT

Chinese characters are displayed correctly.


SOFTWARE/OS VERSIONS
KDE Plasma Version: N/A (I'm using Awesome WM)
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION
Comment 1 Yuri Chornoivan 2019-05-26 10:10:58 UTC

*** This bug has been marked as a duplicate of bug 310154 ***
Comment 2 Rui Zhao 2019-05-26 10:33:05 UTC
Thanks, Yuri, for redirecting to the existing bug report :)


Bug I suppose it's better to mark as duplicated of 305534.

*** This bug has been marked as a duplicate of bug 305534 ***