Re: Changing logging behavior in an embedded application.

2006-03-06 Thread Jeremias Maerki
Apache FOP uses Apache Jakarta Commons Logging as a logging abstraction kit. [1] should give you the basics and has links to further information on configuring logging the way you want it to behave. I hope that helps. [1] http://xmlgraphics.apache.org/fop/0.91/embedding.html#basic-logging On

Keeping tables together.

2006-03-06 Thread Andre Groeneveld
Hi all, Is there a way of keeping two tables together on the same page? The two tables are different in column sizes, the first table has for example 2 columns and the second table has 5 or 6 columns. Thanx, Confidentiality Caution and Disclaimer This message and/or any

Re: NPE

2006-03-06 Thread Florent Georges
Andreas L Delmelle wrote: On Mar 6, 2006, at 01:25, Florent Georges wrote: Andreas L Delmelle wrote: The problem is an empty fo:instream-foreign-object. Thanks for the solution (mmh, this file passed my validator, I'll have to check that). Well, AFAICT, it's not really empty from

RE: Keeping tables together.

2006-03-06 Thread Rymasz Jacky
THe way I know to keep two differents elements (tables, images, etc...) is to put them into a table and use the keep-with-next attribute on the "main" table cells... - create a main table with 1 column and 2 rows - put your first table into the first cell of the main table - put your

getting veradana font to work

2006-03-06 Thread Tracey Zellmann
I am not able to get Verdana to work. I have tried to follow the documentation. I have also read the recent emails about embedded font problems, but I can't quite follow the details. I am getting this error. SEVERE: svg graphic could not be rendered: null java.lang.NullPointerException at

Re: getting veradana font to work

2006-03-06 Thread Dirk Bromberg
Have you seen the typo error ?: font metrics-url=fle:///C:/unzipped/fop-0.91beta-bin-jdk1.4/fop-0.91beta/ttfcm.xml --- font-triplet name=Verdana style=normal weight=normal/ /font Dirk Tracey Zellmann wrote: I am not able to get Verdana to work. I have tried to

Re: getting veradana font to work

2006-03-06 Thread Tracey Zellmann
HOORAY! You are exactly right. That was it. I was tearing out my hair. Sorry to take your time with a typo, but I just couldn't find it without another pair of eyes. - Original Message - From: Dirk Bromberg [EMAIL PROTECTED] To: fop-users@xmlgraphics.apache.org Sent: Monday, March

Problem with multiple font-family values

2006-03-06 Thread lee.garner
Title: Problem with multiple font-family values I have a block of text which contains English and Japanese (kanji) characters. I'd like the kanji to be displayed in Arial Unicode with the English characters using Arial Narrow. Using FOP 0.20.5. I've tried various options along the lines of

Re: Problem with multiple font-family values

2006-03-06 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: snip/ The first listed font appears to get used. In the above example the English is OK and the kanji glyphs display as squares in the output pdf. With font-family=ArialUni, ArialNarrow the kanji displays OK but the English is also using ArialUni glyphs. I've

Hello, about fop

2006-03-06 Thread chinlu chinawa
Hi, I've been around the installation of trunk's version of FOP, which I've ended up by not being able to use beacuse of my system is too old (libc-2.2, gcc 2.95.3), and the java version you've lately updated to, doesn't run here. Actually, very likely, the only version I'd able to use, would be

FOP 0.90.1 Servlet

2006-03-06 Thread Cam T
Hello I'm a newbie to FOP. Has anyone used the last FOP 0.90.1 in a servlet... I have found a version of the servlet on the internet but that was for FOP 0.2X days. Many thanks

xslt using fop 0.90.1 to convert xml to rtf

2006-03-06 Thread Cam T
Hello Have servlet to use FOP 0.90.1 to render from fo to pdf from the examples to work. Would anyone with example of how to render xml to rtf using xslt... Would one need to render from xml to fo first and then to rtf. If so is there any standard xslt to render xml to fo? All suggestions much

Re: Chinese hyphenation particularity

2006-03-06 Thread Jeremias Maerki
There's not much else you can do other than to try to handle/work-around everything in XSLT. FOP does not have special code to handle languages like Chinese. We lack the knowledge set in the project team. Every now and then we talk about implementing UAX#14 line breaking but so far nobody had the

Re: page sequencing for parallel print

2006-03-06 Thread Jeremias Maerki
Hmm, I don't think that will help Christiane. This doesn't allow you to alternate between two flows. XSL 1.0 only supports one flow per page-sequence. Maybe the flow maps in the upcoming XSL 1.1 might help. But these are not supported by FOP, yet. My suggestion is to render the two editions after

Antwort: Re: Changing logging behavior in an embedded application.

2006-03-06 Thread Eckard_Buchner
FOP does have a few System.out.println calls in its source code but these are only in places where those are ok, i.e. in command-line handling code IMHO this is not the case with the TTFReader. It tells you about each file it reads and writes. If you convert a couple of files at once this is

Re: Hello, about fop

2006-03-06 Thread Jeremias Maerki
So, you can't install at least a JDK 1.3.1? That would seem very odd. Many people work with DocBook and FOP 0.20.5 or FOP 0.91beta and seem to be relatively happy. There are some issues, yes, but the problems you describe are, to my knowledge, not among them. I'm not sure how to help you any

Re: Howto align tables to fill width

2006-03-06 Thread Jeremias Maerki
What you describe is actually something that FOP is supposed to do automatically but so far hasn't learned to do. This is described in [1] for the fixed table layout. At the moment, you probably need to do some calculation in XSLT and add to the column widths yourself. [1]

Re: xslt using fop 0.90.1 to convert xml to rtf

2006-03-06 Thread Jeremias Maerki
You're mixing things. You're using XSLT exclusively to convert any XML to XSL-FO. FOP will then intepret the XSL-FO and convert it to the desired target format (PDF, PS, RTF etc.) depending on the parameters you pass in. You should have a look at the embedding examples which is a step-by-step

Re: Antwort: Re: Changing logging behavior in an embedded application.

2006-03-06 Thread Jeremias Maerki
You're welcome to improve TTFReader in FOP Trunk if it doesn't do exactly what you want it to do. TTFReader was never designed to be used as anything else than a command-line tool which is called once for each font. If people have additional needs we're gladly accepting patches against FOP Trunk.