#964503 okular: typewriter annotation ignores configured font family

Package:
okular
Source:
okular
Description:
universal document viewer
Submitter:
Jason Woofenden
Date:
2021-03-16 14:24:03 UTC
Severity:
normal
#964503#5
Date:
2020-07-08 06:13:08 UTC
From:
To:
Dear Maintainer,

Summary: I can't get my typewriter annotation to display or print
with the font of my choice (I tried several fonts installed from
sid repo).

Steps to reproduce:

open a PDF file in okular. I created mine by running lowriter,
typing my name, then clicking print and choosing print-to-file from
the print dialog.

enable the "review" tools from the Tools menu.

Click the big T button (bottom-most tool) and then click on the
document, type, and click OK.

right-click the annotation you just made and select properties.

click the blank button to the right of "Font: [font name here]"

Choose a font that looks significantly different, eg Because We
Organize from the fonts-bwht package.

Click OK (on the font chooser dialog).

Click OK (on the annotation properties dialog).


Result: annotation still looks the same

Expectation: annotation should display in the selected font.

What does work: if you change the font size in the font chooser
dialog, the annotation does change size, it just doesn't show in
the selected font (family).



Alternate steps to reproduce:

Open a PDF file in okular.

click the "Settings" menu and then "Configure Okular" inside.

click "Annotations" on the left.

Scroll down and click "Typewriter" to highlight it then click the
"Edit..." button on the right.

As above, choose a different font and "OK" out of both dialog
boxes.

Make a new typewriter annotation as above.

Same results/expectations as above, I still don't see my chosen
font in the annotations.


Thanks! - Jason

#964503#10
Date:
2021-03-16 14:19:52 UTC
From:
To:
I am having the same issue in Ubuntu 20.04 using the latest stable snap
version.  The issue seems to exist in the Windows version as well.