PNG question, and Link to cgi script that generates image example

2003-02-05 Thread Rich Gibson
Hi, I've figured out how to link to a file that contains a gif or jpg image, but not a png. After reading the FAQ I extracted the file JimiProClasses.zip from the Jimi library, and renamed it 'jimi-1.0.jar' and moved it to FOP's lib directory. That gives me the message: Exception on threa

RE: Class not found applet error

2003-02-05 Thread Matthew Lancashire
When I I copied all these in the the classes folder. Can I not get the JRE to look here? -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: 04 Feb 2003 20:17 To: [EMAIL PROTECTED] Subject: Re: Class not found applet error Matthew Lancashire wrote: > When I access the

Re: Class not found applet error

2003-02-05 Thread Oleg Tkachenko
Matthew Lancashire wrote: When I I copied all these in the the classes folder. Can I not get the JRE to look here? Read html specification, http://www.w3.org/TR/html401/struct/objects.html#edef-APPLET, archive = uri-list [CT] This attribute specifies a comma-separated list of URIs for archive

How to stop a render FOP ?

2003-02-05 Thread Philippe PITHON
How to stop a render FOP ?

Re: external-graphic problem

2003-02-05 Thread Oleg Tkachenko
Mihael Knezevic wrote: thanx for the response. correct me if i'm wrong, but i thought the base dir must only be set if i use this in a servlet? baseDir *may* be set if you need it. Environment doesn't matter, that's just a convenient way to resolve relative URI's. -- Oleg Tkachenko Multiconn Tech

RE: external-graphic problem

2003-02-05 Thread Mihael Knezevic
thanx again. -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 11:25 AM To: [EMAIL PROTECTED] Subject: Re: external-graphic problem Mihael Knezevic wrote: > thanx for the response. correct me if i'm wrong, but i thought the > base dir

RE: Class not found applet error

2003-02-05 Thread Matthew Lancashire
Is there no way around using the archive attribute to d/l the jars. I can ensure that they are already on the client machine. Does this not help? -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: 05 Feb 2003 10:02 To: [EMAIL PROTECTED] Subject: Re: Class not found app

Re: Class not found applet error

2003-02-05 Thread Oleg Tkachenko
Matthew Lancashire wrote: Is there no way around using the archive attribute to d/l the jars. I can ensure that they are already on the client machine. Does this not help? Then it seems to me you are using wrong hammer, afair applets cannot access client file system. If you want to start java appl

Re: How to adjust page layout

2003-02-05 Thread Mohamed Abdel Hamid
thanx for your answer about printer setting which i adjust is only paper size ( i choose A4) becuase i adjust page on this size. there is another option called Scale to fit in the printer setting but i didn't try it yet . - Original Message - From: "Oleg Tkachenko" <[EMAIL PROTECTED]> To:

Problem with imported footer

2003-02-05 Thread Miltos Margetis
Hello: I made an xsl:fo file, whitch imports another xsl:fo so as to implement the footer.Both files match data from the same xml. Everything seem ok by now, except the position of my footer (its a table with one row, and the column number depend from 1 to 6).How can i centralised the footer wit

Re: Converting SVG files to different file formats

2003-02-05 Thread Hans Stoessel
"Thomas E Deweese" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > > "HS" == Hans Stoessel <[EMAIL PROTECTED]> writes: > > HS> I try to do that on different ways, f.e. with Batik, FOP > HS> and Image Magick, but the results are bad. > > I guess we need to understand wha

Suppress new line creation in a fo:block

2003-02-05 Thread Celine Murphy
Hi,   I am trying to place text thus:   MyCompany    MyDate   currently i am using which works but if the length of either of these changes then it goes on to a new line. I would ideally like to use a fo:block and suppress th

AW: Suppress new line creation in a fo:block

2003-02-05 Thread "Zieseniß, Markus"
try it with table: MyCompany   Date best regards Markus > -Ursprüngliche Nachricht- > Von: Celine Murphy [SMTP:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 5. Februar 2003 16:32

How: calculate the length of a text

2003-02-05 Thread Unger, Joachim
How can I calculate the length (in mm) of a text before output? Is there a solution für FOP? Regards, Joachim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How: calculate the length of a text

2003-02-05 Thread Clay Leeds
You could use a monospace font (e.g., font-family="Courier New, Courier, monospace"), measure the width of each character, and then count the number of characters. Of course, the font-size, will be significant. 8pt Courier text is a little <2mm wide. You'd also have to consider that spaces at t

RE: Suppress new line creation in a fo:block

2003-02-05 Thread Celine Murphy
Title: RE: Suppress new line creation in a fo:block Thank you Markus - this works perfectly. By the way what does   mean?? -Original Message- From: "Zieseniß, Markus" [mailto:[EMAIL PROTECTED]] Sent: 05 February 2003 15:56 To: '[EMAIL PROTECTED]' Subject: AW: Suppress new line creati

Re: Suppress new line creation in a fo:block

2003-02-05 Thread Clay Leeds
Celine Murphy wrote: Thank you Markus - this works perfectly. By the way what does   mean??   is a non-breaking space (similar to HTML's  ). More info on it can be found here (watch wrap): http://www.zvon.org/other/charSearch/PHP/search.php?request=160&searchType=2 -- Clay Leeds - [EMAIL PROTECTED]

AW: How: calculate the length of a text

2003-02-05 Thread Unger, Joachim
I cannot use monospaced fonts - i forgot to write that ! Joachim -Ursprüngliche Nachricht- Von: Clay Leeds [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 5. Februar 2003 17:16 An: [EMAIL PROTECTED] Betreff: Re: How: calculate the length of a text You could use a monospace font (e.g., fo

RE: How: calculate the length of a text

2003-02-05 Thread Mihael Knezevic
if you want to calculate the width of the text on the screen then perhaps the class java.awt.FontMetrics is of some help though i never needed it and don't know exactly how it works. have a look at the javadocs. -Original Message- From: Unger, Joachim [mailto:[EMAIL PROTECTED] Sent: Wed

Xerces 1.2.1 - Sax parsing

2003-02-05 Thread Sharma, Siddharth
Title: RE: Suppress new line creation in a fo:block Sorry for posting an XML query in an FOP forum, but I reckon most folks here are Xml gurus as well. I am using Xerces 1.2.1 (ships default with WAS 4.0.3).   My Xml looks like this: ... answer & question...   Please note the "escaping" of

suppress sign in header on last page

2003-02-05 Thread "Zieseniß, Markus"
Hello, I have a floating text (1..n pages) and need a sign for our inserter (enveloping machine), which appears on all pages except the last. I tried to put the inserter-sign in the header, but this sign is also printed on the last page. Then I tried to overwrite this sign by a white-bitmap graphi

Re: suppress sign in header on last page

2003-02-05 Thread Clay Leeds
Zieseniß, Markus wrote: Hello, I have a floating text (1..n pages) and need a sign for our inserter (enveloping machine), which appears on all pages except the last. I tried to put the inserter-sign in the header, but this sign is also printed on the last page. Then I tried to overwrite this sign b

Re: suppress sign in header on last page

2003-02-05 Thread Toufic Nehme
Hi, I had the same problem and somebody on this list suggested something like this. In your

AW: suppress sign in header on last page

2003-02-05 Thread "Zieseniß, Markus"
I also thought so, but page-position="last" did not work. > -Ursprüngliche Nachricht- > Von: Toufic Nehme [SMTP:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 5. Februar 2003 18:29 > An: [EMAIL PROTECTED] > Betreff: Re: suppress sign in header on last page > > Hi, > I had the sam

RE: Converting SVG files to different file formats

2003-02-05 Thread Victor Mote
Hans Stoessel wrote: > I have a Java (JDK 1.4.1) standalone application which generates SVG files > (Charts with JFreeChart). This charts should be converted into different > file formats like JPG, PDF and maybe EPS. The converted files must be high > quality files for printing media. I try to do

embed Fonts in FOP (not from the command line)

2003-02-05 Thread Noel Golding
I need to create a pdf that embeds the fonts. >From what I could find in order to use the userconfig.xml file you need to use the command line. I have embeded FOP into a JAVA application and I am not sure how to proceed setit to use the config file. I am using FOP 2.0.1 Thank you Noel Golding

Re: embed Fonts in FOP (not from the command line)

2003-02-05 Thread Oleg Tkachenko
Noel Golding wrote: I need to create a pdf that embeds the fonts. From what I could find in order to use the userconfig.xml file you need to use the command line. I have embeded FOP into a JAVA application and I am not sure how to proceed setit to use the config file. That's a faq, see http://xml.a

Re: embed Fonts in FOP (not from the command line)

2003-02-05 Thread Louis . Masters
Actually, I don't use the userconfig.xml file anymore. I set most of my config info in my java class. For example: Configuration.put("baseDir", "file:" + new File(".").getAbsolutePath()); or Configuration.put("fonts", allFonts); Check out FontTriplet and FontInfo in the API. -Lou "Noel G

Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-05 Thread alex elsholz
Hi, Check the FAQ for hints and caveats: http://xml.apache.org/fop/faq.html#faq-N10597 public static void main(String args[]) { try { Driver driver=new Driver(); driver.setOutputStream(new FileOutputStream(args[2])); driver.setRenderer(Driver.RENDER_PDF); Transformer

Re: Converting SVG files to different file formats

2003-02-05 Thread J.Pietschmann
Hans Stoessel wrote: Bad quality means that the text (fonts) is bad looking (rasterd, gray not black, ...). It seems to be the resolution or something like that. FAQ. See http://xml.apache.org/fop/faq.html#faq-N1036C Do you have a code example how I can convert SVG to PDF using Batik/FOP? Waht do

Re: PNG question, and Link to cgi script that generates image example

2003-02-05 Thread J.Pietschmann
Rich Gibson wrote: I've figured out how to link to a file that contains a gif or jpg image, but not a png. ... Exception on thread 'main' java.lang.NoClassDefFoundError: javax/media/jai/PlanarImage I assume that I have the wrong version of jimi, or I did something wrong :-) Any thoughts? Hm. Maybe

Re: White space

2003-02-05 Thread J.Pietschmann
Sal Tarantola wrote: As I said I know that the whole white-space issue has been tackled before. That's why there is a FAQ entry: http://xml.apache.org/fop/faq.html#faq-N10583 J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: special characters

2003-02-05 Thread J.Pietschmann
Jon Steeves wrote: The special characters that didn't appear in the previous email are: pi, omega, and sigma. Well, as Roland said, chances are you need to declare the XML file to be encoded in the greek subset of ISO-8859 (IIRC If this causes the parser to choke, use character references. Pull

Re: Problem with imported footer

2003-02-05 Thread J.Pietschmann
Miltos Margetis wrote: I made an xsl:fo file, whitch imports another xsl:fo so as to implement the footer.Both files match data from the same xml. Everything seem ok by now, except the position of my footer (its a table with one row, and the column number depend from 1 to 6).How can i centralise

Re: How: calculate the length of a text

2003-02-05 Thread J.Pietschmann
Unger, Joachim wrote: How can I calculate the length (in mm) of a text before output? Why do you think you need this? Is there a solution für FOP? Wrong question. There is always a solution in software. J.Pietschmann - To unsubscri

Re: suppress sign in header on last page

2003-02-05 Thread J.Pietschmann
Toufic Nehme wrote: Page-position="last" is not implemented in FOP. There are several ways in the list archive to get around this though. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-05 Thread J.Pietschmann
alex elsholz wrote: but thats not what i want. I'm looking for an solution to calculate the number of pages without the complete rendering process. Great idea. If you tell me how to do it, I'll implement it. Note: In general, you can't know how many pages a text fills unless you actually filled the

security exception with font metrics creation

2003-02-05 Thread Alexander Koppelhuber
I tried to create a font metrics file from a true type font and got the following exception: This font contains no embedding license restrictions java.lang.SecurityException: class "org.apache.fop.fo.Unknown$Maker"'s signer information does not match signer information of other classes in the same