This thread is heavily edited for consistency.
Case:
I created a "PDF form" of a "form document" (.odt) on a Linux LO installation.
On my system:
The PDF form was displaying fine on my PDF reader (Evince).
The PDF form was displaying fine on Adobe Reader 9.
On a Windows system
The PDF from was displaying dots (...) instead of the text on the Text box, List, Combo list, etc., and user input on the empty fields was not possible.
[Solved] PDF Form document on Linux - ADOBE trickery
[Solved] PDF Form document on Linux - ADOBE trickery
Last edited by nomnex on Wed Dec 05, 2012 5:51 am, edited 3 times in total.
Re: Font style problem on Form documents
See below for the anwer
Last edited by nomnex on Wed Dec 05, 2012 4:32 am, edited 1 time in total.
Re: Font style problem on Form documents
For real life reasons I haven't had time to look at your files, but have you tried exporting as PDF/A-1a, which I understand does embed fonts? It is my understanding that PDF normally embeds the font metric, rather than the font itself, and the reader application matches the metric to its available fonts. A quick Google suggests that some fonts are designed not to embed, or if embedded, do not print correctly.nomnex wrote:From my understanding a PDF document always embed the fonts, to display them correctly on a system where the fonts are not installed. And it seems it does, since only the input fields of the controls display dots (...).
| Edit: Later: On Win XP using Adobe Reader 8.1 I get "Cannot find or create the font Liberation Sans. Some characters may not display or print correctly." The dots are displayed. Display is OK on Ubuntu 12.04 using Evince. Both Adobe Reader and Evince are reporting the LiberationSans is subset embedded, and also not embedded. Even later: Downloading your Frutiger .odt file and exporting as .pdf/A-1a on my system (without Frutiger font installed) it defaults to DejaVu Sans and displays perfectly on a nearby Win 2k system using Adobe Reader. It reports only the one font. |
Apache OpenOffice 4.1.17 on Xubuntu 26.04.1 LTS
Re: Font style problem on Form documents
See below for the answer
Last edited by nomnex on Wed Dec 05, 2012 4:33 am, edited 1 time in total.
Re: Font style problem on Form documents
I have no experience with generating PDF forms; my instinct is that you may need to use a different method to generate your fillable forms - perhaps a virtual PDF printer installed on your linux system. Googling suggests that this might be a path to follow. If the use of a particular font is causing problems, I'd forget about using it; after all, you are only generating a form to gather information, not an illuminated manuscript.
Apache OpenOffice 4.1.17 on Xubuntu 26.04.1 LTS
Re: [Solved] Form document PDF on Linux - ADOBE trickery
Well, thanks to RoyOF's trials and explanation, the answer is simple: Adobe Reader/Acrobat will not recognize an Open Source font set in a control field...
I was wondering why I could open and fill-in a PDF form document send to me (on Linux) from a Windows system, and not the way around. It's the first time I was sending a PDF form document to a Windows system (using Adobe) and I was baffled.
Talk about openness (or bitterness):
A PDF form document created on a AOO/LO Windows installation, using the default font, will open fine in Adobe Reader on Linux.
A PDF form document created on a LO Linux installation, using the default font, will not display correctly in Adobe Reader on Windows.
You have to use some Microsoft fonts (mandatory) if you need to send your PDF form to a Windows system...
Using the Microsoft's core fonts http://sourceforge.net/projects/corefon ... nts/final/ fixed the problem.
This PDF form document attached should display fine in Adobe Reader on Windows (I have yet to try on a Mac).
I was wondering why I could open and fill-in a PDF form document send to me (on Linux) from a Windows system, and not the way around. It's the first time I was sending a PDF form document to a Windows system (using Adobe) and I was baffled.
Talk about openness (or bitterness):
A PDF form document created on a AOO/LO Windows installation, using the default font, will open fine in Adobe Reader on Linux.
A PDF form document created on a LO Linux installation, using the default font, will not display correctly in Adobe Reader on Windows.
You have to use some Microsoft fonts (mandatory) if you need to send your PDF form to a Windows system...
Using the Microsoft's core fonts http://sourceforge.net/projects/corefon ... nts/final/ fixed the problem.
This PDF form document attached should display fine in Adobe Reader on Windows (I have yet to try on a Mac).
Re: [Solved] PDF Form document on Linux - ADOBE trickery
For Information: This following URL suggests that Fontographer conversions do not always work correctly on some operating systems
https://groups.google.com/forum/?hl=en& ... _mRX-8P1Rk
and specifically mentions Frutiger ttf files as being faulty.
https://groups.google.com/forum/?hl=en& ... _mRX-8P1Rk
and specifically mentions Frutiger ttf files as being faulty.
Apache OpenOffice 4.1.17 on Xubuntu 26.04.1 LTS
Re: [Solved] PDF Form document on Linux - ADOBE trickery
My Adobe fonts are .odf, and I can reproduce the problem with any of my .ttf open source fonts.
This would be very close to what I have experienced (see URL below) at the difference that: any PDF document display correctly, on any system, and on any PDF reader. Even when it's a PDF form documents--at the exception of the input field on the forms (i.e. the objects).
http://blog.davekoelmeyer.co.nz/2011/07 ... ated-pdfs/
I'd think there is no Adobe trickery
but it might the OOo implementation of the AcroForms (AcroForms permit using objects (e.g. text boxes, Radio buttons, etc.). And it could date back from Sun, at a time when the primary target where Windows systems? I lean toward this explanation because, since I installed a Windows font, the "Form Controls" use that Windows font as a default.
Anyway, I don't know about the Base module (they use the same type of controls I guess) but so far, as long as a Writer Form document has to be exported as a PDF document, I will use a Windows font. This is probably irrelevant if the form document is sent as a .odt.
Now, if my comment is pure non-sense, I am glad to be taught.
This would be very close to what I have experienced (see URL below) at the difference that: any PDF document display correctly, on any system, and on any PDF reader. Even when it's a PDF form documents--at the exception of the input field on the forms (i.e. the objects).
http://blog.davekoelmeyer.co.nz/2011/07 ... ated-pdfs/
I'd think there is no Adobe trickery
Anyway, I don't know about the Base module (they use the same type of controls I guess) but so far, as long as a Writer Form document has to be exported as a PDF document, I will use a Windows font. This is probably irrelevant if the form document is sent as a .odt.
Now, if my comment is pure non-sense, I am glad to be taught.