http://bugs.winehq.org/show_bug.cgi?id=31662
Bug #: 31662 Summary: Office 2010 font embedding when exporting to PDF Product: Wine Version: 1.5.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: dan.raviv@gmail.com Classification: Unclassified
Created attachment 41630 --> http://bugs.winehq.org/attachment.cgi?id=41630 docx and Office 2010 exported pdfs
When exporting office files to PDF using Office 2010 on Wine, the fonts don't get embedded in the resulting PDF. This is in contrast to the behavior on Windows where the fonts are embedded correctly.
After replacing t2embed.dll with a version from windows, the embedded font entry is created in the PDF, *but* is effectively empty:
5 0 obj <</Type/Font/Subtype/TrueType/Name/F1/BaseFont/ABCDEE+Calibri/Encoding/WinAnsiEncoding/FontDescriptor 6 0 R/FirstChar 32/LastChar 55/Widths 17 0 R>> endobj 6 0 obj <</Type/FontDescriptor/FontName/ABCDEE+Calibri/Flags 32/ItalicAngle 0/Ascent 750/Descent -250/CapHeight 750/AvgWidth 521/MaxWidth 1743/FontWeight 400/XHeight 250/StemV 52/FontBBox[ -503 -250 1240 750] /FontFile2 18 0 R>> 18 0 obj <<>> endobj
Note the empty object 18.
Suspecting the issue is in wineps.drv.