https://bugs.kde.org/show_bug.cgi?id=345489
Bug ID: 345489
Summary: Adobe Reader shows wrong character in annotation
created by Okular
Product: okular
Version: 0.20.2
Platform: Debian unstable
URL: http://1drv.ms/1GQzYTD
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: PDF backend
Assignee: [email protected]
Reporter: [email protected]
I found a possible bug of the PDF annotation feature. I added some Chinese
annotation into a PDF file with Okular 0.20.2 in Linux, and open the file with
Adobe Reader 11.0.0.379 in Windows. Most of the characters in the annotation
are correct. However, some characters become wrong characters. I checked these
wrong characters, and had the following observation: In Okular, annotations are
saved in UTF-16. If the 2-byte code of a character includes "0D", it will be
converted to "0A" if shown in Adobe Reader, so the character goes wrong. For
example, the Chinese character "不" (U+4E0D) will be shown as "上" (U+4E0A) in
the annotation in Adobe Reader. BTW, I tested some other PDF tool to add
Chinese annotations. The annotations added by Adobe Reader and Foxit Reader can
both be shown correctly in Adobe Reader. I am not sure whether it is a bug of
Okular. Although the stored UTF-16 strings are correct, I am not sure whether
some meta-info for the annotation is correct. Well, it might also be a bug in
Adobe Reader. I have made an example PDF file: <http://1drv.ms/1GQzYTD>, you
can download and test it. Will you please take a look? Thank you very much!
Reproducible: Always
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Okular-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/okular-devel