Bug 4338 - text rendering to pdf/png of svg files incorrect...
Summary: text rendering to pdf/png of svg files incorrect...
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: png functions (show other bugs)
Version: 1.0.0
Hardware: PowerPC Mac OS X (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 22:37 UTC by John-Mark Gurney
Modified: 2009-06-07 03:21 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
svg w/ some text rotation and lines (1.14 KB, image/svg+xml)
2005-09-01 22:38 UTC, John-Mark Gurney
Details
Correct rendering of text_rotate.svg by Adobe's Plugin (58.55 KB, application/pdf)
2005-09-01 22:40 UTC, John-Mark Gurney
Details
In?correct rendering of text_rotate.svg by svg2pdf (5.69 KB, application/pdf)
2005-09-01 22:40 UTC, John-Mark Gurney
Details

Description John-Mark Gurney 2005-09-01 22:37:15 UTC
In testing if the svg2png and svg2pdf will work for us, we found that it renders
it very differently than either DeerPark or Mozilla w/ Adobe's plugin renders it.

I will attach both the svg file, and pdf's of both Adobe's plugin and the pdf
generated w/ svg2pdf...

This is using cairo-1.0.0, libsvg-0.1.4, libsvg-cairo-0.1.6, svg2{pdf,png}-0.1.3.

both png and pdf render the same in?correct image
Comment 1 John-Mark Gurney 2005-09-01 22:38:17 UTC
Created attachment 3149 [details]
svg w/ some text rotation and lines
Comment 2 John-Mark Gurney 2005-09-01 22:40:10 UTC
Created attachment 3150 [details]
Correct rendering of text_rotate.svg by Adobe's Plugin
Comment 3 John-Mark Gurney 2005-09-01 22:40:50 UTC
Created attachment 3151 [details]
In?correct rendering of text_rotate.svg by svg2pdf
Comment 4 John-Mark Gurney 2005-09-01 23:33:14 UTC
I decided to run svg2pdf through the Basic text Test Suite at:
http://www.w3.org/Graphics/SVG/Test/ to see how things would fair, and the
following svg files failed the tests:
text-align-02-b, text-align-03-b, text-align-04-b, text-align-05-b,
text-align-06-b, text-altglyph-01-b, text-deco-01-b, text-fonts-02-t,
text-intro-02-b, text-intro-03-b, text-spacing-01-b, text-path-01-b,
text-text-01-b, text-text-03-b, text-tref-01-b, text-tspan-01-b
Comment 5 Brian Ewins 2007-03-27 15:16:32 UTC
Could you test this with a recent build? (say the 1.4.2 developer snapshot). This is really multiple bugs, but I believe most of them should be fixed now:
bug 9378 - ATSUI glyph paths are incorrectly rotated.
bug 9568 - atsui font backend assumes device/user units are the same.

Both of those patches were fixes to text rotation on the mac, they're in 1.4.2. There will still be other bugs in your rendering though - the rotated lines will be fat, due to bug 10036. 

If you're happy that those duplicate your issues I'll mark this as a dupe of 10036 which I think is the only outstanding item.
Comment 6 Benjamin Close 2008-01-11 02:35:54 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 7 Behdad Esfahbod 2008-01-27 14:56:12 UTC
Can the reporter please test and see if this is still valid?
Comment 8 Chris Wilson 2009-06-07 03:21:43 UTC
No update after the last probable duplicate was closed. It would be interesting to hook the W3C test suite up to librsvg and see how we fare.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.