In Okular 1.3.3 I freqently am using the tools for annotations. It is very nice to have them as they are very usable to annotate many kind of documents. But there is a problem with the permanently visible notes. If I put such notes some where in some document and write some thing in such notes, then when I finish, my text is shown with too small letters and because of this stay difficult to read. For example, if I write text in such note with a Noto Sans 72 font, then on the screen, the text is visible in font size as written text with Arial 12. If I write text in such note with same Noto Sans font with size 12, then in the note on the screen my text is visible so small that reading it is impossible. So please if possible make if in the adjustments will be chosen some font with some size to see the text in the permanent notes with the expected size of the letter for this font.
(In reply to kiv from comment #0) > In Okular 1.3.3 I freqently am using the tools for annotations. > It is very nice to have them as they are very usable to annotate many kind > of documents. Just to be sure, are you talking about "inline notes" (second from top in the F6 tools menu)? > But there is a problem with the permanently visible notes. If I put such > notes some where in some document and write some thing in such notes, then > when I finish, my text is shown with too small letters and because of this > stay difficult to read. > > For example, if I write text in such note with a Noto Sans 72 font, then on > the screen, the text is visible in font size as written text with Arial 12. > If I write text in such note with same Noto Sans font with size 12, then in > the note on the screen my text is visible so small that reading it is > impossible. I can't reproduce it, have tried in Okular 1.1.3 and in latest from git master. Is it possible for you to try the latest okular (+poppler) versions? Anyway, the behavior can depend on a number of things. Is your document a pdf, or another format? Do you have a hidpi screen? fontconfig setup and installed system fonts will also matter. That's distro specific. I've got no OpenSUSE around atm, so can't test, sorry. If pdf, what's your poppler version? What does $ fc-match -s "Helvetica:size=72" --format="%{family} %{size}\n" | head give on your system? I ask because poppler will try to get a substitute for Helvetica, regardless which font you select in Okular. That's due to https://bugs.freedesktop.org/show_bug.cgi?id=81748. Font matching inside poppler is actually more complex, but maybe that command already gives a hint. > So please if possible make if in the adjustments will be chosen some font > with some size to see the text in the permanent notes with the expected size > of the letter for this font. After all, it should already work. We can try to narrow down, but it might be a issue that needs to be reported to the openSUSE guys.
yes, I an talking about the second from the top annotation tool. The first one creates closed note, and the second one permanently open note. I am using openSUSE Leap 15 and this version is coming from their repository. I will try to check this in some other installation, probably in Linux Mint. I am using some PDF and DJVU manuals to prepare my self for some certifications. So I am annotating inside some things. 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. 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. This is the result, you have asked for: > fc-match -s "Helvetica:size=72" --format="%{family} %{size}\n" | head TeX Gyre Heros 72 TeXGyreHeros 72 Arial 72 Arial 72 Arimo 72 Liberation Sans 72 Liberation Sans 72 Verdana 72 Roboto 72 Noto Naskh Arabic 72 After all my biggest problem with these notes is that in PDF's Cyrillic letters are missing. All other is manageable. It is not so difficult to change the font size if needed. If this problem will be SUSE specific I will report it also in openSUSE.
(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?
Dear Tobias, Thank you very much for your information and to all team who are creating and supporting Okular. Okular is a very good tool and I believe it will get much better in future. I am thankful for the chance to have and use it. So after all this discussion I understood that missing Cyrillic letters is known problem and it will be solved in the future. Other problem - the size of letters may be managed. So I believe this my bug report can be closed now. At least some one like me if has same problems can later read in and get informed why in PDFs notes Cyrillic text is missing for now. With best regards,
Closing at reporter's "request". Using Invalid because there's not a status i found made sense for this closing.