Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi,

Am 16.12.2015 um 09:49 schrieb Jan Holesovsky:
Hi Thorsten,

Thorsten Behrens píše v Út 15. 12. 2015 v 23:46 +0100:

Other than that, the two filters serve two very different purposes -
the document filter actually tries to map svg as well as possible to
ODF (it would work even better if LibreOffice's ODF filter would
support more of the syntax and semantics of SVG), to get *editable*
graphics.

As such, replacing the document importer with something that sticks
the image into a graphic object is missing the point IMO.
Armin wrote that svgio can "'break' to process/use the contained
geometries" - so my understanding was that it can be further editable;
is it not the case?  If not - how hard would it be to extend
drawinglayer to be able to "make something editable out of the contained
svg"?

It is the case. Compare the following:

(a) Start LO, file/open, choose any SVG you want -> Draw opens, the SVG gets represented as draw objects (b) Start LO, open Draw, insert same SVG as graphic (D&D or insert/graphic) -> SVG gets a single GraphicObject

With (b) you may now select, and choose 'break' in the context menu -> SVG gets decomposed to draw objects. Compare the two results with your SVG.

Despite the quality being quite different, even when this would be fixed, there will alwyas be slight differences. How do you explain a user that the quality of the SVG he wants to use depends on the way he uses it? Does anyone expect users to know the difference between opening and inserting an SVG? How much do users like answers as 'yes, but you added it in the 'wrong' way...'? There should be no wrong way. You should not need expertise know-how to be able to use SVG in the best possible quality.

Both do not allow round-trip, good-quality SVG editing, that is not the role of LO. At least, (b) keeps the orig SVG as reusable data (context menu, save graphic saves the *original* svg). Thus, you can edit it in an external editor and re-add (or is there nowadays even a 'edit in external editor', have seen that somewhere..?).

Even if someone wants to have the filter to 'edit' SVG the better solution would be to automate (b) what means add the last step of breaking up the object after load. I would not do that - let the user choose if he wants to 'edit' the SVG. As long as we have no dedicated SVG editing options, I doubbt many will use LO for that. What is indeed useful is to re-use graphic data from SVGs for draw objects, that is what 'break' offers.

Maybe the problem is more that only view people seem to know about 'break' - what about adding that more prominent/additionally under 'ungroup'...?

Still, I would opt for using one SVG filter/importer only.


All the best,
Kendy

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

--
--
ALG (PGP Key: EE1C 4B3F E751 D8BC C485 DEC1 3C59 F953 D81C F4A2)


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.