Bug 143110 - font in text box not exported to PDF
Summary: font in text box not exported to PDF
Status: RESOLVED DUPLICATE of bug 145553
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-28 20:43 UTC by Brenton Chapin
Modified: 2022-07-28 12:58 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brenton Chapin 2021-06-28 20:43:01 UTC
Description:
In a PDF form, text entry fields can have their own fonts.  LibreOffice Writer lets the user choose the font.  But the user's choice is not exported to the PDF form that Writer creates.  Instead, the font in the PDF text entry field is always Helvetica.

Steps to Reproduce:
1. Make a text box.  (Form -> Text Box)
2. Right click on the text box, choose "Control Properties".  (Design Mode must be checked)
3. Under the "General" tab is an option "Font" which has "(Default)" for the initial setting.  Change the font to anything that is not by default in PDF, such as Lucida Handwriting.
4. Export to PDF.  With a PDF viewer that supports forms, read the resulting PDF file. Enter some text into the field.

Actual Results:
The user entered text is in the Helvetica font, when it should be Lucida Handwriting, or whatever other font was chosen in step 3.

Expected Results:
The user entered text should be in the font that the user chose.  I checked that PDF does support the ability to set the fonts of the text entry fields.  Each field can be in a different font.  Can change the fonts with a pay version of Acrobat.


Reproducible: Always


User Profile Reset: No



Additional Info:
I have examined the LibreOffice source code, and it looks like setting the font of a PDF text entry field simply wasn't implemented.

Reason for wanting this is to make "esignable" documents-- that's e-signatures, not digital signatures.  Digital signatures are a total pain to do, with what basically amounts to being forced to get signatures countersigned, by a trusted authority.  I just want to set the font of the text entry field for a signature to one that looks like handwriting.  Yes, I know, it's a really lame way to "sign" a document, utterly lacking in verifiability, but for now the business world runs with that.
Comment 1 m_a_riosv 2021-06-28 21:23:48 UTC
Looks like a duplicate.

Please if you are not agree reopen the bug.

*** This bug has been marked as a duplicate of bug 126687 ***
Comment 2 m_a_riosv 2021-06-28 21:24:29 UTC
Looks like a duplicate.

Please if you are not agree reopen the bug.
Comment 3 Timur 2022-07-28 12:58:26 UTC
Yes duplicate, but of the other bug.

*** This bug has been marked as a duplicate of bug 145553 ***