xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Madunic" <Mario_Madu...@newflyer.com>
Subject RE: How to place wmf files into pdf
Date Tue, 02 Mar 2010 18:54:52 GMT
Venkat,

I'm using FOP 0.95 and have tested against 0.94 (also am running java 1.6). Same result for
both with wmf. Also added a task to move the files locally so now I have a the following paths

<fo:external-graphic src="images/test.wmf" />
<fo:external-graphic src="url(images/test.wmf)" />
<fo:external-graphic src="url('images/test.wmf')" />

Tested against a jpg in the same dir and it displayed no problem with all 3 @src values.

Could it be how the wmf was created? Something faulty with the file itself?

Here is a little background as to why the use of wmf. Even though most image file types display
well on the computer screen they do not print well. The only two that do are wmf and svg.
The issue with svg is that the image ends up a bit skewed after creation. All the image types
are created from a source file (Designer file). I have the conf file stating 300dpi source
300dpi target. All images are created at 300dpi.

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

-----Original Message-----
From: Venkat Reddy [mailto:vanukuri.venkat@googlemail.com] 
Sent: Tuesday, March 02, 2010 11:24 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: How to place wmf files into pdf

Hi,

FOPTrunk is the latest development version of source code. What binary 
version of FOP are you using for your tests?
I have used the server path (file://myserver/image/img.wmf) to get my 
output with WMF image file, which is working.
i.e., <fo:external-graphic src="file://server-name/img/Eiffel.wmf"/>

Cheers,
Venkat.
Mario Madunic wrote:
> Venkat,
>
> Thanks for your quick reply.
>
> I've used a similar line to the one you have. I've also wrapped the src in url() to test
that method also. The one difference is that I'm grabbing the images from a network drive
and my src path begins with file:///p:/pathtoimage/image.wmf. I made a jpg of one of the wmfs
to test the path and the path is fine, jpg appears.
>
> What do you mean by FOPTrunk? I am using Windows also (XP sp3) but am using ANT 1.7 to
automate the task.
>
> Marijan (Mario) Madunic
> Publishing Specialist
> New Flyer Industries
>
>
> -----Original Message-----
> From: Venkat Reddy [mailto:vanukuri.venkat@googlemail.com] 
> Sent: Tuesday, March 02, 2010 8:01 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: How to place wmf files into pdf
>
> Hi,
>
> The following line is working for me. I am able to see the WMF image on 
> my PDF output file.
> <fo:block><fo:external-graphic src="Eiffel.wmf"/></fo:block>
>
> I have used the FOPTrunk version on Windows environment.
>
> Cheers,
> Venkat.
>
> Mario Madunic wrote:
>   
>> I can't seem to place wmf graphics into a pdf created using FOP. Thought I read someplace
that this is possible using batik, but that was as far as the explanation went. Any pointers
or solutions would be nice.
>>
>> Thanks
>>
>> 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.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>>
>>   
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
> --------------------------------------------------------------------
> 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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


--------------------------------------------------------------------
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message