LWN.net Logo

LibreOffice 4.0 released

LibreOffice 4.0 released

Posted Feb 8, 2013 15:50 UTC (Fri) by dakas (guest, #88146)
Parent article: LibreOffice 4.0 released

It would appear that LibreOffice is still unable to import any non-proprietary vector graphics (PDF, SVG, Fig or similar) without rasterization, making it unsuitable for high-quality import of external graph creation tools.

I think that OpenOffice at last has gotten actual SVG import (rather than rasterization), though quality seems to be spotty. LibreOffice apparently is trailing behind, and no, Microsoft Draw formats and similar are not a suitable alternative.


(Log in to post comments)

LibreOffice 4.0 released

Posted Feb 8, 2013 16:46 UTC (Fri) by dskoll (subscriber, #1630) [Link]

Umm? Did you miss something? LO since 3.6 imports SVG as vector graphics. It works quite well.

I love LibreOffice. I've donated $100 because it makes my life so much easier.

LibreOffice 4.0 released

Posted Feb 10, 2013 12:31 UTC (Sun) by dakas (guest, #88146) [Link]

Just checked it. Took an SVG generated via LilyPond (definitely outlines here), inserted it as a graphics into LibreOffice 3.6, zoomed by 600%. Jaggies and rasterization artifacts all over.

That does not look _anything_ like SVG imported as vector graphics.

LibreOffice 4.0 released

Posted Feb 10, 2013 13:49 UTC (Sun) by HelloWorld (guest, #56129) [Link]

Don't use Insert -> Picture -> from File to insert an SVG image, just open it using File -> Open. Then you'll get vector data.

LibreOffice 4.0 released

Posted Feb 10, 2013 15:16 UTC (Sun) by dskoll (subscriber, #1630) [Link]

Huh. Insert : Picture : from File worked for me. I imported an SVG image and it came in as a vector image. Weird.

LibreOffice 4.0 released

Posted Feb 10, 2013 16:28 UTC (Sun) by HelloWorld (guest, #56129) [Link]

> I imported an SVG image and it came in as a vector image.
How do you know? When I "insert" an SVG image with diagonal lines and zoom to 3000%, those lines are jagged. When I "open" the same image, the same lines are perfectly smooth, and I can also tear the image apart, which isn't possible when "insert"ing it. To me these are strong hints that LibreOffice essentially treats the SVG like a raster image.

This is with LibreOffice 3.6 on Fedora 18.

LibreOffice 4.0 released

Posted Feb 10, 2013 17:43 UTC (Sun) by mjw (subscriber, #16740) [Link]

> This is with LibreOffice 3.6 on Fedora 18.

Just upgrade to LibreOffice 4.0 already! :)

I just tried with both 3.6 and 4.0. LibreOffice 4.0 seems to handle SVG smoothly while 3.6 did seem to show some stuff as "raster images" indeed.

LibreOffice 4.0 released

Posted Feb 13, 2013 8:56 UTC (Wed) by dakas (guest, #88146) [Link]

So why is this not mentioned in the release announcements? A lot of stuff of minor importance is mentioned.

Being able to create documents that don't toss the quality of the original material is much more important than all the candy they think important enough to announce.

It is a dealbreaker for many serious uses.

It takes quite a bit of diligence to work out a quality-preserving toolchain around documents processed with TeX/LaTeX. Everything is there, however, since people care.

And then you switch from an old dinosaur like that to a "modern" application, and print quality becomes a "can't be interested in that" item.

This is so embarrassing. About a year ago, I made a magazine article using standard LaTeX/PDF toolchains. Then people ask me "can we get a .DOC file for that". "Ok." Import the texts as plain text into LibreOffice, import the graphics... TILT. There is no way to import the graphics in a manner where they remain usable for preprint purposes. There is no vector graphics format whatsoever produceable by Free Software that will survive in LibreOffice. I had to send the document and the graphics files separately and tell the editor to see how he gets the stuff together on his side.

Now purportedly, this has changed. I am sceptical. But if it has changed, why for heaven's sake was it not even newsworthy enough to announce?

LibreOffice 4.0 released

Posted Feb 13, 2013 21:02 UTC (Wed) by khim (subscriber, #9252) [Link]

And then you switch from an old dinosaur like that to a "modern" application, and print quality becomes a "can't be interested in that" item.

You do know that't the raison d'ĂȘtre for the very TeX existence, right? It was quite literally created because "modern" applications (modern in the end of 1970th, mind you!) were unable to create anything comparable in quality to what was available before!

Being able to create documents that don't toss the quality of the original material is much more important than all the candy they think important enough to announce.

In a world where serious analysts publish diagrams in JPG? No, they are not. The fact of the matter: very few LibreOffice users care about that stuff. Most don't even understand what's the difference between SVG, PNG and JPG.

There is no way to import the graphics in a manner where they remain usable for preprint purposes.

Really? You can't create 10000x10000 pixels picture and then insert it in your document? That's how Joe Average solves these problems, you know.

Now purportedly, this has changed. I am sceptical. But if it has changed, why for heaven's sake was it not even newsworthy enough to announce?

Because Joe Average does not care? You do know that neither .doc nor .docx files support SVG (only .odt does - and then it does that in a weird way)? They support two competing different Microsoft-sponsored vector formats instead: VML and DrawingML. Thus I would not be surprised to see a lot of SVG files mangled when imported to LibreOffice then exported as .doc file. If that even works at all.

LibreOffice 4.0 released

Posted Feb 13, 2013 21:54 UTC (Wed) by sfeam (subscriber, #2841) [Link]

You forgot EMF, a vector format supported by all versions MS Office and also by LibreOffice.

LibreOffice 4.0 released

Posted Feb 13, 2013 21:56 UTC (Wed) by khim (subscriber, #9252) [Link]

Oops. Yeah. So there are three vector formats, but SVG is not among them.

LibreOffice 4.0 released

Posted Feb 14, 2013 11:36 UTC (Thu) by nye (guest, #51576) [Link]

And EPS which is probably more relevant from the perspective of the LaTeX/PDF toolchain.

LibreOffice 4.0 released

Posted Feb 14, 2013 21:33 UTC (Thu) by khim (subscriber, #9252) [Link]

You can not embed EPS in the MS Office document. You can only convert it which may or may not work - exactly as you can do with SVG.

LibreOffice 4.0 released

Posted Feb 18, 2013 13:06 UTC (Mon) by nye (guest, #51576) [Link]

Thanks for the clarification - in MS Word it appears to be possible to embed it directly. It does appear aliased on screen, but it's obviously using the vector data as it seems to be arbitrarily resizable and zoomable, and when saving to a PDF it's clearly not just embedding bitmap data as the output is fully zoomable and antialiased.

My experience of vector graphics in the day-to-day office world (ie. amongst non-FOSS people for whom that's not their job, but might come up as part of it) is that there are two vector formats that exist: EPS and AI. Since MS Word appears to work with EPS pretty well, it would be very useful if LO did too.

LibreOffice 4.0 released

Posted Feb 19, 2013 18:55 UTC (Tue) by khim (subscriber, #9252) [Link]

Thanks for the clarification - in MS Word it appears to be possible to embed it directly.

Not really. It's possible to import it - but this process has different levels of success depending on what kind of program you have use to produce said EPS file. Wikipedia contains all the gory details.

The only thing you can reliably do with EPS is to embed it in your document as kind-of "blackbox": you know dimensions and you know how to print it but that's all.

My experience of vector graphics in the day-to-day office world (ie. amongst non-FOSS people for whom that's not their job, but might come up as part of it) is that there are two vector formats that exist: EPS and AI. Since MS Word appears to work with EPS pretty well, it would be very useful if LO did too.

Correction: EPS produced by some applications works fine with some versions of MS Office for some operations - if you are lucky. In the end it's trial-and-error implementations which handle some usecases essentially without documentation and guidelines (or, rather, there are tons of documentation and huge amount of guidelines - basically one for each program which can produce EPS file). Sure, it may be good idea to produce something which will successfully parse at least most common EPS files out there, but that's huge undertaking and it does not look like LibreOffice team has the resources for such undertaking. Especially if you want to correctly handle more esoteric cases with alpha-channels and other "interesting" bits (which are implemented using different extensions in different programs).

LibreOffice 4.0 released

Posted Feb 24, 2013 18:17 UTC (Sun) by JanC_ (guest, #34940) [Link]

It should be possible to import EPS (and other formats like CorelDraw) by using the UniConvertor Python library. (Inkscape and Scribus are already using this library.)

LibreOffice 4.0 released

Posted Feb 10, 2013 20:42 UTC (Sun) by dskoll (subscriber, #1630) [Link]

How do you know?

It seems we are both right. In the word-processor, importing an SVG image does indeed convert it to a bitmap. However, if I do the same thing in the drawing program, it comes in as a vector image. I can right-click on the picture and select "Break" which breaks it into its vector components that I can manipulate further in the drawing editor.

LibreOffice 4.0 released

Posted Feb 10, 2013 15:29 UTC (Sun) by Kit (guest, #55925) [Link]

So 'Picture' is code for 'Raster Image'?

LO should always import SVG (and other vector formats) images as... vectors! It's likely the right choice in 99.9% of all situations. For the rare exceptional case, the user could just rasterize it before bringing it into LO... or if the LO developers really insist, just provide some functionality to rasterize a selected vector image.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds