Bug 363768 - Font size is changed when form value is modified
Summary: Font size is changed when form value is modified
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 1.3.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2016-06-01 02:33 UTC by Konstantin Svist
Modified: 2023-08-29 18:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
test file #1 (43.82 KB, application/pdf)
2016-06-01 02:33 UTC, Konstantin Svist
Details
test file #2 (44.17 KB, application/pdf)
2016-06-01 02:33 UTC, Konstantin Svist
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Svist 2016-06-01 02:33:18 UTC
Created attachment 99294 [details]
test file #1

Open the test file and note the font sizes of the pre-filled form fields.
Try to update a text field with a short text string -- font size becomes changed. Also, the new size is too big to fit (unless a long string of text is entered -- then font size becomes tiny -- however, that behavior is expected when font size is "auto"). Even if text value is changed to the original, font size stays too big.

Try entering letters that have descenders: g,j,p,q,y -- they appear cut off.

The behavior is especially bad in a list box. Try selecting item 3 -- it disappears because Item 1 becomes so big

Note: in test file #2, the font sizes are fixed - that works around this bug. However, there should be no reason to cut off some letters in "auto" mode.
Comment 1 Konstantin Svist 2016-06-01 02:33:41 UTC
Created attachment 99295 [details]
test file #2
Comment 2 Carl-Daniel Hailfinger 2016-10-06 15:46:41 UTC
This is related to bug #246196.
Comment 3 Sebastian 2018-11-17 19:23:57 UTC
Hello,

I can reproduce this behavior.

Note: I am no maintainer but from the KDE Bugsquad.

Tested on okular 1.3.3