Comment 10 for bug 545221

Revision history for this message
su_v (suv-lp) wrote :

> I may have misinterpreted the attachments I found here.

Sorry, no - it was my mistake for not rechecking after reading about your findings: the vertical line at the right edge of the drawing content is cut off in the middle with older versions of cairo (not as noticeable as in your example - indicating maybe a rounding error when converting units px -> pt?).

Exporting 'Test.svg' from comment #3 with Inkscape 0.48+devel r9931 (cairo 1.10) adds an additional small padding at the right edge of the drawing content. Older and current cairo versions seem to use different algorithms for determining the bounding box offset and dimensions:

test.eps attached by the reporter:

%!PS-Adobe-3.0 EPSF-3.0
%%Creator: cairo 1.8.6 (http://cairographics.org)
%%CreationDate: Tue Mar 23 17:03:03 2010
%%Pages: 1
%%BoundingBox: 0 0 150 106
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
%%EndComments
%%BeginProlog

Test.eps exported with Inkscape r9931, cairo 1.8.10:

%!PS-Adobe-3.0 EPSF-3.0
%%Creator: cairo 1.8.10 (http://cairographics.org)
%%CreationDate: Wed Dec 1 08:29:20 2010
%%Pages: 1
%%BoundingBox: 0 0 150 106
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
%%EndComments
%%BeginProlog

Test.eps exported with Inkscape r9931, cairo 1.10:

%!PS-Adobe-3.0 EPSF-3.0
%%Creator: cairo 1.10.0 (http://cairographics.org)
%%CreationDate: Wed Dec 1 08:21:50 2010
%%Pages: 1
%%BoundingBox: 0 -1 151 106
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
%%EndComments
%%BeginProlog