Posted: Fri Mar 07, 2014 9:15 pm Post subject: Fixes for LibreOffice bugs #64006, #66021, and #69162
Over the last week or so, narf searched the OpenOffice and LibreOffice bug tracking sites for crashing bugs and found 3 bugs that also crash NeoOffice:
I have fixed all of these bugs in the following test patches. Fortunately, the fixes required only very minimal changes to NeoOffice's underlying OpenOffice code:
The svg renders incorrectly, however I don't imagine that within your scope to fix!
Unfortunately, you are correct: fixing the OpenOffice codes very bugging SVG image import code is too big a project for me to take on at this time.
I did look at whether of not backporting code from a newer version of OpenOffice or LibreOffice would be feasible, but I found that LibreOffice has the same gradient problems as NeoOffice. OpenOffice is better, but it still has gradient problems.
From what I have found, only Safari appears to render SVG images accurately (Apple's Preview application won't even open SVG images). So if users need to import an SVG image into NeoOffice, OpenOffice, or LibreOffice and the imported image doesn't render correctly, I would recommend the following workaround:
1. Open the SVG image in Safari
2. Press the Command-Shift-4 keys and then drag your mouse to draw a rectangle around the image in Safari
3. When you release the mouse button, a new PNG file will be created on your Desktop that you can import into NeoOffice, OpenOffice, or LibreOffice
Which is odd, because you'd think that Apple would have good support for pixel density-independent formats.
Thanks for the workaround . _________________ "What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Related to the still-after-all-these-years poor SVG support in OOo/LO that came at the tail end of this thread, I saw today a posting about a new free (but 10.9-only) app that uses WebKit (Safari)'s SVG support to render SVGs and also exports to PDF, TIFF, and PNG: http://gapplin.wolfrosch.com/
I don't know how the OOo PDF import is these days (maybe it's no better than the SVG support), nor how well that app exports SVG to PDF, but possibly one could export SVG to PDF using that app and import the PDF into NeoOffice with better results. Although in that case, perhaps just printing (to PDF) the SVG from inside Safari might accomplish the same thing?
That said, OOo's preferred and best-supported vector graphics exchange format (besides Draw's native format ) remains, more than a decade later, Windows Metafile (WMF).
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
...Although in that case, perhaps just printing (to PDF) the SVG from inside Safari might accomplish the same thing?
Very good idea. But sadly even on Mac OS X 10.9 Mavericks, the resulting PDF has serious rendering problems when opened in any PDF viewer. So I think we can probably conclude that Safari's WebKit engine is good at rendering SVG to the screen, but very poor at saving as PDF.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum