Created attachment 166300 [details] ODT document with form Steps to reproduce: 1. Have a writer document 2. Have the default font set to Liberation Sans 3. Add some form (text field) 4. Export document as PDF (try different options, e.g. PDF/A-1b or PDF/A-2b What happens: Exported PDF misses form font What should happen: PDF must contain all fonts, even for forms. Additional info: It looks like bug #50879 is here again. Version info: Version: 6.4.6.2 Build ID: 6.4.6.2-3.fc32 CPU threads: 2; OS: Linux 5.8; UI render: default; VCL: gtk3; Locale: de-DE (C); UI-Language: en-US Calc: threaded
Created attachment 166301 [details] PDF exported from ODT with PDF export button
Created attachment 166302 [details] PDF/A-2 exported from ODT using "export as" dialog
Created attachment 166303 [details] PDF/A-1 exported from ODT using "export as" dialog
PDFFonts info: $ pdffonts ./libreoffice\ pdffonts.pdf name type encoding emb sub uni object ID ------------------------------------ ----------------- ---------------- --- --- --- --------- BAAAAA+LiberationSerif TrueType WinAnsi yes yes yes 14 0 LiberationSans TrueType WinAnsi no no no 16 0 Same info is there in Evince. This bug basically renders the PDF/A export invalid for any document with forms.
I tried to find a workaround, but each attempt failed, PDF Document still does not have the font contained. 1. Use the font of the form somewhere else in the document so it needs to get exported. 2. In File -> Properties -> Fonts, enforce saving the font to the ODT document. Then export as PDF.
Bug 50879 has been fixed for LO 7.1. I think this one is a duplicate.
Please retest in 7.1 to see if the issue is acceptable. Note the comments in bug 50879 that indicate that embedding an entire font in a PDF normally is not considered acceptable - for obvious size reasons. So please check if the workaround of forcing the edit text to be one of the standard fonts is acceptable.
I'm not clear about connection PDF/A and embedding fonts. What PDF/A means for forms. Also font licence should be considered.
Based on my shallow understanding of PDFA and Help, I set New. Because Help F1 on PDF Export confirms that all fonts used should be embedded. And they are not.
The issue is still present with LibreOffice 7.2.5.2.0. According to pdffonts, the empty font is now gone completely: $ pdffonts ./libreoffice\ pdffonts\ a-1.pdf name type encoding emb sub uni object ID ------------------------------------ ----------------- ---------------- --- --- --- --------- BAAAAA+LiberationSerif TrueType WinAnsi yes yes yes 11 0 This means that there is not even a single character of LiberationSans used as forms font. (In reply to Robert Großkopf from comment #6) > Bug 50879 has been fixed for LO 7.1. I think this one is a duplicate. Sorry, but it is not. (In reply to Justin L from comment #7) > Please retest in 7.1 to see if the issue is acceptable. Note the comments in > bug 50879 that indicate that embedding an entire font in a PDF normally is > not considered acceptable - for obvious size reasons. So please check if the > workaround of forcing the edit text to be one of the standard fonts is > acceptable. I don't know whether the workaround is acceptable because I don't know how to do this. Or does LO do this my itself?
*** Bug 153278 has been marked as a duplicate of this bug. ***