My SVG images appear find, using 0.95 and the Trunk, but I haven't tried background images. I'm drawing the SVG within instream-foreign-object.
________________________________ From: Mario Madunic [mailto:mario_madu...@newflyer.com] Sent: Tuesday, July 06, 2010 9:00 AM To: fop-users@xmlgraphics.apache.org Subject: Problems with SVG display as background to region-body (FOP-Trunk) I have the following as a child of simple-page-master <fo:region-body region-name="sectionBody_Section" background-image="url(file:graphics/partsTable_4ColBG.svg)" background-repeat="no-repeat" margin-top="{$g_MarginTop}" margin-bottom="{$g_MarginBottom}" margin-right="{$g_MarginInside}" margin-left="{$g_MarginOutside}" /> I've tried various values for background-image, from relative to absolute paths, and other formats for file: (ie. file:///), and with or without url(). Everything I tried basically worked with 0.94 but once I'm using the Trunk, no SVG appears in the output as a background or even as an external-graphic. Note this happens with all the SVGS. Below is the SVG partsTable_4ColBG.svg. Is it a problem with the SVG itself or how I'm referencing the SVG? <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN" "http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd"> <svg width="7.25in" height="9.3625in"> <!-- vertical border lines --> <line x1="0.01in" y1="0.01in" x2="0.01in" y2="9.3625in" stroke="black" stroke-width="0.02in" /> <line x1="7.24in" y1="0.01in" x2="7.24in" y2="9.3625in" stroke="black" stroke-width="0.02in" /> <line x1="0.01in" y1="0.35in" x2="7.24in" y2="0.35in" stroke="black" stroke-width="0.01in" /> <!-- horizontal border lines --> <line x1="0.5in" y1="0.01in" x2="0.5in" y2="9.3625in" stroke="black" stroke-width="0.01in" /> <line x1="1.0in" y1="0.01in" x2="1.0in" y2="9.3625in" stroke="black" stroke-width="0.01in" /> <line x1="2.2in" y1="0.01in" x2="2.2in" y2="9.3625in" stroke="black" stroke-width="0.01in" /> </svg> Any help will be appreciated. Marijan (Mario) Madunic Publishing Specialist New Flyer Industries ________________________________ P Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.