Apache OpenOffice (AOO) Bugzilla – Issue 93519
wrong font rendering that causes huge PDF output
Last modified: 2013-08-07 15:20:06 UTC
On slide 70 (and previous ones) from PowerPoint presentation the text contained is displayed as vector, but it creates too many nodes in all letters and this outputs a huge PDF file when exported. I guess that, at least in Linux (and it might be the similar for Windows), freetype will allow to display and export it as text, which will output a smaller PDF document than exporting it as vector (as PowerPoint itself does). Attachments show the issue.
Created attachment 56261 [details] Displayed text from PDF at 3000% zoom in
Created attachment 56262 [details] Display PDF export from PowerPoint + PDFCreator (Ghostscript)
Created attachment 56263 [details] Impress display
Reassigned. Please have a look at this one. Thanks.
@sj: please analyze the PPT import for that specific page. Does PPT really export it as polygon with line segments only? Probably not. I guess the problem is that the import does something like "convert to polygon" for it. And it seems to subdivide the bezier polygon into way too many linear segments? => low-tech solution2: use smarter subdivision in PPT import => medium-solution: use "convert to curve" instead of "convert to polygon" => best-solution: merge line segments back into bezier segments if possible @aw: AFAIK with CWS aw033 being integrated it should be possible to get rid of the "convert to polygon" alltogether and replace their uses to the much better "convert to curve"?
Sorry for asking a question that might be stupid, but I don't code. Cannot be the conversion to polygon or curve be avoided by keeping text as text at least in this concrete effect ('word wrap text in shape') and setting internally different horizontal and vertical scaling of the font? (That would be actually calculating scaling width and size to the text area.) Thanks, Pablo