[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

Regina Henschel  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |rb.hensc...@t-online.de
   |desktop.org |

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

--- Comment #8 from Regina Henschel  ---
Some further references
https://lists.w3.org/Archives/Public/www-svg/2013Dec/0093.html
https://svgwg.org/svg2-draft/single-page.html#coords-IntrinsicSizing
https://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

--- Comment #6 from Yousuf (Jay) Philips  ---
Example of an SVG which only has a height attribute and it gets cropped.

https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/tiger.svg

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

--- Comment #7 from Regina Henschel  ---
Yes, we need to have a closer look at all those cases, where the needed
information is not complete. So this issue needs to keep open. Abandon the
patch?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

--- Comment #5 from Yousuf (Jay) Philips  ---
(In reply to Regina Henschel from comment #4)
> The example has neither width/height attribute nor a viewBox attribute on
> the outermost svg element to define the size of the canvas. Therefore the
> content is taken to define the size of the canvas.

Yes the problem is with the missing viewBox attribute.

> I agree, that the result would be nicer, if we expand the canvas, so that
> the complete object is visible. We can add the amount given by left/top of
> the content. A negative value there would then result in the same kind of
> clipping, you see in the browser.

I dont see nay clipping in any browser i use (Opera, Firefox, Chromium)

> I have attached a patch, so that you can already test my proposal. Today it
> is to late in the night for me to work with Gerrit.

Pushed: https://gerrit.libreoffice.org/22267

We also have instances when the viewBox is cropping the image, when it
shouldnt, like the below SVGs, so what should be done then?

https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/mail.svg
https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/msft.svg

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

Regina Henschel  changed:

   What|Removed |Added

 CC||rb.hensc...@t-online.de

--- Comment #4 from Regina Henschel  ---
Created attachment 122491
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122491=edit
expand the canvas if needed

The example has neither width/height attribute nor a viewBox attribute on the
outermost svg element to define the size of the canvas. Therefore the content
is taken to define the size of the canvas.

I agree, that the result would be nicer, if we expand the canvas, so that the
complete object is visible. We can add the amount given by left/top of the
content. A negative value there would then result in the same kind of clipping,
you see in the browser.


I have attached a patch, so that you can already test my proposal. Today it is
to late in the night for me to work with Gerrit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Blocks||88278

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

--- Comment #3 from Yousuf (Jay) Philips  ---
Another example of content being cropped is
https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/DroidSans.svg as 'SVG
Open 2009' isnt being displayed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

raal  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||r...@post.cz
 Ever confirmed|0   |1

--- Comment #2 from raal  ---
I can confirm with Version: 4.5.0.0.alpha0+ and Version: 5.2.0.0.alpha0+

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

Yousuf (Jay) Philips  changed:

   What|Removed |Added

   Keywords||filter:svgInsert,
   ||regression
 CC||aniste...@gmail.com
Version|5.2.0.0.alpha0+ Master  |4.4.7.2 release
 Whiteboard|svgInsert   |

--- Comment #1 from Yousuf (Jay) Philips  ---
Tested 4.3.7 and all of the shape appears and in 4.4.7.2 the crop is there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped

2016-02-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97538

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Whiteboard||svgInsert

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs