Apache OpenOffice (AOO) Bugzilla – Issue 106572
PDF export: problem with Type1 embedding
Last modified: 2017-05-20 10:29:19 UTC
Open the bugdoc under linux and export it to pdf. Watching it with acrobat reader shows circles instead of characters in front of the sausage. This worked in 3.1.1.
Created attachment 65883 [details] bugdoc
Created attachment 65884 [details] pdf from 3.1.1
Created attachment 65885 [details] pdf from m3
sj->pl:Can you please take a look, for text DrawTextArray action is called at the PDFWriter, I don't know how why this is not taken as simple text in the pdf output.
There is a font missing in the PDF; the font used in the document is "URW Palladio L". The other font used in the document "Liberation Sans" got replaced (by font substitution it would seem) got replaced by "Albany"); however "URW Palladio L" got no replacement at all and goes missing in the PDF. On some platforms the reader replaces this by Helvetica which can work since Palladio probably was more or less iso8859 encoded. However I'd have expected at least SOME font as a replacement for a completely unknown font; it seems this is not the case which makes us end up with encoded characters in the PDF that have a missing font. pl->hdu: please have a look. pl->wg: in itself this is probably not a 3.2 blocker IMHO (it's always best to use fonts for PDF export that you actually have on your system), but if the font substitution fails more generally we probably would get a lot of duplicates, making this 3.2 worthy after all.
Interesting. The mentioned Type1 is in the PDF but there is something wrong with the embedding. Analyzing.
That is a nasty issue that IMHO deserves a OOo32 target: Some of the FontDescriptor lines are missing in the PDF so though the fonts are embedded they are not referenced.
Fixed in CWS ooo32gsl04
@hi or @wg: please verify in CWS ooo32gsl04 Testing hint: test printing and PDF-export with Type1, TTF and PS-OTF fonts.
Reassigned to WG.
Verified in CWS ooo32gsl04.