Hi All
I have a little problem. I need to draw a barchart in svg, imbedded in
fo which is produced in xsl. The problem is, how do i know where to draw
the y axis?
What i mean is, If i want numbers on the left side of the axis thus :
|
15 |
10 |
5 |
0 |___
|
How do i know
Hi Jake,
This seems to be a specific svg question.
You should ask it in a svg list.
However, You can use this:
svg:text x=... y=... text-anchor=end.../svg:text
In a left-to-right context, your x coordinate corresponds to the right
edge of the text box.
You can then easily locate your chart
Quoting Pascal Sancho [EMAIL PROTECTED]:
Hi Jake,
This seems to be a specific svg question.
You should ask it in a svg list.
Oh, yeah, of course. That would be the batik mailing list. Sorry, I didnt
even
think :)
However, You can use this:
svg:text x=... y=... text-anchor=end.../svg:text
Title: Instream base64 svg jpeg produces huge pdf document.
I am trying to produce a pdf document which contains a jpeg image that has been generated using svg with base64 data. The approach does work, however the final pdf document is huge! An essentially empty document with a single 40Kb
this last year. I haven't looked at
it, though:
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgId=1892793
This way you could use an fo:external-graphic instead of an SVG wrapper
which should solve your problem with PDF size.
Hope that helps.
On 11.02.2005 05:55:52 Burlock, Craig (SAPOL
.
I found one Wiki page
(http://wiki.apache.org/xmlgraphics-fop/SvgNotes/PdfTranscoderTrueTypeEm
bedding), but it expects a pure SVG file. I have been wrapping my svg
graphic with FO markup (see below the exception for how it normally
appears)
Any ideas on how to either fix the current problem
it will again take a long time until more people will migrate to
the newer JDK. Just remember how long it took until 1.4 was wide-spread.
I wonder why you persist in using an XSL-FO wrapper when all you want to
do is convert SVG to PDF. In this case Batik's Transcoder API would be
more appropriate
Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 03, 2005 12:34 AM
To: [EMAIL PROTECTED]
Subject: Re: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could
not be built
You're asking for something to work that was written before JDK 1.5 was
out. 1.5 has some
ideas are appreciated. I will probably post on the Tomcat
user list also.
Thank you - Richard
08:18:05,396 ERROR [TP-Processor2] PDFXMLHandler:253 - svg graphic could
not be built: file://c:/jakarta-tomcat-5.5.7/webapps/stars/.:-1
An I/O error occured while processing the URI
'file://c/jakarta
Richard Mixon (qwest) wrote:
I checked my SVG markup and am not sure how I would change this as I'm
using an xlink:href. Here is an example:
xlink:href=images/allTimeBest/c:out
value=${cmSummary.allTimeBestIcon}/
This means that it is using the base URL for the document
to resolve
Thomas DeWeese wrote:
Richard Mixon (qwest) wrote:
I checked my SVG markup and am not sure how I would change this as
I'm using an xlink:href. Here is an example:
xlink:href=images/allTimeBest/c:out
value=${cmSummary.allTimeBestIcon}/
This means that it is using the base URL
again, very much - Richard
Thomas DeWeese wrote:
Hi Richard,
What is 'imageURLProtocol' I'm guessing it's file://
I think it should be either file:/// or file:/.
Richard Mixon (qwest) wrote:
Thomas DeWeese wrote:
Richard Mixon (qwest) wrote:
I checked my SVG markup and am not sure
Hi,
sorry if posting this to the wrong list - please correct me!
I've got this workflow:
HTML with SVG wich is scaled by CSS and modified by Javascript
This Layout shall be converted into PDF with SVG and into HTML with
bitmap Images instead of SVG
So where can I find any hints to do
HTML+CSS
-Original Message-
From: Eckbert P.Dollhofer [mailto:[EMAIL PROTECTED]
Yeah! We like those :-)
Hi,
So where can I find any hints to do
HTML+CSS+SVG - XML-FO - PDF
This is probably caused by a DTD in one of your XML (Source, FO, SVG)
files. It's probably not FOP that does this connection, but rather your
XML parser that fetches the DTD while parsing an XML file. There are
several paths you can go:
- Try removing unnecessary DTD references in your source
I am generating FO files from RTF files with a handy utility called
RTF2FO. I set the character encoding to ISO-8859-1 for linux.
I have several character references in the FO file. For instance,
#8226; is embedded as the bullet. However, the resultant SVG from the
FO Processor does not include
It sounds like the XML parser is trying to download the SVG DTD from
the w3 server. You could try registering a custom entity resolver with
the parser, and then keep a local copy of the SVG DTD. When you get a
request to resolve the SVG DTD, return the local copy instead of going
to the W3C
Dave Austin wrote:
I am generating FO files from RTF files with a handy utility called
RTF2FO. I set the character encoding to ISO-8859-1 for linux.
I have several character references in the FO file. For instance,
#8226; is embedded as the bullet. However, the resultant SVG from the
FO Processor
; is embedded as the bullet. However, the resultant SVG from the
FO Processor does not include those references, just ?'s.
A character corresponding to Character Reference #8226; (or, as some like
it better: #x2022;) is not provided in the ISO-8859-1 charset. By itself,
this doesn't pose a problem --that's
I'm trying to use Fop 0.20.5 to convert a svg file into a pdf.
Unfortunately this computer is on a private IP address and all external
traffic has to go via a http or a socks proxy. We do not have NAT.
When running it, ZoneAlarm says the program is trying to connect to the
internet
I did not realize you were reading in the svg from a file. This is
somewhat new territory for me as all of my svg's are in the XSL.
I don't think you can use an SVG as a source for an external graphic (it's
designed for GIFs and the like). Try using an instream-foreign-object
with your svg
Hi,
just tried it with another svg file and fop runs without an error message. It
is a bit odd that it didn't work with the other file, but external graphic
works with svg.
Do you think it is better to use instream-foreign-object? A better style of
fo?
Am Freitag, 29. Oktober 2004 14:10
By the way does anybody know a good mailinglist or forum to ask questions
concerning svg?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Batik has links to mailing lists for SVG:
http://xml.apache.org/batik/mailList.html
On 29.10.2004 11:00:29 Johannes Franz wrote:
By the way does anybody know a good mailinglist or forum to ask questions
concerning svg?
Jeremias Maerki
IMO whether you use instream-foreign-object or external-graphic is not a
matter of style. It simply depends on where you place your SVG. I'm
using both kinds all the time. The result should be pretty much the same.
On 29.10.2004 10:43:09 Johannes Franz wrote:
just tried it with another svg file
]
rub.de cc:
Subject: Re: Problem with SVG
? I'll try it on my side.
-Lou
Johannes Franz
johannes.franz@ To:
[EMAIL PROTECTED] rub.de cc:
Subject: Re: Problem with
SVG 10/28/2004 06:34
Please
-Original Message-
From: Johannes Franz [mailto:[EMAIL PROTECTED]
Hi,
FYI: since your original question also mentioned 'how many svgs can one
embed before the OOMError occurs?', here's a little advice.
You won't be able to accurately test this with just one SVG, you'd need to
have
-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
FYI: since your original question also mentioned 'how many svgs can one
embed before the OOMError occurs?', here's a little advice.
You won't be able to accurately test this with just one SVG, you'd need
Subject: RE: Problem with SVG
-Original Message-
From: Johannes Franz [mailto:[EMAIL PROTECTED]
Hi,
FYI: since your original question also mentioned 'how many svgs can one
embed before the OOMError occurs?', here's a little advice.
You won't be able to accurately test this with just one
and it doesn't depend on
the time to create the pdf but on the amount of images i can embed.
- Original Message -
From: Johannes Franz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 9:29 PM
Subject: Re: Problem with SVG
Yes,
i just wanted to test first how to embed one
are
unique and it doesn't depend on the time to create the pdf but on the
amount of images i can embed.
It's of no use to clean the cache during PDF rendering, at least
for bitmapped images, due to the way PDF image objects are coded
and the PDF object dictionary is written. SVG is different
Saptarshi Sen wrote:
Hi,
What exactly is the org.apache.fop.dataTypes.ColorSpace.java file
for? Does is provide any kind of support for CMYK?
This is the java class that is used to represent the colour space specified
in
the FO. Although it clearly has enumerations for CMYK, the renderers
Hi,
I am trying to convert an image in SVG format into a PDF using FOP.
The SVG image uses the RGB color scheme. How can I ensure that the PDF output
from FOP uses the CMYK color scheme?
The SVG image is obtained using a charting tool, Corda PopChart,
which does not support CMYK
Hi,
I am trying to get an SVG rendering in a PDF through FOP. I don't get any
errors but just get a black box on the resulting PDF where the image should be.
Does anybody know what I am missing ?
fo:block
fo:instream-foreign-object
Works fine here, except that I had to add the SVG namespace declaration.
But I didn't get a black rectangle, but error messages in the log,
without the namespace declaration.
On 07.10.2004 11:25:24 Daniel.Haynes wrote:
I am trying to get an SVG rendering in a PDF through FOP. I don't get
any
Rick Szeto wrote:
Have a look at the AWT renderer.
The problem with that is that I will be running in a headless
environment, so that is not an option.
Have a look at PJA. Rendering bitmaps shouldn't be completely
out of reach even on headless servers.
J.Pietschmann
Hi,
I am running into this problem with FOP 0.20.5.
I have a FO file which I render to SVG with FOP.
The output SVG does not contain/reference the images declared
by the fo:external-graphic tag in FO.
I read a post about this problem in as late as March of 2003.
Has this not been implemented yet
Rick Szeto wrote:
I have a FO file which I render to SVG with FOP.
The output SVG does not contain/reference the images declared
by the fo:external-graphic tag in FO.
I read a post about this problem in as late as March of 2003.
Has this not been implemented yet?
No.
Since my main goal
J.Pietschmann wrote:
Rick Szeto wrote:
I have a FO file which I render to SVG with FOP.
The output SVG does not contain/reference the images declared
by the fo:external-graphic tag in FO.
I read a post about this problem in as late as March of 2003.
Has this not been implemented yet?
No.
I didn't
I'm sorry it has taken so long but I finally know what's wrong (thanks
to Batik's Thomas DeWeese). Your SVG file doesn't contain a viewBox
attribute in the top-level svg element. The file seems to be created for
a 96dpi environment. In the PDF transcoder you get a 72dpi environment.
Because
hi,
i am a fop newbie and i have a problem transcoding svg flowtext into pdf. I
used the PDFTranscoder class from the samples. The transcoding succeeds, but
the flowtext elements are transcoded into bitmap images. This makes the pdf
file very large. I set the svgStrokeText switch
First of all it appears illegible
Try in Acrobat :
Edit - Preferences - General - Display - Smooth Line Art
(Acrobat 5)
It's a FAQ.
Mat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
and 1.5.1, Adobe SVG Viewer 3 seems to do the same).
I can get around it by scaling my image, but I would like to find out were
the problem lays (might be Sodipodi).
-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 22:43
To: [EMAIL PROTECTED
This may be more of a SVG issue but hopefully someone can let me know
whats going on.
First of all it appears illegible at 100% on versions of Adobe Reader
besides 6.0 and the hyperlinks only work on last cell (this happens no
matter how many cells there are).
Thanks,
Marcus
?xml version=1.0
Hi,
I seem to have a problem with SVG. Most of them work, but
the ones I generate from the UML tool Poseidon give me some problems. In the generated
PDF, the size of the image does not seem to be correct. (it shows about 80% of
my image). I have the svg attached.
This might
What are you using to convert the SVG to PDF?
- FOP 0.20.5, embedding the SVG in an XSL-FO document?
- Batik 1.5.1 with the bundled PDF transcoder?
- FOP CVS HEAD's PDF transcoder?
I've run your file through FOP CVS HEAD and it shows your problem in the
PDF Transcoder. Batik's Squiggle Browser
I'm creating a fo file which has a table with several cells containg
svg images. Each svg frament contains a couple of a elements with
links to external urls. The problem is only the last cell actually
links anywhere. Am I doing something wrong or is this a bug? If
necessary I can send some
development so FOP 1.0 gets into arm's reach.
On 02.07.2004 19:38:50 Adam Augusta wrote:
Apparently FOP doesn't support rotating areas. The compliance page
suggests using SVG, but then I'd have to have radically different
transforms for handling block spacing, progression, etc just because an
area
? This sounds like a difference in
the strokeSVGText
(http://xml.apache.org/fop/configuration.html#svg-strokeSVGText)
config entry. Also, since this happens in an SVG/Batik context this may
be due to differences between the Windows und Linux font subsystems. Try
using a different font just to see
Are your userconfig.xml files the same? This sounds like a difference in
the strokeSVGText
(http://xml.apache.org/fop/configuration.html#svg-strokeSVGText)
config entry. Also, since this happens in an SVG/Batik context this may
be due to differences between the Windows und Linux font subsystems
Hi there,
I am seeing an issue with the image sizing of a SVG image in
the generated PDF. I am using FOP 0.20.5
on WinXP with Sun JDK 1.3.1_03. This also occurs on OpenVMS using the
same version JDK.
The SVG image has the width, height and viewport
set as follows:
svg xmlns=ns_svg
i have a problem with fop 0.20.5 on linux when trying to produce a pdf
document out of my xsl-fo stylesheet.
i have successfully setup fop to use my fonts when rendering text. this
works. but now i want to use svg to embed some grafipcs - no problem so
far. but when i try to use the same font
Hello
I want to embed a svg in my fo code
but this svg has an image and it doesn't
work
can someone help me? (see fop code)
thanks
jf
fop code:
fo:instream-foreign-objectsvg:svg
xmlns:svg="http://www.w3.org/2000/svg"
width="3.1cm" height="3.6cm"
svg:rect x
Selber Jean-François wrote:
fop code:
fo:instream-foreign-object
svg:svg xmlns:svg=http://www.w3.org/2000/svg; width=3.1cm
height=3.6cm
svg:rect x=0 y=0 width=3cm height=3.5cm fill=black/svg:rect
svg:rect x=0.1cm y=0.1cm width=3cm height=3.5cm
fill=black/svg:rect
svg:image x=1 y=1 width
You have to define the xlink namespace or
the parser doesnt know what that namespace refers to. You define it
just like you defined the svg namespace, so your svg:svg line should probably
be:
svg:svg width=3.1cm
height=3.6cm xmlns:svg=http://www.w3.org/2000/svg
xmlns:xlink=http
-Original Message-
From: Selber Jean-François [mailto:[EMAIL PROTECTED]
I want to embed a svg in my fo code
but this svg has an image and it doesn't work
can someone help me? (see fop code)
FATAL ERROR: The prefix xlink for attribute
xlink:href is not bound.
Hi,
Namespace issue
Hi,
I haven't tried this yet, but would like to know in advance what
behaviour I could expect:
I want to make SVG images that are large and span multiple pages (large
diagrams). Then I want to convert the SVG to PDF so that the image spans
multiple pages in the PDF document where each page
Evert Hoff wrote:
Hi,
I haven't tried this yet, but would like to know in advance what
behaviour I could expect:
I want to make SVG images that are large and span multiple pages (large
diagrams). Then I want to convert the SVG to PDF so that the image spans
multiple pages in the PDF document
is enlarged by multiple
of 3. That does seem like a bug.
Another thing I found out is that JIMI support is not required
for png file in svg. So probably fop should be able suport png
file natively.
I am not sure what you mean by this statement. Can you elaborate?
Please have add my change change
It's Batik's job to load images within SVG files. Batik has its own PNG
codec built in. FOP currently can't use it. Batik and FOP use different
ways to load images.
On 16.02.2004 11:15:24 Chris Bowditch wrote:
Another thing I found out is that JIMI support is not required
for png file in svg
Jeremias Maerki wrote:
It's Batik's job to load images within SVG files. Batik has its own PNG
codec built in. FOP currently can't use it. Batik and FOP use different
ways to load images.
Thanks Jeremias
-
To unsubscribe, e-mail
*
3);
TO:
Dimension size = new Dimension(imageInfo.width * ratio,
imageInfo.height);
and
g.fillRect(0, 0, imageInfo.width * ratio, imageInfo.height);
I think it is not necessary to enlarge the image 3 times. After
the change, the PDF image object forpng in svg is almost the
same as that directly
Thanks Chris,
I feel the difference for external png file and SVG are, Fop
uses JIMI to handle the external png file, while Batik loads the
png image into BufferedImageCachableRed object and fop
PDFGraphics2D class handles png image in SVG. The
org.apache.fop.svg.PDFGraphics2D class is equivalent
Chris and Thomas,
Can you please give me some help? Please tell me which files I
should change to solve the problem.
Thanks a lot.
Jay
List: fop-user
Subject:Re: Re: Problem with scaling png image file in svg
From: Jay Chiu jaychiu
Jay Chiu wrote:
Chris and Thomas,
Can you please give me some help? Please tell me which files I
should change to solve the problem.
I have run your sample, and the PNG files referenced by
fo:external-graphic are indeed much better quaility than those embedded
in SVG using svg:image. I
in FOP does?
Thanks.
Jay
On Sat, 07 Feb 2004, Jay Chiu ([EMAIL PROTECTED])
wrote:
Thanks Thomas,
I guess anyone who includes images in SVG may get the same
problem.
We are delivering a report tool to client and the client is
complaining about the chart quality in pdf. Thus we
Thanks Thomas,
I guess anyone who includes images in SVG may get the same
problem.
We are delivering a report tool to client and the client is
complaining about the chart quality in pdf. Thus we are in a
hurry to solve this isse.
If someone has already written some code to solve this issue
also sending the email to batik-user mail list. Hope Batik
team can also help.
Attache please find a svg file , a source png file and generated
png file.
Thanks a lot.
Jay
List: fop-user
Subject:Re: Problem with scaling png image file
I generate fo file with svg section to hold absolute positioned
text and images. If the image size matches the width and height
attributes of the svg:image element, the image in final
generated pdf looks fine. But if the image size is bigger than
the width/height attributes of the svg:image
Jay Chiu wrote:
I generate fo file with svg section to hold absolute positioned
text and images. If the image size matches the width and height
attributes of the svg:image element, the image in final
generated pdf looks fine. But if the image size is bigger than
the width/height attributes
Hello there,
Before searching why mys svg patterns did not work on my pdf output ,
I went to the following url http://xml.apache.org/fop/dev/svg.html, and i
downloaded the svg dealing with patterns: paints.svg.To my surprise the pdf
version was not correct as i saw only black boxes instead
0.20.5's SVG support is far from complete. SVG patterns is one of the
features that isn't implemented there. Some of our output formats don't
even have SVG support.
However, support for SVG patterns is present for PDF output in our main
dev branch (HEAD/redesign) although I'm not sure if it's
Hi,
I ran into nearly the same problem some time ago.
I had a svg with arbitrary height and width and I wanted to fit the image to a
single page (A4).
But my image is directly embedded in fo code, that is given to FOP for pdf
output.
fo:instream-foreign-object
svg:svg /svg:svg
/fo:instream
Hi,
I am posting this question to both the Batik group and the
FOP group - not sure who might be able to help me.
I am running into a problem when trying to transcode SVG content to PDF.
I have quite a large SVG document which is created using JGraph.
It usually has a width of 1100
I can't immediately tell you what's wrong, but I can offer to have a
look into the matter on Friday. Could you provide me/us with a sample of
such an SVG file that's causing you trouble please?
On 16.12.2003 20:30:50 Ron Ben-Natan wrote:
I am posting this question to both the Batik group
I think, i don't understand fully the problem you have, but since i had to
embed different sized Logos in some pdf Document and there was a lot of
problems with transparency with all graphic-formats except svg, i patched th
PDFRenderer of fop. So i can do something like that.
xsl:template
i can send you my fop.jar if you like
thanks but I think it won't help me.
i don't understand fully the problem you have
I want to insert svg files created with Ilustrator. The dimensions are in
pt but I want mm so I change the svg's width and height attributes, and
leave other attributes
Hello,
I'm trying to render a pdf containing external svg graphics and I
encounter a scaling problem.
I know this topic was already discussed, but I want to know if there's
something new.
I put two SVGs in a table, in the same row, in two cells. These SVG have
the same height, but different
It may comes form your view box in svg documents : one is 56. width, the
other only 16
-- -Message d'origine-
-- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
-- Envoyé : vendredi 5 décembre 2003 16:27
-- À : [EMAIL PROTECTED]
-- Objet : SVG scaling issue (when rendering 2
It may comes form your view box in svg documents : one is 56. width,
the other only 16
Thanks, that's right.
It works if I use a SVG like this (without viewbox) :
?xml version=1.0 encoding=utf-8?
svg width=56.249 height=150
path fill=#309E2D d=M56.249,150H0V0h56.249V150z/
/svg
[EMAIL PROTECTED] wrote:
My svg files are created with Illustrator. But the rendered graphic size
(in the pdf) is dynamic (depends on the application user's choice).
As there is no scaling mechanism for SVG graphics,
No. The SVG is always rendered at the dimensions given in the
SVG itself
Title: fo:external-graphic does not support SVG when src is an url
Hi!
I found a problems when using urls instead of files for fo:external-graphic's src paramater.
xsl:param name=imagebasehttp://localhost:8080/img/xsl:param
...
fo:external-graphic height=15pt width=180pt
xsl:attribute
Title: fo:external-graphic does not support SVG when src is an url
Make sure that the web server returns a correct
content-type (MIME) for svg.
image/svg+xml if I remember correctly
/G
- Original Message -
From:
Unger, Joachim
To: [EMAIL PROTECTED]
Sent: Wednesday
-Original Message-
From: Unger, Joachim [mailto:[EMAIL PROTECTED]
I found a problems when using urls instead of files for
fo:external-graphic's src paramater.
What kind of problems exactly? The image does not get picked up or what?
snip/
It works in 95% of all cases with APACHE.
Title: fo:external-graphic does not support SVG when src is an url
Hi
Gunnar!
I debugged FOP
source code andfound that the error is an IOException thrown by
Batik.
My IIS logged a
http error 406.
The Mime type is
okay. Don't forget: it works in "most" cases with Apache.
R
I am trying to create a SVG output from fo, but the
special charaters are not handled exactly as I
expected.
FOP added several white spaces after it. The fo is
very simple, just have one special character ' in
it.
If you look at the SVG, it actually break one word
into two lines.
Anyone knows how
-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
-Original Message-
From: Zhong Yi [mailto:[EMAIL PROTECTED]
snip/
If you look at the SVG, it actually break one word
into two lines.
I also tested it using Boyapos;s but the string gets broken
]
Subject: RE: SVG output special character
-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
-Original Message-
From: Zhong Yi [mailto:[EMAIL PROTECTED]
snip/
If you look at the SVG, it actually break one word
into two lines.
I also tested
-Original Message-
From: Koes, Derrick [mailto:[EMAIL PROTECTED]
Ah, opacity is not a problem with jpegs. However, svg graphics such as
text appear less crisp than the original SVG, especially when printing.
Hi,
That's a FAQ. Check http://xml.apache.org/fop/graphics.html#svg-pdf
I know that opacity is a problem as evidenced known problem
6.
http://xml.apache.org/fop/graphics.html#svg-problems
However, does anyone know why?
I attempted to work around this issue by converting the image first to png (tried tiff and jpeg too). The opacity is there with png
Hello
Not
sure why this is a problem. I use batik to create JPGs with transparency from
SVG input. I then embed these with FOP. Have you tried rasterising your SVG
separately ?
Chrus
-Original Message-From: Koes, Derrick
[mailto:[EMAIL PROTECTED]Sent: 31 October 2003
13
Ah, opacity is not a problem with
jpegs. However, svg
graphics such as text appear less crisp than the original SVG, especially when
printing.
-Original Message-
From: Chris Faulkner
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 8:36 AM
To: [EMAIL PROTECTED
Hi fop user,
i define a svg graphic in my .fo file with the
following code:
fo:block
fo:instream-foreign-object
svg:svg width=21.182cm height=29.700cm
xmlns:svg=http://www.w3.org/2000/svg;
svg:rect x=0.90cm y=0.780cm width=8.050cm
height=0.400cm fill=#FF stroke=#FF
stroke-width=0.5px
From: Christoph Brunner [EMAIL PROTECTED]
snip/
Now i want to use this svg graphic on several places.
Is it possible to reference the svg definition any
time in the .fo file, without using
fo:external-graphic?
I want to define the graphic in the .fo file and not
outside!
I believe it is possible
Hi,
I'm a Newbie in using FOP. I wrote some simple XSL-FO Files and created
some nice PDFs. Now I want to embed a SVG in the XSL-FO file.
My XSL-FO:
fo:instream-foreign-object
svg width=150 height=150 xmlns=http://www.w3.org/2000/svg;
polygon points=10,10 50,50 100,10 stroke
Since you use jdk1.4, I have to ask: have you recompile FOP using
jdk1.4?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 11:19 AM
To: [EMAIL PROTECTED]
Subject: RE: Problems with SVG
FOP uses Batik to render SVG. It is strongly
George Yi wrote:
Since you use jdk1.4, I have to ask: have you recompile FOP using
jdk1.4?
No. I use the WIN32 binary.
mathieu fretiere wrote:
FOP uses Batik to render SVG. It is strongly recommended that you use
the batik version that is bundled with FOP (the jar is batik.jar).
I use
Christoph Brunner wrote:
Now i want to use this svg graphic on several places.
Is it possible to reference the svg definition any
time in the .fo file, without using
fo:external-graphic?
There are no references within the FO doc itself.
Another possiblity to get multiple copies from a master
Florian NOURI wrote:
i tested .fo files. fo files convert svg2pdf. But when i use external.fo
file with cocoon, i have a text as this :
%PDF-1.3
...
This looks like PDF. Why do you think it's text? Does
Acrobat Reader complain?
J.Pietschmann
1 - 100 of 390 matches
Mail list logo