[okular] [Bug 451567] Text annotations made in Okular are not correctly displayed when the resulting PDF file is opened with other PDF readers

Mikael bugzilla_noreply at kde.org
Thu Mar 17 13:28:57 GMT 2022


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

--- Comment #2 from Mikael <mikael at openstudio.se> ---
@Albert Astals Cid: Thank you for looking into my bug repport!

My testing suggests rotation issues of Typewriter and Inline note annotations
was resolved after upgrading my computer yesterday. I can not reproduce
rotation issues anymore.
Maybe some of my testing was on Okular 21.08 in the morning and the Flatpak was
then upgraded to 21.12.3 during the day, but I am not sure.

Issues that I can still reproduce are:
- Changing annotation text font face in Okular does not actually change the
font face (only the font size can be changed).
- Changing the Typewriter annotation text font color in Okular only changes the
color when viewing in Okular, but in other viewers the text color is always
black.
- The top padding in text annotation objects is to small in Okular and the
result is that non-english characters (with something above the actual
character) are cropped on the first line.
  This seems to be a display-only issue in Okular because in other viewers
(with decent padding) the same text annotations displays correctly on the first
line.
- Okular generally creates to little padding around its text objects, because
text annotations from Okular is often cropped at the end of the lines when
viewed in another viewer. Multi line text annotations are often cropped at the
bottom as well.
  This is possibly also triggered due to Okular failing to use the selected
annotation font face (or to attach the annotation font with the PDF) because if
the annotation text is made bigger in Okular, then it will still be shown with
a (default?!) font size in other viewers (while the text containing box remains
the same size) and the lines will not be cropped at the end anymore.

I will attach the original and the annotated PDF i used for testing today. I
will also attach two screen-shots of the annotated pdf; one from viewing it in
Okular and one from viewing it with the https://pdf.online/ web-app. Note that
my testing shows that the display in the pdf.online web-app is very similar to
the display in Adobe Acrobat reader. Exactly the same issues are present when
viewing the annotated PDF from Okular in both these other viewers; the text
objects are even cropped at exactly the same places.

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


More information about the Okular-devel mailing list