Apache OpenOffice (AOO) Bugzilla – Issue 39515
Hebrew font lost on export to PPT
Last modified: 2006-11-17 15:33:41 UTC
Attached is a simpple file created with OOo M65. In the document, titles where set to DavidMF, and list1 was set to FrankRuhlMF- both via styles. In additon, the body text in the first slide was set to Arial (regular) via direct formatting. The file was exported as PPT 2000/xp/2003, and opened in PPT 2003 on the same computer (with all the fonts available). Are the fonts, both set via styles, and those set via direct formatting, where lost, and replaced with Arial Unicode MS.
Created attachment 20794 [details] orignal OOo doc
Created attachment 20795 [details] PPT file
Reassigned to Christian.
changing the milestone
Double checked with 1.1.0- this does not happen there.
I can reproduce the bug. Please have a look.
Because of following font substitution the fontname is replaced: GetSubsFontName( rName, SUBSFONT_ONLYONE | SUBSFONT_MS ) );
HDU->SJ: as we saw during the PPT export the fonts for asian text and for complex text got mixed up...
forgot to reassign...
accepted
Because of a too huge workload I can't fix this issue for OOo 2.01 -> changed target to OO Later.
ayaniger->sj: Have you been able to look at this PPT export font issue?
Created attachment 38970 [details] Seems to fix the problem
ayaniger->sj,hdu: I've a attached a patch which seems to fix the problem. Could you review it? A fix for this bug is important for Hebrew users.
sj: this issue now has been fixed in cws [vcl65] . I had to modify the applied patch because it forces the filter to export complex fonts only, but this breaks the export of Asia fonts. Now the script type of the corresponding text portion is being detected by the i18n BreakIterator, I hope this solves all problems.
sj->cgu: this issue is ready to be verified in cws[vcl65]
CGU: Verified in cws vcl65
I had to add the attached patch to get the font weight and posture to be exported correctly. I only handled complex fonts, not asian fonts.
Created attachment 40496 [details] For properly exporting CTL font weight and posture
@ayaninger: after a CWS is integrated it is not a good idea to appending to the CWS's resolved issues. The issue status becomes ambiguous and so new comments in it are easily overlooked. I suggest to file a followup issue. @sj: you probably overlooked Alan's latest patch and comments
Issue 71649 is a following issue for this issue.
CGU: Integrated in src680m193 and OOE680m2