Bug 508668 - Typewriter annotations font automatically changes after saving the PDF.
Summary: Typewriter annotations font automatically changes after saving the PDF.
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (other bugs)
Version First Reported In: 23.08.1
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-24 03:21 UTC by goodposter038
Modified: 2025-08-24 14:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description goodposter038 2025-08-24 03:21:58 UTC
STEPS TO REPRODUCE
1. Open any pdf. 
2. Click on the typewriter tool and add a new freetext annotation.
3. Right click on it> properties, change the font to anything else than MS Shell Dig 2.
4. Now save the pdf. Although the visible font for the annotation remains the same but right click on the annotation, now you will notice that font is stated as "MS Shell Dig 2".

OBSERVED RESULT
Font is stated as "MS shell Dig 2".

EXPECTED RESULT
The actual Font should have been stated.

SOFTWARE/OS VERSIONS
Windows 11 23H2
Okular Version 23.08.1
KDE Frameworks Version 5.109.0
Qt Version 5.75.10 (built against 5.15.10)
Comment 1 goodposter038 2025-08-24 14:05:34 UTC
(In reply to goodposter038 from comment #0)
> STEPS TO REPRODUCE
> 1. Open any pdf. 
> 2. Click on the typewriter tool and add a new freetext annotation.
> 3. Right click on it> properties, change the font to anything else than MS
> Shell Dig 2.
> 4. Now save the pdf. Although the visible font for the annotation remains
> the same but right click on the annotation, now you will notice that font is
> stated as "MS Shell Dig 2".
> 
> OBSERVED RESULT
> Font is stated as "MS shell Dig 2".
> 
> EXPECTED RESULT
> The actual Font should have been stated.
> 
> SOFTWARE/OS VERSIONS
> Windows 11 23H2
> Okular Version 23.08.1
> KDE Frameworks Version 5.109.0
> Qt Version 5.75.10 (built against 5.15.10)

Hey, this bug is even more serious and problematic!!
Because I just noticed that If I move a freetext annotation (for which MS shell Dig 2 font is stated), then the font gets automatically changes to MS shell Dig 2. This behavior basically makes using different fonts for freetext annotations impossible in okular!!! 
I hope this bug gets resolved as soon as possible.