Mantis Issue Tracking for Scribus
· Hosting provided by / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007661ScribusShape Drawingpublic08-Dec-15 00:5814-Jun-25 00:16
Assigned Tofschmid 
PlatformOSOS Version
Product Version 
Target Version1.5.0Fixed in Version1.5.0svn 
Summary0007661: Bezier bounding box miscalculation
DescriptionIt seems like bezier handles are also included as points to bounding box calculations. This of course is more resource friendlyb but gives unexpected results. I think inkscape has functions for this in its lib2geom library.

One simple example is attached, import it into scribus to see the bounding box too large from right side.
Attached Files? file icon bezier bounding box miscalculation.svg [^] (2,364 bytes) 08-Dec-15 00:58
? file icon bezier bounding box miscalculation bug.svg [^] (2,364 bytes) 13-Aug-24 07:18

- Relationships
has duplicate 0012153closedjghali scribus defines incorrect bounding boxes for vector objects. 

-  Notes
jghali (administrator)
08-Dec-15 01:20

The values are calculated directly from the "width", "height", and "viewbox" attributes of top svg element. Can't do much if those are too large.
mahfiaz (reporter)
08-Dec-15 01:38

No, this is not the case. The SVG is converted to native objects on importing. I also could draw bezier curves directly in scribus which present the same behavior: bounding box being calculated by nodes not by path itself.
jghali (administrator)
08-Dec-15 01:52

I think i know better than you here as the current svg importer has been coded by me. The svg contains a path which explain why you see the bounding box as it is. Please provide a valid sample then.
mahfiaz (reporter)
08-Dec-15 02:11
edited on: 13-Aug-24 07:18

See the attached sla file.
This one curve is drawn using the "Bezier curve" tool in scribus. I also am not saying it is definitely bug, but this is unexpected behaviour, as most other programs handle this the other way.

Sorry for being intrusive, my apologies, it wasn't meant to be so.

jghali (administrator)
09-Jan-10 23:40

Targetting 1.3.6 for now, will fix in 1.3.5 if possible
jghali (administrator)
09-Jan-10 23:47
edited on: 09-Jan-10 23:50

No, won't fix in 1.3.5, that would cause major change in text layout of existing documents

mahfiaz (reporter)
13-Aug-24 07:19

I uploaded the example .sla file here, so it won't get lost anymore.
FirasH (developer)
14-Jun-01 17:20

Isn't it fixed in 1.5?
jghali (administrator)
14-Jun-25 00:15

Works indeed in 1.5.0svn. Resolving/closing consequently.

- Issue History
Date Modified Username Field Change
08-Dec-15 00:58 mahfiaz New Issue
08-Dec-15 00:58 mahfiaz File Added: bezier bounding box miscalculation.svg
08-Dec-15 01:20 jghali Note Added: 0020786
08-Dec-15 01:20 jghali Status new => resolved
08-Dec-15 01:20 jghali Resolution open => no change required
08-Dec-15 01:20 jghali Assigned To => jghali
08-Dec-15 01:20 jghali Status resolved => closed
08-Dec-15 01:38 mahfiaz Note Added: 0020787
08-Dec-15 01:38 mahfiaz Status closed => feedback
08-Dec-15 01:38 mahfiaz Resolution no change required => reopened
08-Dec-15 01:52 jghali Note Added: 0020788
08-Dec-15 01:56 jghali Assigned To jghali =>
08-Dec-15 02:11 mahfiaz Note Added: 0020789
09-Jan-10 23:33 jghali Status feedback => confirmed
09-Jan-10 23:40 jghali Note Added: 0020904
09-Jan-10 23:40 jghali Target Version => 1.3.6
09-Jan-10 23:47 jghali Note Added: 0020905
09-Jan-10 23:50 jghali Note Edited: 0020905
13-Aug-24 07:18 mahfiaz File Added: bezier bounding box miscalculation bug.svg
13-Aug-24 07:18 mahfiaz Note Edited: 0020789 View Revisions
13-Aug-24 07:19 mahfiaz Note Added: 0030527
14-Mar-20 16:32 jghali Relationship added has duplicate 0012153
14-Apr-07 17:11 JLuc Tag Attached: layout
14-Jun-01 17:20 FirasH Note Added: 0031967
14-Jun-25 00:15 jghali Note Added: 0032295
14-Jun-25 00:15 jghali Status confirmed => resolved
14-Jun-25 00:15 jghali Fixed in Version => 1.5.0svn
14-Jun-25 00:15 jghali Resolution reopened => fixed
14-Jun-25 00:15 jghali Assigned To => fschmid
14-Jun-25 00:16 jghali Status resolved => closed

Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker