PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3279 *** shadow/3279 Mon Aug 27 05:29:23 2001 --- shadow/3279.tmp.26596 Mon Aug 27 05:29:24 2001 *************** *** 0 **** --- 1,41 ---- + +============================================================================+ + | scaling SVG-images impossible | + +----------------------------------------------------------------------------+ + | Bug #: 3279 Product: Fop | + | Status: NEW Version: all | + | Resolution: Platform: Sun | + | Severity: Blocker OS/Version: Solaris | + | Priority: Other Component: svg | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + We're using version 0.20.1 of FOP. We have several SVG- and GIF-images to + include in FO-files. The following methods exist to include images and scale + them: + <fo:external-graphic src="..." height="..." width="..." content-height="..." + content-width="..." scaling="uniform | non-uniform"/> to include an external + image + <fo:instream-foreign-object attributes-see-above/> to embed a SVG-image + directly. + + Scaling of GIFs and JPEGs works fine, when giving attributes like + height="3.5cm" and width="7cm", the GIFs/JPEGs are scaled correctly. + + First we tried including SVG with fo:external-graphic and scale them. FOP + doesn't report an error and compiles correctly, but the PDF-file has following + error: The fo:external-graphic attributes 'height' and 'width' reserve the + stated lengths and let the text begin after the height-value, but the image is + as big as before, it's not scaled and overlaps the text. When using content- + height and content-width the same error happens. + Have a look at the PDF-file at http://www.sknetworks.de/dknapp/wca_esf1.pdf and + the FO-file at http://www.sknetworks.de/dknapp/wca_esf1.fo. + + When using <fo:instream-foreign-object> there's the same error. + + If you need more information feel free to contact me at [EMAIL PROTECTED] + rostock.de or [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]