Re: About Svgreader

2014-05-07 Thread Thorsten Behrens
Miklos Vajna wrote:
 AFAIK the filter one is used when you open a .svg file (which opens in
 Draw), and the svgio one is used to handle embedded SVG files.
 
Yep.

 svgio is the newer code, it came in via
 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70, the filter one much older,
 dates back to 2002. No idea if there are any plans (in the near future)
 to fix svgio up enough that the filter one can be dropped.
 
The filter one originated from a HackWeek project of Fridrich and
yours truly, and still has some value I think, with its attempted
direct mapping to ODF. There (was?) also an option to have a
standalone binary built for that.

Both implementations make different judgement calls, which are a bit
hard to consolidate. The svgio one is always erring towards perfect
rendering, whereas the filter one tries hard to maintain editability.

Cheers,

-- Thorsten


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: About Svgreader

2014-05-06 Thread Miklos Vajna
Hi Julien,

On Wed, Apr 30, 2014 at 01:22:28PM -0700, julien2412 serval2...@yahoo.fr 
wrote:
 Reading bugtrackers about SVG, I noticed there were 2 locations with
 svgreader:
 - filter/source/svg/svgreader.cxx
 - svgio/source/svgreader (there's also svgio/source/svguno)
 
 There's no README for svgio/ and the README of filter isn't detailed.
 
 Someone to explain (perhaps update/add README)? Above all, what part is used
 to read svg?

AFAIK the filter one is used when you open a .svg file (which opens in
Draw), and the svgio one is used to handle embedded SVG files.

svgio is the newer code, it came in via
44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70, the filter one much older,
dates back to 2002. No idea if there are any plans (in the near future)
to fix svgio up enough that the filter one can be dropped.

Miklos


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[SOLVED] Re: About Svgreader

2014-05-01 Thread julien2412
Thank you Christina for your feedback, I used it for
http://cgit.freedesktop.org/libreoffice/core/commit/?id=1cb924de8a6f03827ae34aa2d66137b6b5e34112

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/About-Svgreader-tp4107050p4107174.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


About Svgreader

2014-04-30 Thread julien2412
Hello,

Reading bugtrackers about SVG, I noticed there were 2 locations with
svgreader:
- filter/source/svg/svgreader.cxx
- svgio/source/svgreader (there's also svgio/source/svguno)

There's no README for svgio/ and the README of filter isn't detailed.

Someone to explain (perhaps update/add README)? Above all, what part is used
to read svg?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/About-Svgreader-tp4107050.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: About Svgreader

2014-04-30 Thread Christina Roßmanith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 30.04.2014 22:22, schrieb julien2412:
 Hello,
 
 Reading bugtrackers about SVG, I noticed there were 2 locations
 with svgreader: - filter/source/svg/svgreader.cxx
This is used for File-Open and then choosing the svg file.
 - svgio/source/svgreader (there's also svgio/source/svguno)
This is used for Insert-Picture-From File.

And that is the reason why some bugs appear only with opening or
inserting a svg graphic.

Christina

 
 There's no README for svgio/ and the README of filter isn't
 detailed.
 
 Someone to explain (perhaps update/add README)? Above all, what
 part is used to read svg?
 
 Julien
 
 
 
 -- View this message in context:
 http://nabble.documentfoundation.org/About-Svgreader-tp4107050.html

 
Sent from the Dev mailing list archive at Nabble.com.
 ___ LibreOffice mailing
 list LibreOffice@lists.freedesktop.org 
 http://lists.freedesktop.org/mailman/listinfo/libreoffice
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTYY02AAoJEN/hiApPuw9S3XcH/3J27/t4/kzQt5Advv6wHTwZ
nsH3tA/Qz6LBK+nMRv7MyfwH4UPuzNPE4DBs+03MMU7pqDSiA6WO42IVVyvGgeys
vwkwhKPaC0lo0HIF7ELgGb0z8e9T9K+XOrI7E9j2EkX5/f2WtTxWjzu6Tu5GuM5f
/l2E4eH/qFFf0w5eavLfUry16OcgYx7oPcjXfScSUoshoQwVOwg3cuAju6yc9O7k
AbG1hee6CHprm7QAZ/oA6lI4EvZNnYzwYalSwIpwLqRBwKCzv0DwRzosj+WuoQQL
8/LA3TKmD/iwIFkr8W46qipZQhjTZsbQW2b0vobZ3XNgRdUMeWuZ6r7ZTTMz8qc=
=Thmb
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice