[okular] [Bug 397116] Text in permanently visible notes from the tools is shown too small, difficult to read

Tobias Deiminger bugzilla_noreply at kde.org
Sat Aug 4 22:46:32 BST 2018


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

--- Comment #3 from Tobias Deiminger <haxtibal at posteo.de> ---
(In reply to kiv from comment #2)
> As my language uses Cyrillic letters I found that following:
> 1. By annotating the PDF. The text written in Cyrillic is available when I
> edit the note and is missing after it. 
> I am sure in the PDF Cyrillic fonts are available, as this PDF is written on
> Engilsh and in Cyrillic too.
> Also the size of the letters is correct.

You see the English and Cyrillic text because it was written with a PDF tool
that correctly embedded a font and setup an encoding. When you create a new
inline note in Okular, our PDF renderer Poppler gets in charge of doing the
same for your note. But it's not yet implemented, the before mentioned Poppler
bug 81748 is quite related. Poppler ignores your font right away and internally
forces it to Helvetica Type0 WinAnsiEncoding (it gets then substituted with TeX
Gyre Heros in a second step on your system). We're currently evaluating how to
fix the bug, but it's quite tough, esp. when it comes to non-latin characters
and embedding fonts.

> 2. In DJVU files the letters are visible as expected when editing the note
> and after it. This document is scanned and after it has OCR on English.
> But in these documents the problem with small size of letters is available
> as I have reported it already.
> 
> Yws I am using high dpi screen.

So that's a different issue. For DjVu, inline notes are rendered by Okular
itself (PagePainter::paintCroppedPageOnPainter, "Mixed Flow").

As your font is always to small by a constant factor, and you have a hidpi
setup, it smells a lot like hidpi issue. I've got no hidpi screen and am not
that experienced with it, anybody here to confirm the issue or help out?

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


More information about the Okular-devel mailing list