Office Word 2010: Can't save as PDF with embedded fonts

Questions about Wine on Linux
Locked
Dillon Holeman
Level 2
Level 2
Posts: 15
Joined: Mon Sep 16, 2013 5:11 pm

Office Word 2010: Can't save as PDF with embedded fonts

Post by Dillon Holeman »

I tried out the "save as PDF" function in Word 2010, and it did generate a PDF, but it converted all the text to a (bitmap?) image. The text is displayed much more "jagged" in the PDF, and the text is not searchable.

I then tried using the "ISO 19005-1 compliant (PDF/A)" option when saving, which should prevent conversion of text to bitmap and force font embedding, but I just got a popup error message "This file could not be found" and the save failed.

What must I do so I can save my Word documents as searchable PDFs?
Dillon Holeman
Level 2
Level 2
Posts: 15
Joined: Mon Sep 16, 2013 5:11 pm

Re: Office Word 2010: Can't save as PDF with embedded fonts

Post by Dillon Holeman »

Here's everything from the log while trying to save a document as a ISO 19005-1 compliant PDF.

Code: Select all

fixme:shell:IShellView_fnSaveViewState (0x6244b58) stub
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:psdrv:PSDRV_ExtEscape QUERYESCSUPPORT(25) - not supported.
fixme:font:ExtTextOutW flags ETO_NUMERICSLOCAL | ETO_NUMERICSLATIN unimplemented
fixme:t2embed:TTGetEmbeddingType (0x3100f4 0x3221a8) stub
fixme:t2embed:TTGetEmbeddingType (0x3100f4 0x3221a8) stub
fixme:t2embed:TTGetEmbeddingType (0x3100f4 0x3221a8) stub
fixme:t2embed:TTGetEmbeddingType (0x3100f4 0x3221a8) stub
fixme:t2embed:TTGetEmbeddingType (0x3100f4 0x3221a8) stub
fixme:advapi:RegisterEventSourceW ((null),L"Microsoft Office 14 Alerts"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x0000012c,(nil),0x0006,0x00000000,0x3241b8,(nil)): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:ole:snapshot_QueryGetData (0x62447c0, 0x32a5e4 {cf c003 ptd (nil) aspect 1 lindex -1 tymed 4})
fixme:ole:snapshot_QueryGetData (0x62447c0, 0x32a3a0 {cf c05b ptd (nil) aspect 1 lindex -1 tymed 1})
fixme:ole:snapshot_QueryGetData (0x62447c0, 0x32a634 {cf c003 ptd (nil) aspect 1 lindex -1 tymed 4})
fixme:ole:snapshot_QueryGetData (0x62447c0, 0x32a3f0 {cf c05b ptd (nil) aspect 1 lindex -1 tymed 1})
fixme:ole:snapshot_QueryGetData (0x62447c0, 0x32a5a8 {cf c003 ptd (nil) aspect 1 lindex -1 tymed 4})
fixme:ole:snapshot_QueryGetData (0x62447c0, 0x32a364 {cf c05b ptd (nil) aspect 1 lindex -1 tymed 1})
I was surprised to find that there were no errors.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Office Word 2010: Can't save as PDF with embedded fonts

Post by dimesio »

Dillon Holeman
Level 2
Level 2
Posts: 15
Joined: Mon Sep 16, 2013 5:11 pm

Re: Office Word 2010: Can't save as PDF with embedded fonts

Post by Dillon Holeman »

Ok, picking up where I left off...

I'm trying to track down the DLLs mentioned in the comments in that bug report (t2embed.dll and fontsub.dll). Since I'm running office in a 32-bit prefix, do I have to make sure I get 32-bit DLLs? Is there even a distinction between a 32 and 64 bit DLL?

Would a Macintosh/Hackintosh with MS Office have the right stuff, or is that a different enough animal that it won't work?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Office Word 2010: Can't save as PDF with embedded fonts

Post by dimesio »

Yes, there is a distinction, and you do need the 32 bit dlls.

The dlls in question are part of Windows, not Office, but even if they came with Office, you couldn't use anything from the Mac version of Office in Wine.
Dillon Holeman
Level 2
Level 2
Posts: 15
Joined: Mon Sep 16, 2013 5:11 pm

Re: Office Word 2010: Can't save as PDF with embedded fonts

Post by Dillon Holeman »

Thanks again dimesio.

I had my brother send me the DLLs from one of his machines and I can now embed fonts without issue.
Locked