Apache OpenOffice (AOO) Bugzilla – Issue 10218
PDF Export does not use Type 1 Fonts
Last modified: 2013-08-07 14:38:26 UTC
Type 1 Fonts are substituted with an improper true type font.
Created attachment 4106 [details] example of missing type 1 fonts
In cause of that I haven't got the fonts in the attached file, could you check this please.
pl->hdu: you don't set the Embeddable flag in the ImplFontData then.
Unfortunately there is no W32 API to get the font file for a postscript font, so it cannot be embedded by apps without using dirty tricks. The GetFontData API would be perfect if it only worked for something other than TT fonts. Ideas how to get the file path of the currently selected font for PS fonts are welcome. Maybe there is a way to talk to the ATM? Need to investigate further...
*** Issue 18399 has been marked as a duplicate of this issue. ***
*** Issue 19878 has been marked as a duplicate of this issue. ***
*** Issue 17342 has been marked as a duplicate of this issue. ***
I will use the ATM API for this if ATM is available on the system.
.
*** Issue 40065 has been marked as a duplicate of this issue. ***
*** Issue 59106 has been marked as a duplicate of this issue. ***
It is unfortunate to read that MS does not provide an API for this. I suppose it is expected that they favor TrueType, rather than something invented by Adobe. Probably OOo developers already are aware that (at least for Windows XP), the font locations are stored in the Registry in the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts Not being a system programmer, I cannot say if that is easy or difficult to access, now whether it works across windows versions. If the problem can't be solved, a warning dialog would at least spare users getting unexpected results that they need to troubleshoot.
*** Issue 24868 has been marked as a duplicate of this issue. ***
Submitted in 2002? Hmmmmm. Fine then. I'll resist the strong temptation to submit a duplicate in the hope that it will get some attention ... I'll even vote for this bug ( which means pulling votes from other bugs ) ... but how about a status update, please? As far as I can tell, PDF export is completely useless in it's current state.
Oops, the issue status needs to be updated. Type1 fonts worked for quite some time on windows now. See issue 63015 for remaining problems.
Reopening for adjusting status.
The issue has been resolved by other bugfixes. Should investigate which exact fixes were responsible for the fix, but the time needed for bisecting and analyzing all relevant changes is better spent somewhere else => changing status to WORKSFORME