break-after

2005-12-21 Thread Dominic Br
Hi, Just a question: is the break-after=page attribute on block level implemented in fop 0.90alpha? We had problems with this attribute but when rearranging the things and turning it into break-before=page everything worked well... Regards Dominic

Re: break-after

2005-12-21 Thread Jeremias Maerki
It is supposed to work. We have tests in our test suite that test for the functionality but maybe you hit a bug. Please send an example that shows the problem. On 21.12.2005 09:43:08 Dominic Brügger wrote: Hi, Just a question: is the break-after=page attribute on block level implemented in

Re: break-after

2005-12-21 Thread Dominic Br
I will send it to your personal email address... Dominic It is supposed to work. We have tests in our test suite that test for the functionality but maybe you hit a bug. Please send an example that shows the problem. On 21.12.2005 09:43:08 Dominic Brügger wrote: Hi, Just a question: is

Bookmark Support in fop-0.90alpha1

2005-12-21 Thread Joern . Karthaus
Hello List I'm just experimenting with fop-0.90alpha1 and the new Bookmark functionality FOP render these Code without errors : ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform xmlns:fo=http://www.w3.org/1999/XSL/Format xsl:output indent=yes/

Re: Bookmark Support in fop-0.90alpha1

2005-12-21 Thread Jeremias Maerki
Please check the log output from FOP. If the bookmark code cannot find an id in the document that you refer to using internal-destination then the bookmarks seem to be skipped at the moment. On 21.12.2005 12:10:59 Joern.Karthaus wrote: Hello List I'm just experimenting with fop-0.90alpha1 and

Re:Re: Bookmark Support in fop-0.90alpha1

2005-12-21 Thread Joern . Karthaus
Thanks Jeremias for your Quick Answer I found the Reason : When you use the internal-destination=headDest3 twice (with the same ID [I do so for testing]) then the complete Bookmark is skipped ! Is this a bug ? Joern Karthaus Please check the log output from FOP. If the bookmark code

Re: Bookmark Support in fop-0.90alpha1

2005-12-21 Thread Jeremias Maerki
Yes, this seems to be a bug. Only the first bookmark receives the resolved target. The second one is skipped. I've filed a bug in Bugzilla. http://issues.apache.org/bugzilla/show_bug.cgi?id=37993 On 21.12.2005 15:03:26 Joern.Karthaus wrote: Thanks Jeremias for your Quick Answer I found the

baseline-shift problem

2005-12-21 Thread Christian Loock
Hi, is der any known issue using the basline-shift attribute in fop 20.0.5? Ofo:character character=2 baseline-shift=sub/ Doesn't show any effect on the 2. It's shown in the PDF like O2. Can anybody figure out what went wrong here? I'm looking forward to hearing from you, Christian

Re: baseline-shift problem

2005-12-21 Thread Jeremias Maerki
Under 0.20.5 you need to use vertical-align=sub instead. And you need to use fo:inline instead of fo:character for vertical-align to work. Of course, none of these restrictions apply to FOP 0.90alpha1. ;-) On 21.12.2005 16:15:03 Christian Loock wrote: Hi, is der any known issue using the

RE: baseline-shift problem

2005-12-21 Thread Christian Loock
Ah ok. But what if the letter is pushed down to far? Afaik baseline-shift allows values like -120% wich allow you to specify how far the text ist shifted. How can i do so with vertical-align? Christian Loock -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent:

Re: baseline-shift problem

2005-12-21 Thread Jeremias Maerki
You can't with 0.20.5. You'll have to upgrade to FOP 0.90alpha1 to have better control over baseline displacement. On 21.12.2005 16:55:06 Christian Loock wrote: Ah ok. But what if the letter is pushed down to far? Afaik baseline-shift allows values like -120% wich allow you to specify how

Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha

2005-12-21 Thread Jay Bryant
Hi, all, I'm creating reports for a new client. The reports consist entirely of tables (not blind tables used for layout but actual tabular content). In 0.20.5, I can't get keep-together or keep-with-next to work on a table row. I get page breaks within table-cells. In .90alpha, I don't get

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha - followup

2005-12-21 Thread Jay Bryant
Hi, all, I'm creating reports for a new client. The reports consist entirely of tables (not blind tables used for layout but actual tabular content). In 0.20.5, I can't get keep-together or keep-with-next to work on a table row. I get page breaks within table-cells. In .90alpha, I don't

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha

2005-12-21 Thread Jeremias Maerki
I'm not so much into 0.20.5 these days, so without a demo file to start from (to save time) I can only try to help you with 0.90. We do have some problems with collapsing nbsps as you might have seen on this list lately. What I think could work for you is to specify

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha - followup

2005-12-21 Thread Jeremias Maerki
On 21.12.2005 22:16:46 Jay Bryant wrote: Hi, all, I'm creating reports for a new client. The reports consist entirely of tables (not blind tables used for layout but actual tabular content). In 0.20.5, I can't get keep-together or keep-with-next to work on a table row. I get page

fop-0.90.alpha1: SVG graphic outside bounds of table cell when using PDF

2005-12-21 Thread Ryan Gustafson
Hello, I'm using fop-0.90.alpha1. The following is a sample XSL-FO document which when converted to PDF results in the SVG graphic on the last row of the table being outside the bounds of the table cells. Notice the other identical graphics which correctly render inside the bounds of the table

Trying to use TTFReader

2005-12-21 Thread Manuel Strehl
Hi. I was trying to use the TTFReader to render a TTF font to a metric file. I used the command provided in the documentary (Win XP, Java1.5.0, FOP 0.20 and 0.90, command: java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar; lib\xercesImpl.jar;lib\xalan.jar

Re: fop-0.90.alpha1: SVG graphic outside bounds of table cell when using PDF

2005-12-21 Thread Jeremias Maerki
Ryan, you should work with a viewBox attribute on the svg root element. Otherwise, the simple numbers for widths are interpreted as pixels at 72dpi which causes the SVG to appear with a fixed width. Furthermore, it is a good idea to specify the size of the SVG itself as a length (pt, for

Re: Trying to use TTFReader

2005-12-21 Thread Jeremias Maerki
Our fault. We missed a little detail on the page that documents fonts for 0.90. You need to add an entry for lib\commons-logging-1.0.4.jar (and lib\commons-io-1.1.jar) on the command-line because that's where org/apache/commons/logging/LogFactory is found. The following works for me on JDK 1.4

Re: Trying to use TTFReader

2005-12-21 Thread J.Pietschmann
Manuel Strehl wrote: I was trying to use the TTFReader to render a TTF font to a metric file. I used the command provided in the documentary (Win XP, Java1.5.0, FOP 0.20 and 0.90, command: java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha - followup

2005-12-21 Thread Jay Bryant
Hi, Jeremias, I used block-containers with height attribute values wrapped around empty blocks to make my spacer blocks, so I've gotten the .90alpha solution to work. Combined with the -q option to shut off all the to-do messages, it'll work. That seems like a hack. Please try my

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha

2005-12-21 Thread Jay Bryant
What I think could work for you is to specify block-progression-dimension.minimum=1em on a table-row. In that case, a row cannot collapse even if you only use a minimum fo:block/ inside the table-cells. That didn't work with 0.90. Here's a snippet from what I tested: fo:table-row

when apache FOP will full support font-family lists and font-selection-strategy ?

2005-12-21 Thread Guangxian Zou
hi , thanks fop developers. :) i am using fop to translate xml to fo and then to pdf. :) I want to mixing chinese and english font, when print/render english use english font, and when print/render chinese character use chinese font. :) but I don't know how to do that in the current fop

Re: fop-0.90.alpha1: SVG graphic outside bounds of table cell when using PDF

2005-12-21 Thread Ryan Gustafson
Jeremias, Thank you, I don't know why those things would actually make a difference, but they do. The following works as a great checkbox, and it positions properly (it's not way off on the left margin of the page in neverneverland): fo:instream-foreign-object

Re: when apache FOP will full support font-family lists and font-selection-strategy ?

2005-12-21 Thread Jeremias Maerki
Both properties are not fully implemented even in the latest release FOP 0.90alpha1. Either you have to place either the Chinese or the English text in fo:inlines and specify the different fonts on the inlines or if you have a TrueType font that supports both Chinese and English characters you can

Re: Either keeps in table rows in 0.20.5 or non-collapsing paragraphs in .90alpha

2005-12-21 Thread Jeremias Maerki
Ah, I see you have multiple lines in a table-cell. In that case, just specify 5em (the number of lines you have in em) on block-progression-dimension.minimum. On 21.12.2005 23:54:52 Jay Bryant wrote: What I think could work for you is to specify block-progression-dimension.minimum=1em on a

Re: fop-0.90.alpha1: SVG graphic outside bounds of table cell when using PDF

2005-12-21 Thread Jeremias Maerki
Ryan, the viewBox attribute changes the meaning of coordinates without a length unit (pt, mm etc.). If no viewBox is specified the length unit is interpreted as pixels with the resolution in use by the user agent (user agent here = FOP with 72 dpi). Together with explicit length units on width and