[Okular-devel] [okular] [Bug 344849] New: PDF metadata is displayed incorrectly in File -> Properties

4aa7f31e at opayq.com 4aa7f31e at opayq.com
Wed Mar 4 23:11:51 UTC 2015


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

            Bug ID: 344849
           Summary: PDF metadata is displayed incorrectly in File ->
                    Properties
           Product: okular
           Version: 0.20.0
          Platform: Ubuntu Packages
               URL: http://s000.tinyupload.com/index.php?file_id=223973362
                    41734990640
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: 4aa7f31e at opayq.com

If certain characters are present in the metadata of a PDF file (fields
"Title", "Author", "Subject", "Keywords"), they are displayed incorrectly in
the properties window of the document which can be opened by selecting "File"
-> "Properties".
For example, in a PDF file whose "Author" field contains the characters "–‰"
(U+2013 U+2030), Okular displays two boxes "[NEL][PLD]" instead. Copying the
two characters reveals that they are the characters "" (U+0085 U+008B or
"NEXT LINE" and "PARTIAL LINE FORWARD"). Opening the same PDF file with Evince
3.14.1 produces the expected output ("–‰"), so the problem does not seem to be
in the PDF file itself. An example PDF file can be found at:
http://s000.tinyupload.com/index.php?file_id=22397336241734990640

Strangely, in some circumstances (which I have been unable to determine thus
far), the output in Okular is correct even if the same characters are present
in the PDF metadata. For example, if the "Author" field of the PDF file
contains "–‰‒" (U+2013 U+2030 U+2012), the characters are correctly displayed
in both Okular and Evince. An example PDF document for this phenomenon can be
found at:
http://s000.tinyupload.com/index.php?file_id=22609422767022144297

(I wasn't sure were to file this report, as it might be purely a display issue
or a problem with the PDF backend.)

Reproducible: Always

Steps to Reproduce:
1. Open a PDF file whose metadata (e.g. the "Author" field) contains (for
example) the characters "–‰".
2. Click on "File" in the menu bar and select the item "Properties".
3. Observe (in this case) the line "Author:".

Actual Results:  
(In this case:) The characters  (U+0085 U+008B or "NEXT LINE" and "PARTIAL
LINE FORWARD") are displayed.

Expected Results:  
(In this case:) The characters "–‰" (U+2013 U+2030) should be displayed.

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


More information about the Okular-devel mailing list