Summary: | PDF: In-line annotation font face is always the same | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | chris.taylor |
Component: | PDF backend | Assignee: | Okular developers <okular-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | aacid, chris.taylor, mikael, Vdragon.Taiwan |
Priority: | NOR | ||
Version: | 0.19.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=330527 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
chris.taylor
2014-05-02 09:03:05 UTC
Correct, poppler doesn't support specifying which font it should use for annotations so it always uses the same. If you annotate a ps file it works, and also changing the font size also works. This will need someone adding that feature to poppler first so do not hold your breath. Should I file a bug report against Poppler then? Sure I have similar issue(CJK characters in inline annotations are not rendered), is the bug report in poppler filed? OK I found the Poppler bug report, just for anyone's convenience. Bug 65956 – okular does not show non-latin characters in inline notes https://bugs.freedesktop.org/show_bug.cgi?id=65956 A second issue caused by this is that the font used by Okular for Typewriter and Inline note annotations obviously requires less space compared to the substituted font in other readers, such as Adobe Acrobat reader or pdf.online web-app. The result is that text boxes created around on-screen text annotations in Okular is to small for the text inside them when viewed in another viewer. A way to handle this better in Okular until custom fonts are supported by Poppler is to use a (much) more space consuming font face for annotations in Okular, or to increase the padding arround Typewriter and Inline note annotations in Okular. My testing suggest that today you need to set the font size in Okular to at least '12' (in contrast to default '9') in order to avoid cropping (for longer lines or multi-line annotations) when the font face used by Okular/Poppler is substituted to another default font face and font size in other PDF readers. |