Re: svg text and spacing

2005-03-23 Thread jakbri
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: ... In a left-to-right context, your x coor

svg text and spacing

2005-03-23 Thread Pascal Sancho
Hi Jake, This seems to be a specific svg question. You should ask it in a svg list. However, You can use this: ... 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. Pascal > -Message d'origine--

svg text and spacing

2005-03-23 Thread Jake Briggs
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

Re: Instream base64 svg jpeg produces huge pdf document.

2005-02-11 Thread Jeremias Maerki
osted something like 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 0

Instream base64 svg jpeg produces huge pdf document.

2005-02-11 Thread Burlock, Craig (SAPOL)
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

RE: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Richard Mixon (qwest)
st) wrote: > >> 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: >>>> >>

Re: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Thomas DeWeese
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

RE: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Richard Mixon (qwest)
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/> value="${cmSummary.allTimeBestI

Re: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Thomas DeWeese
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/" This means that it is using the base URL for the document to resolve the image reference. The b

RE: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Richard Mixon (qwest)
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/ja

RE: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Richard Mixon (qwest)
Thomas, 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: " y="" width="" height="" preserveAspectRatio="xMinYMin meet" xlink:href="im

RE: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Richard Mixon (qwest)
Thomas, Thank you for the suggestion. I will check that out this morning - Richard -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 5:08 AM To: Batik Users Cc: [EMAIL PROTECTED] Subject: Re: Error FOP/BATIK ... PDFXMLHandler:253 - svg

RE: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Richard Mixon (qwest)
--Original 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

Re: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Thomas DeWeese
Batik.jar with files dates 10/11/2003. [...] 19:34:42,179 ERROR [TP-Processor1] 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-tomcat-5.5.7/webapps/stars/images/allTimeBes

Re: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Jeremias Maerki
es 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 approp

Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built"

2005-02-03 Thread Richard Mixon (qwest)
. 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, or

RE: [Newbie] html+svg+css to pdf workflow

2005-01-26 Thread Andreas L. Delmelle
> -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 -

[Newbie] html+svg+css to pdf workflow

2005-01-26 Thread Eckbert P . Dollhofer
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 HTM

RE: FOP to SVG not including character references in conversion.

2005-01-18 Thread Andreas L. Delmelle
For instance, > • 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 • (or, as some like it better: •) is not provided in the ISO-8859-1 charset. By itself, this

Re: FOP to SVG not including character references in conversion.

2005-01-18 Thread J.Pietschmann
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, • is embedded as the bullet. However, the resultant SVG from the FO Processor does

Re: Fop and SVG with crippled network access.

2005-01-18 Thread Barry Klawans
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

FOP to SVG not including character references in conversion.

2005-01-18 Thread Dave Austin
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, • is embedded as the bullet. However, the resultant SVG from the FO Processor does not include those

Re: Fop and SVG with crippled network access.

2005-01-18 Thread Jeremias Maerki
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 s

Fop and SVG with crippled network access.

2005-01-17 Thread Stuart Moore
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 int

Re: Problem with SVG

2004-10-29 Thread 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

Re: Problem with SVG

2004-10-29 Thread Jeremias Maerki
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

Re: Problem with SVG

2004-10-29 Thread Johannes Franz
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]

Re: Problem with SVG

2004-10-29 Thread Johannes Franz
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

Re: Problem with SVG

2004-10-29 Thread Louis . Masters
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-o

Re: Problem with SVG

2004-10-28 Thread J.Pietschmann
mages 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 i

Re: Problem with SVG

2004-10-28 Thread Johannes Franz
nd 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 w

Re: Problem with SVG

2004-10-28 Thread Johannes Franz
ay, October 28, 2004 9:00 PM 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&#

RE: Problem with SVG

2004-10-28 Thread Andreas L. Delmelle
> -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 accura

RE: Problem with SVG

2004-10-28 Thread Andreas L. Delmelle
> -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 o

Re: Problem with SVG

2004-10-28 Thread Johannes Franz
; Can you send your command line? I'll try it on my side. > > -Lou > > > > > Johannes Franz >[EMAIL PROTECTED] rub.de> cc: > Subject: Re: Problem with

Re: Problem with SVG

2004-10-28 Thread Louis . Masters
cc: Subject: Re: Problem with SVG

Re: Problem with SVG

2004-10-28 Thread Johannes Franz
Perhaps the problem lies in the svg itself. So i attach it to this email. Am Montag, 25. Oktober 2004 17:31 schrieb [EMAIL PROTECTED]: > Add the batik.jar to your classpath. Here is a sample batch file that I > use with FOP 0.20.3 on Windows 2000: > > set > ppp=.;\bin\deploy

Re: Problem with SVG

2004-10-28 Thread Johannes Franz
Hi, batik.jar seems to be added. From my fop.sh: DIRLIBS=${FOP_HOME}/lib/*.jar And batik.jar is located in /lib. So any other idea why this problem occurs? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Conversion of a SVG image (RGB) into PDF (CMYK)

2004-10-26 Thread Chris Bowditch
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

Re: Problem with SVG

2004-10-25 Thread Louis . Masters
cc: Subject: Re: Problem with SVG 10/

Re: Problem with SVG

2004-10-25 Thread Johannes Franz
Ok, i have to include Batik. Could you perhaps explain how to do this? I don't exactly understand the faq. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 25, 2004 1:30 PM Subject: Re: Problem with SVG SVG is not natively

RE: Conversion of a SVG image (RGB) into PDF (CMYK)

2004-10-25 Thread Saptarshi Sen
PROTECTED] Sent: Monday, October 25, 2004 3:35 PM To: [EMAIL PROTECTED] Subject: Re: Conversion of a SVG image (RGB) into PDF (CMYK) Saptarshi Sen wrote: > 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

Re: Problem with SVG

2004-10-25 Thread mathieu . fretiere
>So i searched the web for a SVG, which is about 70kb large 70 kb is rather small. In our application, each page sequence may embed more than 100 external SVG graphics, 15 kb each. I give 128 Mb to the JVM and get no OutOfMemoryError, but our application is rather peculiar and there is only

Re: Problem with SVG

2004-10-25 Thread Louis . Masters
SVG is not natively supported through FOP - it requires Batik. Don't forget to include the Batik jar that came with your FOP distribution. See http://xml.apache.org/fop/graphics.html#batik or http://xml.apache.org/fop/graphics.html#svg

Problem with SVG

2004-10-25 Thread Johannes Franz
Hi there, i wanted to know how many svg images fop can embed before the outofmemory-error occurs. So i searched the web for a SVG, which is about 70kb large. But when i run fop i get the following error message: [ERROR] Batik not in class path [ERROR] Error while creating area : No ImageReader

Re: Conversion of a SVG image (RGB) into PDF (CMYK)

2004-10-25 Thread Chris Bowditch
Saptarshi Sen wrote: 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

Conversion of a SVG image (RGB) into PDF (CMYK)

2004-10-25 Thread Saptarshi Sen
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

Re: SVG in FOP problem

2004-10-07 Thread Jeremias Maerki
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

SVG in FOP problem

2004-10-07 Thread Daniel . Haynes
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 mi

Re: Rendered SVG file does not include images declared in XSL:FO

2004-08-27 Thread J.Pietschmann
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 ---

Re: Rendered SVG file does not include images declared in XSL:FO

2004-08-26 Thread Rick Szeto
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 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 think so. Ok,

Re: Rendered SVG file does not include images declared in XSL:FO

2004-08-26 Thread J.Pietschmann
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 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 is to render the final

Rendered SVG file does not include images declared in XSL:FO

2004-08-26 Thread Rick Szeto
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 tag in FO. I read a post about this problem in as late as March of 2003. Has this not been implemented yet? Since my main

Re: SVG problem

2004-08-16 Thread Jeremias Maerki
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

Re: convert svg flowtext to PDF

2004-08-03 Thread Jeremias Maerki
Hi Martin I'm not sure what you mean by flowtext in SVG. Anyway, the PDF transcoder cannot convert all SVG text into PDF text, yet. Some more complicated constructs are painted using graphical primitives ("stroking"). The documented option didn't work, because it was made o

convert svg flowtext to PDF

2004-08-02 Thread Buskamp Martin
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 in the

RE : problems w/ SVG in FOP

2004-07-21 Thread mathieu . fretiere
>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 PR

problems w/ SVG in FOP

2004-07-20 Thread Marcus Irven
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 http://www.w3.org

RE: SVG problem

2004-07-20 Thread Raphael Parree (Triveratech)
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

Re: SVG problem

2004-07-19 Thread Jeremias Maerki
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 S

SVG problem

2004-07-19 Thread Raphael Parree (Triveratech)
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 be a

hyperlinks inside embedded svg

2004-07-14 Thread Marcus Irven
I'm creating a fo file which has a table with several cells containg svg images. Each svg frament contains a couple of 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

RE: RE : Relative URI in SVG with gradient

2004-07-06 Thread Pascal Sancho
Thx. Pascal -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mardi 6 juillet 2004 10:26 À : [EMAIL PROTECTED] Objet : RE : Relative URI in SVG with gradient SVG gradient rendering doesn't work with FOP 0.20.5. You might solve your URI problem but

RE : Relative URI in SVG with gradient

2004-07-06 Thread mathieu . fretiere
SVG gradient rendering doesn't work with FOP 0.20.5. You might solve your URI problem but rendering won't work... Look at the mailing list archive for more infos. Mat. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Relative URI in SVG with gradient

2004-07-05 Thread Pascal Sancho
Hi everybody, I am trying to include the snipped svg file (witch contains a gradient pattern) in a pdf file as either extrernal graphic or background image. If I use it as this, I get the following error: [ERROR] svg graphic could not be built: file:images/entete.fond.svg:-1 An I/O error occured

Re: Embedding FOP in SVG in FOP?

2004-07-02 Thread J.Pietschmann
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 was rotated. To that end, I was thinking of generatin

Re: Embedding FOP in SVG in FOP?

2004-07-02 Thread Jeremias Maerki
support the current 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 blo

Embedding FOP in SVG in FOP?

2004-07-02 Thread Adam Augusta
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 was rotated. To that end, I was thinking of generating the area in FOP, a

Re: fop and fonts in embeded svg graphics?

2004-06-21 Thread nos...@mrietzler.de
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 if

Re: fop and fonts in embeded svg graphics?

2004-06-20 Thread Jeremias Maerki
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

fop and fonts in embeded svg graphics?

2004-06-20 Thread nos...@mrietzler.de
in my xsl-fo file i have embeded serveral svg-graphics. in this graphics i use to print out a monospaced/courier like font. i get two different results with fop under linux and windows. with the windows-version the text is "graphic" i can't edit with the touchup-tool in ac

nullpointerexception: svg-grafik/text with batik-converted ttf-font

2004-06-16 Thread nos...@mrietzler.de
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

SVG image sizing problem

2004-06-16 Thread Rea, Matthew
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  xm

RE: embeded svg with

2004-05-07 Thread Andreas L. Delmelle
> -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 att

RE: embeded svg with

2004-05-07 Thread Chris Pratt
You have to define the xlink namespace or the parser doesn’t know what that namespace refers to.  You define it just like you defined the svg namespace, so your svg:svg line should probably be:   http://www.w3.org/2000/svg” xmlns:xlink=”http://www.w3.org/1999/xlink”>     (*Ch

Re: embeded svg with

2004-05-07 Thread Clay Leeds
Selber Jean-François wrote: fop code: http://www.w3.org/2000/svg"; width="3.1cm" height="3.6cm"> error: [Fatal Error] :162:122: The prefix "xlink" for attribute "xlink:href" is not bound. FATAL ERROR: The prefix "xlink&quo

embeded svg with

2004-05-07 Thread Selber Jean-François
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:  http://www.w3.org/2000/svg" width="3.1cm" height="3.6cm">      file://C:\photo.jpg"/>    

Re: If SVG is larger than PDF page, does it split image into pages?

2004-03-25 Thread Chris Bowditch
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 doc

If SVG is larger than PDF page, does it split image into pages?

2004-03-25 Thread Evert Hoff
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 pa

Re: Problem with scaling png image file in svg

2004-02-16 Thread Chris Bowditch
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 unsu

Re: Problem with scaling png image file in svg

2004-02-16 Thread Jeremias Maerki
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 require

Re: Problem with scaling png image file in svg

2004-02-16 Thread Chris Bowditch
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 into

Re: Re: Problem with scaling png image file in svg

2004-02-15 Thread Jay Chiu
* 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 in

Re: Re: Problem with scaling png image file in svg

2004-02-13 Thread Jay Chiu
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

Re: Problem with scaling png image file in svg

2004-02-12 Thread Chris Bowditch
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 then

Re: Re: Problem with scaling png image file in svg

2004-02-12 Thread Jay Chiu
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 Date

Re: Re: Problem with scaling png image file in svg

2004-02-10 Thread Jay Chiu
ode 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

Re: Problem with scaling png image file in svg

2004-02-07 Thread Jay Chiu
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

Re: Problem with scaling png image file in svg section

2004-02-06 Thread Jay Chiu
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 in svg section From

Re: Problem with scaling png image file in svg section

2004-02-05 Thread Chris Bowditch
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 of the

Problem with scaling png image file in svg section

2004-02-05 Thread Jay Chiu
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

Re: svg pattern problem

2004-02-03 Thread Jeremias Maerki
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

svg pattern problem

2004-02-03 Thread Hind . Lwahhabi
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 of

Re: How to get ALL parts of a large SVG document in a single PDF page

2003-12-17 Thread Peter Menzel
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. And like you, I just got a clip of the whole image

Re: How to get ALL parts of a large SVG document in a single PDF page

2003-12-16 Thread Jeremias Maerki
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 t

How to get ALL parts of a large SVG document in a single PDF page

2003-12-16 Thread Ron Ben-Natan
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

Re: SVG scaling issue (when rendering 2 SVGs of same height)

2003-12-09 Thread mathieu . fretiere
>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 l

Re: SVG scaling issue (when rendering 2 SVGs of same height)

2003-12-09 Thread Martin Regner
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

Re: SVG scaling issue (when rendering 2 SVGs of same height)

2003-12-05 Thread J.Pietschmann
[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 i

Re: SVG scaling issue (when rendering 2 SVGs of same height)

2003-12-05 Thread mathieu . fretiere
>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) : But... I still have a problem... My svg files are created with Illustrator. But the rendered graphic s

  1   2   3   4   5   6   >