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

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007661 [Scribus] Shape Drawing minor always 08-Dec-15 00:58 09-Jan-10 23:47
Reporter mahfiaz View Status public  
Assigned To
Priority normal Resolution reopened Platform
Status confirmed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version
  Target Version 1.5.0 Product Build
Summary 0007661: Bezier bounding box miscalculation
Description It 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.
Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files ? file icon bezier bounding box miscalculation.svg [^] (2,364 bytes) 08-Dec-15 00:58

- Relationships

-  Notes
(0020786)
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.
(0020787)
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.
(0020788)
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.
(0020789)
mahfiaz (reporter)
08-Dec-15 02:11

See http://tyshalom.ee/mattias/bezier%20bounding%20box%20miscalculation.sla [^]
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.
(0020904)
jghali (administrator)
09-Jan-10 23:40

Targetting 1.3.6 for now, will fix in 1.3.5 if possible
(0020905)
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


- 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



Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker