Hi Jeremias,
I set an absolute Path, and image is now inserted. OK,
But the quality of insertion is really bad. It won't stick it in the middle,
and don't have it sized as specified in the SVG header width and height. (the
old version of fop did the work properly!). Here the sample FO and SVG header :
FO:
<fo:block text-align="center" padding-after="15pt">
<fo:external-graphic
src="file:///C:/Documents%20and%20Settings/michella/My
%20Documents/EAI/InformationsManagement/XML/Output/Bilder/EA_Diagrammen/SVG/d0000192_PDF.svg"
content-type="content-type:xml/svg" block-progression-dimension="17cm"
inline-progression-dimension="25.7cm"/>
</fo:block>
The SVG Header :
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="355" height="800"
viewBox="75 12 1237 2791" preserveAspectRatio="xMinYMin meet" kerning="0"
xml:space="preserve" style="stroke: black; fill: none;"> <g...>
I may send you the PDF Output in your direct email only (confidentiality
purposes :-( )
Thanks ;-)
Lawrence
-----Ursprüngliche Nachricht-----
Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 20. Juli 2005 12:31
An: [email protected]
Betreff: Re: AW: Not-Solved - Huge size of Output PDF when inserting 49 SVG
Images
On 20.07.2005 12:02:47 michella wrote:
> Hi again,
>
> thanks for your help.
>
> I successfully installed Ant and the latest trunk version of Fop. After
> a bit while fo:table-column redesign requirement, I finally got an
> output PDF. Unfortunately, the SVG Images could not be handled
> correctly. I got the following error :
>
> "No ImageReader for this type of image ((some relative path)/svgImage.svg)
> Image not available : (some relative path)/svgImage.svg
Can you try with absolute paths, please? The image loading stuff may not
be working as it should. If that doesn't help can you please post a
small SVG graphic that produces this problem? Maybe there's also
something wrong with the SVG detection. FOP doesn't really check the
filename extension to detect the file format.
Sorry for the trouble, but we're on the bleeding edge here. :-)
I'll try to find some time between session to try to reproduce what
you're experiencing. No promises, though. It's a busy place here.
> Do I have to add any Batik stuff manually (if not automatically
> supplied in the FOP installed version)?
No. You should use the batik.jar in the lib directory.
> Thanks for your (really!) precious help
You're welcome. I hope we can get somewhere. :-)
> Gruss aus Bern ;-)
:-) Greetings from Stuttgart (ApacheCon), normally located in Lucerne.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]