Eric,

I'm using external-graphic for all non-background images to keep the file size 
down. I have the FO file down to around 20 megs from whopping 250 megs. I also 
remove all the <xsl:comments /> I place in the output, this saves another 20 
megs. They are used to inform me where the various attributes and their values 
are coming from for style debugging.

I'll try and place them inline and see what happens.

If you don't mind can you post one of your SVGs? Just want to see the root 
element (don't need the content itself) and any DTD/XSD declarations. I want to 
compare what you have and see how mine are different, if there any differences.

Thanks

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

From: Eric Douglas [mailto:[email protected]] 
Sent: Tuesday, July 06, 2010 8:10 AM
To: [email protected]
Subject: RE: Problems with SVG display as background to region-body (FOP-Trunk)

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:[email protected]] 
Sent: Tuesday, July 06, 2010 9:00 AM
To: [email protected]
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

________________________________________
 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.


--------------------------------------------------------------------
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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to