This works well for me too (thanks!), but another problem arises: My table
doesn't fit on one page. If it is oriented at 0 deg. on a portrait-page, the
table continues, as wished, on the next page, repeating the header in the first
line.
Oriented by 90 deg., the table just gets written across the b
Once you get the PDF to bitmap you can compare the bitmaps
programmattically. Get the difference of each channel of each pixel. A bit
intensive.
Not only can you tell if there is a difference progammatically, but you can
also take the result of the pixel differences and produce a "difference"
b
Thanks (for the pointer) Jeremias. For now I have added a bit of regexp
mumbo jumbo in the compare code to get rid of the variable sections in the
pdf file. Not very elegant but it works, can be automated and will in the
worst case scenario only give rise to false negatives I think.
Peter
> -O
Not really a question with Apache FOP itself, but...
The ExampleXML2PDF class has this to setup the logger:
//Setup logger
Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_INFO);
driver.setLogger(logger);
MessageHandler.setScreenLogger(logger);
I know that i
With FOP 0.93 you can skip the step with the TTFReader and remove
"metrics-url" in your configuration file. I've just tested it with the
K3.ttf font and it works if you don't use a metrics file. Note: This is
a new feature in 0.93 and may not yet work as expected. Feedback on this
is welcome (posit
What we do in FOP is calling GhostScript to convert the PDF to a bitmap
which can then be either put side-to-side with a reference or visually
"diffed" against a reference. This process isn't automated, yet.
See here:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/java/org/apache/fop/visu
Manuel Mall wrote:
On Tuesday 16 January 2007 00:02, DA Shetland wrote:
Sorry - I am using 0.93 - will try the trunk and get back.
-d-
SHY support in fop-trunk is a very new addition and any testing and
feedback would be much appreciated. It should work as you described,
that is SHY b
On Jan 16, 2007, at 11:16, Michael Bruns wrote:
Thanks Andreas, that hint finally showed me my mistake :-) You were
right, I accidentally created a row with too many columns. Anyway, I
still think throwing an exception isn't the desired behaviour, is it?
Correct. This could/should be caught v
On 15.01.2007 19:08, Andreas L Delmelle wrote:
> On Jan 15, 2007, at 17:15, Michael Bruns wrote:
>
> Hi,
>>
>> Hmmm...I would really like to provide you some examples, but I couldn't
>> figure out *what* exactly causes the crashes, yet.
>
> My best guess is that it's a table with too many cells
Hi Joerg,
I have just ran the same test and looked at the code and I believe that
it might be a problem with your ttf file.
It looks like the ttf file could be clipped - the last instruction in
the ttf reader skips 4 * 4 bytes memory usage values which takes this
ttf file to the end of the f
Fop fans,
I am writing some regression tests for an application that uses fop to
generate PDF files. I am trying to figure out how to compare the pdf output
with the master pdf files.
Seems the pdf spec requires e.g. an ID in the trailer that is file instance
specific which makes (dumb) bin
Thank you for your answer, I have looked for information
on the http://www.w3.org/TR/xsl/ page to find out how/where to use
space-before.conditionality="retain" and
space-after.conditionality="retain"
But I did not found any information about it.
Is it a parameter for an fo:block, an fo:table, so
Gregan, Miroslav wrote:
Hi all,
I use FOP 0.93 like a library under windows.
I have a spacing problem around text and tables, but only if the tables
around are filled.
Here are some examples (every time with the fo file):
* dfg is the document filled, so with the spacing problem around
Hello,
I want use a Barcode font to create barcodes in my documents, I've
started with
the example examples/fo/advanced/barcode.fo .
So I've got the 3of9barcode font file from:
http://www.geocities.com/keith_dimmock/
And I tried to create the font metric with following command:
java -cp
/opt/fop/b
paul wrote:
oh my gosh, I just noticed a huge mistake on my part. My first page actually has
never been blank, but there was a tiny text on there. unwanted text, for some
xpath-mistake on my side it got printed too. So I guess with my for-each loop I
managed to avoid printing this text and theref
paul wrote:
I chose to do
(content)
Hi Paul
I'm glad it worked out. In the xslt language it is usually best to let
the processor do the work for you. Often people choose to use
xsl:choose, xsl:if and xsl:for-each when a pure template approach would
suffice. You can rewrite the above
oh my gosh, I just noticed a huge mistake on my part. My first page actually has
never been blank, but there was a tiny text on there. unwanted text, for some
xpath-mistake on my side it got printed too. So I guess with my for-each loop I
managed to avoid printing this text and therefore avoided th
Abel, J.Pietschmann, thank you both very much for your detailed help, you
brought me back on the tracks and I've learned much new!
I found a forth solution that works well for me and could be a solution for
others complaining about the problem of unwanted blank pages when inserting
pagebreaks usin
18 matches
Mail list logo