Bug 415834 - Inline note in PDF annotations does not change font and calculate wrong width and height
Summary: Inline note in PDF annotations does not change font and calculate wrong width...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 1.7.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: John Wright
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-03 10:58 UTC by David Martinek
Modified: 2022-06-30 07:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Picture of bug on screen (802.38 KB, image/jpeg)
2020-01-04 21:53 UTC, John Wright
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Martinek 2020-01-03 10:58:22 UTC
SUMMARY
Inline note in PDF annotations does not change font and calculate wrong width and height. When I change font in dialog for inline note, it changes only the size of text, not the font itself. 

STEPS TO REPRODUCE
0. Open PDF file in okular
1. F6 - show annotations
2. 2 - Insert inline note and write note
3. Properties from context menu (right mouse button click over the note)
4. Change font and size => only the size of text changes, not the font itself

OBSERVED RESULT
The font of the note cannot be changed. It is visible better if you change from Sans to Sans Serif or Monospace font.

Also the automatic width and height of the note are wrong. In my case, they are always smaller, that they should be. In previous version, when I clicked without dragging, the size of the note was automatically set according to the text.

EXPECTED RESULT
The properties dialog should change font and the automatic width and height of the note should be set according to the text of the note.

SOFTWARE/OS VERSIONS
Kubuntu 19.10
KDE Frameworks 5.62.0
Qt 5.12.4
Comment 1 John Wright 2020-01-04 21:53:51 UTC
Created attachment 124895 [details]
Picture of bug on screen

I use your program to display sheet music created as a pdf file.  It displays well in two programs but not in OKULAR which has trouble with the music staff lines only.  Some are thick and some thin,  It is a distraction when reading music.  Some programs do it well, but I want to use Ocular on my raspberry pi 3 and 4.  
I have tried settings but to no avail, including the settings, pdf, enhance thin lines. I tried changing fonts to san serif as suggested in bug report 415834, but I got no changes.  I took a screen shot and cleaned up the moire lines but I don't yet see how to send you a copy of the photo. I did the browse and tried to attach.  I tried changing fonts and other things but could not clean up the image.  The music notes and music text is all fine, no problem.  
If I increase magnification to 150%, the staff lines even out, but I cannot at that point see enough music to use the display.  I am displaying two pages of music on a 24" high def monitor U2419 HX, acer s241hl, HP 23er,Lenovo 65c8kcc1us,AOC i2367Fh, AOC 24B1h  these are all 1920 x 1080 monitors
Thank you for responding to my bug report 415834,  I really like your software and have 5 setups out there now, and hoping for more.
Comment 2 Oliver Sander 2020-01-06 08:07:02 UTC
Dear John, you posted your issue to an existing unrelated bug report.  Could you please open a separate report and attach an example file there?  Thanks
Comment 3 tigerjack89 2022-06-30 07:31:57 UTC
Maybe related https://bugs.kde.org/show_bug.cgi?id=456118