Discussion:
[Okular-devel] [Bug 246196] New: When filling in forms, make it possible to set the font size of the forms
Michael
2010-07-29 21:05:58 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

Summary: When filling in forms, make it possible to set the
font size of the forms
Product: okular
Version: unspecified
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: okular-devel at kde.org
ReportedBy: Prescience500 at gmail.com


Version: unspecified (using KDE 4.4.5)
OS: Linux

When filling in forms using Okular, there is no way to change the font size.
This is unfortunate because after the text fills up the form, the rest of the
text is cut off.

Reproducible: Always

Steps to Reproduce:
1) Open document
2) Click on "Show Forms"
3) Fill in form

Actual Results:
There's no way to change the font size and sometimes there isn't enough room to
fit all of the text inside the form.

Expected Results:
There should be a way to change the font size to ensure that your text can fit
inside the forms.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Morten Sjoegren
2011-09-05 19:14:33 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196


Morten Sjoegren <kdestuff at mabs.dk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |kdestuff at mabs.dk




--- Comment #1 from Morten Sjoegren <kdestuff mabs dk> 2011-09-05 19:14:33 ---
I can confirm this problem, I thinks poppler who is to blame since evince does
the same thing.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
qingping hou
2012-03-28 01:04:59 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

qingping hou <dave2008713 at gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |dave2008713 at gmail.com

--- Comment #2 from qingping hou <dave2008713 at gmail.com> ---
Confirmed under KDE 4.8.1, Okular 0.14.1. The font is too large when I was
trying to fill one of my PDF file, which makes it unusable. :(
--
You are receiving this mail because:
You are the assignee for the bug.
Dan
2013-06-19 07:17:18 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

--- Comment #3 from Dan <rozelak at volny.cz> ---
Created attachment 80625
--> https://bugs.kde.org/attachment.cgi?id=80625&action=edit
The example of wrong formatting of form texts

Confirming for okular 0.16.1 from KDE 4.10.2.

The texts were:
1st line:
Text, Speech and Dialogue. Proceedings of
the 16th International Conference TSD 2013, Plzen, Czech Republic,
September 2013

2nd line:
Vaclav Matousek et al

3rd line:
University of Vest Bohemia, Univerzitni 8, 30614Plzen
--
You are receiving this mail because:
You are the assignee for the bug.
Dan
2013-06-19 07:18:00 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

--- Comment #4 from Dan <rozelak at volny.cz> ---
Created attachment 80626
--> https://bugs.kde.org/attachment.cgi?id=80626&action=edit
The form filled in the previous example
--
You are receiving this mail because:
You are the assignee for the bug.
a***@gmail.com
2014-10-26 18:46:34 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

***@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.
| |com
--
You are receiving this mail because:
You are the assignee for the bug.
Tristan Miller via KDE Bugzilla
2016-01-04 10:42:03 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

Tristan Miller <***@nothingisreal.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |CONFIRMED

--- Comment #5 from Tristan Miller <***@nothingisreal.com> ---
*** This bug has been confirmed by popular vote. ***
--
You are receiving this mail because:
You are the assignee for the bug.
Anderson Medeiros Gomes via KDE Bugzilla
2016-02-05 03:24:08 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

Anderson Medeiros Gomes <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are the assignee for the bug.
Carl-Daniel Hailfinger via KDE Bugzilla
2016-10-08 19:19:56 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

Carl-Daniel Hailfinger <c-***@gmx.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |c-***@g
| |mx.net

--- Comment #6 from Carl-Daniel Hailfinger <c-***@gmx.net> ---
In this bug, the form fields have no font size (size 0) specified, and no
prerendered appearance exists for the fields in question.

Bug #363768 is related. In Bug #363768, the font size in the prerendered
appearance /AP object is not used as a hint for font size selection. Given that
solving this bug #246196 would also allow to work around bug #363768, I'm
setting #246196 as blocker for #363768.
--
You are receiving this mail because:
You are the assignee for the bug.
Luigi Toscano via KDE Bugzilla
2016-10-08 20:35:14 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

Luigi Toscano <***@tiscali.it> changed:

What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.kde.org/show_b
| |ug.cgi?id=363768
CC| |***@tiscali.it

--- Comment #7 from Luigi Toscano <***@tiscali.it> ---
(In reply to Carl-Daniel Hailfinger from comment #6)
Post by Carl-Daniel Hailfinger via KDE Bugzilla
In this bug, the form fields have no font size (size 0) specified, and no
prerendered appearance exists for the fields in question.
Bug #363768 is related. In Bug #363768, the font size in the prerendered
appearance /AP object is not used as a hint for font size selection. Given
that solving this bug #246196 would also allow to work around bug #363768,
I'm setting #246196 as blocker for #363768.
They are related, but you can solve 363768 without 246196. So no blocker, but I
can fill the "See also" field.
--
You are receiving this mail because:
You are the assignee for the bug.
Carl-Daniel Hailfinger via KDE Bugzilla
2016-10-08 23:23:15 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

--- Comment #8 from Carl-Daniel Hailfinger <c-***@gmx.net> ---
Working on this... right now I can set a max font size for forms where the font
size is not specified. No GUI, and still requires recompilation of libpoppler
if you want a different size. Then again, that's probably a lot better than
nothing.
--
You are receiving this mail because:
You are the assignee for the bug.
Carl-Daniel Hailfinger via KDE Bugzilla
2016-10-09 00:15:09 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

--- Comment #9 from Carl-Daniel Hailfinger <c-***@gmx.net> ---
Created attachment 101493
--> https://bugs.kde.org/attachment.cgi?id=101493&action=edit
Hardcode a reasonable default max font size for form fields if autosize=on

This patch solves the immediate problem for me, but obviously hardcoding a max
font size of 12 for all form fields with unspecified font size is not optimal
for everyone.

Options are either a setting per form field, or a global setting. Given that
most forms are designed for uniform font size, a global setting is probably
sufficient and simplifies the UI.

If anyone knows poppler well enough to make this a settable attribute of the
document instead of a hardcoded constant in two functions, please tell me.
--
You are receiving this mail because:
You are the assignee for the bug.
Albert Astals Cid via KDE Bugzilla
2016-10-09 15:37:36 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

Albert Astals Cid <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@kde.org

--- Comment #10 from Albert Astals Cid <***@kde.org> ---
Please reviewboard.kde.org for patches
--
You are receiving this mail because:
You are the assignee for the bug.
Carl-Daniel Hailfinger via KDE Bugzilla
2016-10-09 16:03:54 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

--- Comment #11 from Carl-Daniel Hailfinger <c-***@gmx.net> ---
Which component?
--
You are receiving this mail because:
You are the assignee for the bug.
Albert Astals Cid via KDE Bugzilla
2016-10-09 20:23:01 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

--- Comment #12 from Albert Astals Cid <***@kde.org> ---
okular?
--
You are receiving this mail because:
You are the assignee for the bug.
Albert Astals Cid via KDE Bugzilla
2016-10-09 20:23:28 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

--- Comment #13 from Albert Astals Cid <***@kde.org> ---
Oh that's a patch for poppler, then what about using the poppler bugtracker?
--
You are receiving this mail because:
You are the assignee for the bug.
Carl-Daniel Hailfinger via KDE Bugzilla
2016-10-09 20:51:38 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

--- Comment #14 from Carl-Daniel Hailfinger <c-***@gmx.net> ---
Patch for poppler is now in https://bugs.freedesktop.org/show_bug.cgi?id=60836
--
You are receiving this mail because:
You are the assignee for the bug.
Sebastian
2018-11-17 19:20:06 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

Sebastian <***@tum.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@tum.de

--- Comment #15 from Sebastian <***@tum.de> ---
Migrated Bug report in poppler:
https://gitlab.freedesktop.org/poppler/poppler/issues/284

As far as I can tell and test the bug still exists and is not fixed yet.
--
You are receiving this mail because:
You are the assignee for the bug.
Sebastian
2018-11-17 19:37:07 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=246196

Sebastian <***@tum.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@drmartinus.de

--- Comment #16 from Sebastian <***@tum.de> ---
*** Bug 372581 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
Continue reading on narkive:
Loading...