[Libreoffice-bugs] [Bug 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2022-01-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

Armin Le Grand  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |armin.le.gr...@me.com
   |desktop.org |
 Status|NEW |ASSIGNED

--- Comment #12 from Armin Le Grand  ---
Taking a look. Comment 8 shows the basic dilemma. It gets triggered at
GraphicExporter::GetGraphic in svx/source/unodraw/UnoGraphicExporter.cxx which
calls GetBitmapFromMetaFile.
That gets the correct sizes at the metafile in rMtf.GetPrefSize() and
rMtf.GetPrefMapMode(). Problem is that this then gets corrected using

tools::Rectangle aHairlineRect;
const tools::Rectangle
aRect(rMtf.GetBoundRect(*Application::GetDefaultDevice(), ));

which then falls back to the 'real' graphical bounds cutting off the (unused,
empty) borders from the TextObject (as in comment 8).

This happens due to 046df0a876b3d948bb1e14443c00c180bc8cccaa:
tdf#105998: Enhanced fix for MetafileToBitmap at better place

as detected by comment 7. Checking that one shows that this was/is needed to
get the hairline bottom/right problem solved. This means that it is intended to
expand the BoundRect, not shrink it. This is a good possible fact for a fix.
Checking this...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2022-01-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

Armin Le Grand  changed:

   What|Removed |Added

 CC||lhe...@gmx.de

--- Comment #11 from Armin Le Grand  ---
*** Bug 132590 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2022-01-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

Armin Le Grand  changed:

   What|Removed |Added

 CC||Tex2002ans+LibreOffice@gmai
   ||l.com

--- Comment #10 from Armin Le Grand  ---
*** Bug 146799 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2022-01-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

--- Comment #9 from Armin Le Grand  ---
Maybe double to tdf#132590

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2022-01-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

--- Comment #8 from Armin Le Grand  ---
Mismatch of B2DRange of Text - in principle it's ok to creater the bitmap as
small as possible what the used primitive render service is capable of. At the
same time the size gets calculated based on the SdrObjects, where the text one
has invisible borders.
Hard to decide what to do
(a) Accept smallest possible BM to create, adapt created size to it
(b) Somehow extend to SdrObject & invisible TextBorders, accept bigger result
Hmmm...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2020-06-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

Buovjaga  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||2590

-- 
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 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2020-04-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

Aron Budea  changed:

   What|Removed |Added

 Blocks||109323
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=10
   ||5998
 CC||ba...@caesar.elte.hu


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=109323
[Bug 109323] [META] Graphic export bugs and enhancements (jpg, png, eps, tiff,
gif ...)
-- 
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 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2019-07-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

raal  changed:

   What|Removed |Added

   Keywords|bibisectRequest |bibisected, bisected
 CC||armin.le.gr...@me.com,
   ||r...@post.cz

--- Comment #7 from raal  ---
This seems to have begun at the below commit.
Adding Cc: to Armin Le Grand; Could you possibly take a look at this one?
Thanks

06599193348562f3e4878a9b149ad8caed7554fe is the first bad commit
commit 06599193348562f3e4878a9b149ad8caed7554fe
Author: Norbert Thiebaud 
Date:   Fri Aug 17 12:33:05 2018 -0700

source sha:046df0a876b3d948bb1e14443c00c180bc8cccaa

author  Armin Le Grand   2018-08-16 20:20:47 +0200
committer   Armin Le Grand   2018-08-17 21:27:40
+0200
commit  046df0a876b3d948bb1e14443c00c180bc8cccaa (patch)
tree9619fa49b3f1b66302cbae973603f1c3f41ba3b0
parent  bc28d51cb88c796da241d1ab914bbe6bb174cc49 (diff)
tdf#105998: Enhanced fix for MetafileToBitmap at better place

-- 
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 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2019-07-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

Regina Henschel  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
 CC||rb.hensc...@t-online.de
   Keywords||bibisectRequest, regression

--- Comment #6 from Regina Henschel  ---
It was OK in Version: 6.2.0.0.alpha0+ (x64)
Build ID: 215780a7eca23c1bfcde74958e10ae84ea12d506
CPU threads: 8; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-08-15_22:56:00
Locale: de-DE (en_US); Calc: CL

It is broken in Version: 6.2.0.0.alpha1+ (x64)
Build ID: bf4fc97131147d25b18d088023262c977f0b2787
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-10_01:58:33
Locale: de-DE (en_US); UI-Language: en-US
Calc: CL

The glyphs are stretched to the box size, the space above and below the glyphs
is missing. If you insert the produced image and compare it with the source,
you see the distortion immediately.

-- 
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 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2019-07-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

Christopher Chavez  changed:

   What|Removed |Added

 Attachment #152697|PNG output for text box and |PNG output for upper text
description|circle  |box and circle

-- 
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 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2019-07-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

--- Comment #5 from Christopher Chavez  ---
Created attachment 152698
  --> https://bugs.documentfoundation.org/attachment.cgi?id=152698=edit
PNG output for lower text box and circle

-- 
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 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2019-07-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

--- Comment #3 from Christopher Chavez  ---
Created attachment 152696
  --> https://bugs.documentfoundation.org/attachment.cgi?id=152696=edit
PNG output for two text boxes

-- 
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 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2019-07-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

--- Comment #4 from Christopher Chavez  ---
Created attachment 152697
  --> https://bugs.documentfoundation.org/attachment.cgi?id=152697=edit
PNG output for text box and circle

-- 
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 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2019-07-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

--- Comment #2 from Christopher Chavez  ---
Created attachment 152695
  --> https://bugs.documentfoundation.org/attachment.cgi?id=152695=edit
PNG output for single text box

-- 
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 126319] FILESAVE: exporting selection to bitmap formats produces distorted output

2019-07-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126319

--- Comment #1 from Christopher Chavez  ---
Created attachment 152694
  --> https://bugs.documentfoundation.org/attachment.cgi?id=152694=edit
Test drawing used to produce example PNG files

-- 
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