Summary: | Undesired font embedded in pdf form created with Libre Office Writer | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | jean-francois.taste |
Component: | Printing and PDF export | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | cmflatscher, himajin100000, jean-francois.taste, libretraining.tutorials |
Priority: | medium | ||
Version: | 6.0.4.2 release | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Windows (All) | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=122657 | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 103378 | ||
Attachments: |
Reproducible document 1
Reproducible document 2 Original-test-document Original-odt-test-document Properties/Font tab of pdf Non form pdf Properties/Font tab pdf form properties |
Description
jean-francois.taste
2018-07-04 21:01:05 UTC
Jean, is it possible to add your .odt file? I couldn't reproduce it with an own file. Created attachment 143341 [details]
Reproducible document 1
Created attachment 143342 [details]
Reproducible document 2
I can reproduce this bug. 1. load any of the reproducible document 2. File->Export As->Export as PDF 3. In the PDF Options dialog, Check "Create PDF Form". This is very important. 4. Click Export ZapfDingbats https://opengrok.libreoffice.org/xref/core/vcl/source/gdi/pdfwriter_impl.cxx?r=a75cc634#4371 https://opengrok.libreoffice.org/xref/core/vcl/source/gdi/pdfwriter_impl.cxx?r=a75cc634#4475 Helvetica https://opengrok.libreoffice.org/xref/core/vcl/source/gdi/pdfwriter_impl.cxx?r=a75cc634#4140 Created attachment 143353 [details]
Original-test-document
Created attachment 143354 [details]
Original-odt-test-document
At least on my PC, I cannot see Helvetica nor ZapfDingbats in pdf. and I believe this is because the odt file did contain neither radio buttons, checkboxes, nor push button. the odt file is just using text box. typo: I cannot see Helvetica nor ZapfDingbats in Jean's pdf. Created attachment 143375 [details]
Properties/Font tab of pdf
You will find attached a screen copy of the properties/font tab of the above pdf simplified form (Original-test-document) showing Helvetica and ZapfDingbats embedded.
Created attachment 143376 [details]
Non form pdf Properties/Font tab
You will find attached a screen copy of the properties/font tab of the pdf created as a standard pdf from the Original-odt-test-document. This picture shows that there is only Trebuchet font included, but no Helvetica or ZapfDingbats embedded.
It seems to me that only the export as a form adds these two fonts.
Regards
Jean-François
resetting to UNCONFIRMED Created attachment 143387 [details]
pdf form properties
You will find here attached a screen copy of the pdf form created with the original-odt-test-document.
Showing that Helvetica and ZapfDingbats are present in the pdf file.
I don't understand why the status has been changed to unconfirmed as I sent properties/Font copy showing Helvetica and ZapfDingbats in the pdf form Can you please explain me ? regards PS : sorry, I didn't view my 2 previous comments and thought that they were not sent. (In reply to jean.francois.taste from comment #14) > I don't understand why the status has been changed to unconfirmed as I sent > properties/Font copy showing Helvetica and ZapfDingbats in the pdf form > Can you please explain me ? > regards > > PS : sorry, I didn't view my 2 previous comments and thought that they were > not sent. The bug should be confirmed by another person than the reporter for the NEW status, and I first set to NEW status as such a person, thinking I was able to reproduce the bug myself by placing either checkbox, radio buttons, push buttons and take a look at the produced pdfs with my PDF-XChange. I thought those are the only controls that reproduces the situation with the source code pointer in comment 5 However, as given in comment 9 and in your attachements, later it turned out that you were able to reproduce the bug even without those controls. Here I came to think that what I'm seeing is not necessarily from the same cause as yours. That's why I set back to UNCONFIRMED status. I was able to reproduce thedescribed behaviour with attachment 143354 [details] from comment 7 (there was some Colibiri Font within the document so first I changed all to Trebuchet MS). I'm no expert in PDFExport, but I change the status to NEW, that means, that it is reproducible. *** Bug 122657 has been marked as a duplicate of this bug. *** Very easy for me to reproduce in 7.1.1.2, Lubuntu 18.04. Start Writer, add a Text Box, then Export as PDF. ("Create Form" should already be checked.) That's all. If you use the utility pdffonts on the PDF, you will see that Helvetica is in there. I am not using Helvetica, but it was in there anyway. This is closely related to another problem I'm having. I can't set the font that I want in the Text Box. If you look at Control Properties for the Text Box, under the General tab, the font is "(Default)" whatever that is. Perhaps that default is Helvetica? Changing the font there has no effect on the PDF. The font change works within Writer, but has no effect on the PDF form. Rule of thumb is search before reporting and confirming. Please read duplicate bug. *** This bug has been marked as a duplicate of bug 50879 *** |