Bug 14782 - Using dataWithPDFInsideRect to generate a PDF of an SVG can omit small items
Summary: Using dataWithPDFInsideRect to generate a PDF of an SVG can omit small items
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: Macintosh OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-27 05:01 PDT by Alan Shouls
Modified: 2007-11-14 10:37 PST (History)
2 users (show)

See Also:


Attachments
Hacked CarbonWeb App and SVG files exhibiting the problem (167.81 KB, application/octet-stream)
2007-07-27 05:04 PDT, Alan Shouls
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Shouls 2007-07-27 05:01:35 PDT
Using dataWithPDFInsideRect to generate a PDF of an SVG can omit small items - if the PDF is larger then they appear correctly within the PDF.

1. Build and run the attached "Hacked CarbonWeb" application
2. Open one of the sample files in the 'svg render' in safari.
3. Paste the URL from the safari tool-bar into the "Hacked CarbonWeb" application but *don't* press return
4. Shrink the "Hacked CarbonWeb" window as small as possible
5. Now hit return
6. "CarbonWeb" generates a PDF and draws it in a new window
7. >> Things are missing (typically) text from the PDF.
Comment 1 Alan Shouls 2007-07-27 05:04:45 PDT
Created attachment 15704 [details]
Hacked CarbonWeb App and SVG files exhibiting the problem

This is source for the application mentioned in the bug report, and a set of SVG files that exhibit the problem. The SVG files are from the W3C site
Comment 2 David Kilzer (:ddkilzer) 2007-07-27 10:17:41 PDT
Please try this using the feature-branch of WebKit as it contains many more fixes to SVG.

Comment 3 Eric Seidel (no email) 2007-11-14 10:35:46 PST
I think this should be fixed by r27781.
Comment 4 Oliver Hunt 2007-11-14 10:37:15 PST
Indeed it should be