Re: Comments in xsl:fo

2010-11-12 Thread Jeremias Maerki
On 11.11.2010 18:30:40 Tom Browder wrote: I need to pass a comment or pi into my fo output from my docbook source. Is there any way to do that within the languages now? Is there such a thing as an xsl:fo comment? No, XSL-FO has no specific elements for comments. It provides the id property

Re: Embedding vs not embedding Times font

2010-11-12 Thread Jeremias Maerki
Salut Jean On 11.11.2010 20:46:37 jean duracel wrote: Dear reader, I encounter some problem with using the Times font and fop. I produce documents with special characters. By special characters I mean for example γ, ... greek technical characters. When I embedded this font, specials

Re: Embedding vs not embedding Times font

2010-11-12 Thread jean duracel
Hello Jeremias, Thanks a lot for your answer. I was using the old 0205 version of fop. After digging inside the pdf spec, I find the point related to embedded fonts and the ToUnicode map. And finally find in the fop 1.0 changes that this behavior was included. Now it works ! Thanks a lot

[C2.2] Fop Performance Issue with large documents

2010-11-12 Thread Matthias Müller
Hi there, i ran into massive performance problems using Fop serializing large FO files (PDFs with 500+ pages). It takes up to 30 minutes for a single PDF and needs a lot of memory and cpu power. If i do the processing locally (no Cocoon but fop.bat), it takes about 2 minutes. I know that FOP

Re: Font-scaling?

2010-11-12 Thread Ancient
Hi! I know that's evil and personally I'd never use that by myself. But if my customers want to use that in their web-projects, well.. The customers are always right, aren't they.. ;) Mika Vincent Hennebert-2 wrote: Hi, On 11/11/10 06:31, Ancient wrote: Hi and thanks! That's

RE: Font-scaling?

2010-11-12 Thread Eric Douglas
Not in this business. Sometimes you have to learn to tell them that's a bad idea. Sometimes they just don't know what they're talking about. Just tell them to do it properly and use a fixed width font. -Original Message- From: Ancient [mailto:hara...@hotmail.com] Sent: Friday,

Re: Font-scaling?

2010-11-12 Thread Jeremias Maerki
+1 but in reality, they won't listen. But you can always try. ;-) On 12.11.2010 13:58:18 Eric Douglas wrote: Not in this business. Sometimes you have to learn to tell them that's a bad idea. Sometimes they just don't know what they're talking about. Just tell them to do it properly and use a

Re: PDF tagging structure

2010-11-12 Thread MazZzta
Hi Vincent, thanks for your quick reply. I am aware that deleting the fo:block element in the FO file may do the job. However I'd prefer not editing the FO file unless it is absolutely necessary, as it is said in the Apache FOP documentation online, which encourages not to produce a FO file

Re: PDF tagging structure

2010-11-12 Thread Jeremias Maerki
Hi MazZzta, FOP does not add the P by itself. As Vincent said: you have an fo:block right under fo:flow and the other elements inside that. If you want it to go away, you have to change your XSLT so it doesn't produce that fo:block as the parent for all other FO elements. There's no way to tell

Re: Font-scaling?

2010-11-12 Thread Jeremias Maerki
BTW, there is a Bugzilla entry with a patch for font-stretch which hasn't been processed, yet: https://issues.apache.org/bugzilla/show_bug.cgi?id=42577 I haven't had the chance to look at the updated patch, yet (Sorry, Martin). On 10.11.2010 16:02:21 Maxime Bégnis wrote: Hi, There is a FO

Re: Padding-left ignored inside repeating table header

2010-11-12 Thread Matthias Reischenbacher
Hi Vincent, I had a look at the code you pointed me to and I think I found a possible reason for the problem but I'm not sure how to fix it. When the addAreas() method of the InlineLayoutManager is called, this code line is executed: setTraits(areaCreated, lastPos == null || !isLast(lastPos));