Bounding box does not include long miters

Bug #166659 reported by Yekrats
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Johan Engelen

Bug Description

The bounding box seems to be a little too small for a
star with thick borders and angled corners. Therefore,
exports are truncated just a bit.

For an example, see http://yekrats.com/verdastelo.svg
which produced
http://commons.wikimedia.org/wiki/Image:Verdastelo.png

Desired behavior would be to have it bound just outside
of the line. I am on a WinXP system.

Related branches

Revision history for this message
Yekrats (yekrats) wrote :
Revision history for this message
Yekrats (yekrats) wrote : Result of the export.

Other attachments

Revision history for this message
ScislaC (scislac) wrote :

verified w/ current CVS on win32.

I understand why the bounding box is where it is, but it
does cause problems with exporting selection as demonstrated
here

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Calculating correct bbox for stroked paths is very very
expensive. It's difficult to implement and will slow the
program down a lot. I can only hope Cairo will be able to
help this somewhat.

nightrow (jb-benoit)
Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

This bug is still present in Inkscape 0.46+devel r22498 (OS X 10.5.8).

tags: added: stroke ui-selection-group-layer
removed: all-platforms
Revision history for this message
su_v (suv-lp) wrote :

This bug is still present in Inkscape 0.47+devel r9305 (OS X 10.5.8).

Revision history for this message
Johan Engelen (johanengelen) wrote :

although it is expensive to calculate the bbox precisely, it is necessary for png export. And since it is not an interactive thing that has to be done 1000 times, I think it is not a big issue to request extra precision for bitmap exporting.
Since 9307 the RENDERING_BBOX type includes strokes.
Fixed bug in r9309.

Changed in inkscape:
assignee: nobody → Johan Engelen (johanengelen)
milestone: none → 0.48
status: Confirmed → Fix Committed
Revision history for this message
su_v (suv-lp) wrote :

fix confirmed with Inkscape 0.47+devel r9319 on OS X 10.5.8

jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.