Re: Yellow pages

2010-01-28 Thread Jean-François El Fouly
, and place it in absolute-position: fo:block-container absolute-position=absolute background-color=yellow left={$x_left} top={$y_top} width={$page_width} height={$page_height} fo:block/ /fo:block-container Pascal Jean-François El Fouly a écrit : Aviation regulation authorities state

Re: Yellow pages

2010-01-28 Thread Jean-François El Fouly
I tried position=absolute instead but it doesn't help... Le 28 janv. 2010 à 15:58, Jean-François El Fouly a écrit : Wow. This looks very much like black magic -- or a FOP black belt trick :-) Is there another deeper layer of magic in $x_left, $page_width.. ? I tried with left=0 top=0 width

Re: Yellow pages

2010-01-28 Thread Jean-François El Fouly
). On 28.01.2010 15:58:10 Jean-François El Fouly wrote: Wow. This looks very much like black magic -- or a FOP black belt trick :-) Is there another deeper layer of magic in $x_left, $page_width.. ? I tried with left=0 top=0 width=210mm height=297mm in the static content area of the page header. But I

Re: Yellow pages

2010-01-28 Thread Jean-François El Fouly
... So, the (0,0) coordinates of the page is same as in the static region that correspond to left margin, not page-header. Pascal Jean-François El Fouly a écrit : Wow. This looks very much like black magic -- or a FOP black belt trick :-) Is there another deeper layer of magic in $x_left

Re: java.lang.OutOfMemoryError: PermGen space for FOP PDF generation from XML and XSLFO

2009-09-10 Thread Jean-François El Fouly
The solution is simple, really: increase PermGen space. In an app context that looks very much like yours (big app, full J2EE stack, FOP, 250 pages with many images...) we use: -XX:MaxPermSize=128m Le 10 sept. 2009 à 14:09, SALPE Nilesh a écrit : Hello , I am using FOP 0.95 in servlet

Re: Greek Chars

2009-09-08 Thread Jean-François El Fouly
What kind of font do you use to print them ? Le 8 sept. 09 à 14:54, Reliquiem a écrit : Hello, I’ve got a a little problem with the printing of the alpha and beta characters. I am generating PDF-reports from a webinterface with XML and XSL-FO. On this reports are the Characters “Alpha” and

Re: Greek Chars

2009-09-08 Thread Jean-François El Fouly
Then fo:inline font-family=Symbol#x03B1;/fo:inline (Unicode GREEK SMALL LETTER ALPHA) fo:inline font-family=Symbol#x03B2;/fo:inline (Unicode GREEK SMALL LETTER BETA) should do what you want. HTH... Jean-François - To

Re: Newbie question

2009-09-04 Thread Jean-François El Fouly
Le 4 sept. 09 à 03:34, Dola Woolfe a écrit : I'm trying to put together several elements to build a PDF translator. 1. Load a PDF in a foreign language (???) 2. Translate the content (Google Translate) 3. Output the translated PDF (FOP) So I'm guessing step 1 is not part of FOP. Can you

Re: Implementing Change bars

2009-08-17 Thread Jean-François El Fouly
We're very interested in this feature ! We've emulated this feature with tables and borders so far but it is a much less-than-perfect solution. So we would be glad to discuss it (in the dev list ?) and are certainly willing to help test it. (Nevertheless, the little time I have to devote to

Re: Implementing Change bars

2009-08-17 Thread Jean-François El Fouly
We're very interested in this feature ! We've emulated this feature with tables and borders so far but it is a much less-than-perfect solution. So we would be glad to discuss it (in the dev list ?) and are certainly willing to help test it. (Nevertheless, the little time I have to devote to

Re: Generating metrics

2008-11-24 Thread Jean-François El Fouly
Erwan de FERRIERES a écrit : Hi all, I'm trying to generate font metrics in order to import them in a project. Generating start well, but then I've got some errors. I'm running debian and javai version is 1.6.0_07 Here is the line I type to launch the metric generation : java -cp

Re: mixing Cyrillic and Roman characters - PDF output

2008-11-08 Thread Jean-François El Fouly
Not sure Base-14 fonts are configured to support the full Unicode set. It looks dangerous to rely on default font settings when you want something special. I tried to specify a font-family (for which my system is properly configured !) and it works. ?xml version=1.0 encoding=UTF-8? fo:root

Re: mixing Cyrillic and Roman characters - PDF output (repost)

2008-11-08 Thread Jean-François El Fouly
Jay Berkenbilt a écrit : I am using a Debian system. I've tested this both with the debian fop packages and by just downloading a binary distribution. I've also installed Type 1 Cyrillic fonts and run fop with the following configuration file: fonts

Re: Issues related to Images printing too dark

2008-11-04 Thread Jean-François El Fouly
Steffanina, Jeff a écrit : Last week there was some discussion of the issue that the images (.jpg, .gif, .png) were printing darker when they were processed through FOP. I deleted the messages and now I need to review them. How do I go about reviewing the ENTIRE old message library??

Re: Memory issues

2008-10-16 Thread Jean-François El Fouly
by breaking it in severa fo:page-sequence (chapters, sections, whatever makes sense in your business). Between page-sequences, many resources are released. Anyhow, it helped us make it (we had such problems in the beginning). Jean-François El Fouly

Re: Memory issues

2008-10-16 Thread Jean-François El Fouly
Luis Ferro a écrit : Interesting... And does those sequences share page-citations between them from and to? (like a global index) Yes, definitely. Global TOC, section TOC, chapter TOC, global index, list of revisions, bookmarks... (fo:page-sequence at the chapter level, but the chapter TOC

XML font descriptors

2008-10-16 Thread Jean-François El Fouly
Is there a documentation somewhere that would explain what's in the .xml font files generated by ttfreader ? I have a problem with some glyphs I've drawn, and understanding the infos in the descriptor could help me find out what's wrong in the TTF I've built. Thanks ! Jean-François El Fouly

Re: URI resolving for image access

2008-10-14 Thread Jean-François El Fouly
In fact, the trailing slash was missing in the base URL as passed to the FOUserAgent, and believe it or not, it won't work without it :-( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

URI resolving for image access

2008-10-13 Thread Jean-François El Fouly
Monday morning newbie question #1: I have a document somewhere on my laptop with an FO file and quite a lot of images in the same directory. The images are included with a syntax such as src=0_014_001_SA_00.png thus an URI syntax that is implicitly relative. And OK I know the standard says

Font path setup in fop.xconf

2008-10-13 Thread Jean-François El Fouly
Monday morning newbie question #2 (second and hopefully last one): I've downloaded to my Windows dev laptop a FOP 0.95 setup that works well on a linux production server. All fonts and their xml files, etc. Of course I need to change the font-base setting. On the linux server, I have

Re: Using CHOOSE to control image in region-body

2008-10-07 Thread Jean-François El Fouly
Steffanina, Jeff a écrit : FOP 0.95 / Redhat Linux / Java 1.5 When the tag send-fax does not exist print the lilly, when send-fax=Y, print the pebble. I always get the Lilly. Can you determine why? tag, do you mean an attribute of the current element ? I would write test=@sendfax='Y' I

Re: Using CHOOSE to control image in region-body

2008-10-07 Thread Jean-François El Fouly
Steffanina, Jeff a écrit : Located in the XML file: send-faxY/send-fax Recently, in a reasonably similar problem (though a bit more complicated) I used xsl:if test=count(send-fax) = 0 Not very elegant but it did the trick for me, and it might do for you if the only thing you

Re: Using CHOOSE to control image in region-body

2008-10-07 Thread Jean-François El Fouly
Jean-François El Fouly a écrit : Steffanina, Jeff a écrit : Located in the XML file: send-faxY/send-fax Recently, in a reasonably similar problem (though a bit more complicated) I used xsl:if test=count(send-fax) = 0 Not very elegant but it did the trick for me, and it might

Re: Font Issue (Helvetica)

2008-09-26 Thread Jean-François El Fouly
Maximilian Gaerber a écrit : Hi, I am trying to produce a pre-press ready PDF document (with embedded fonts). But for some reason Helvetica will not be embedded correctly. The configuration is correct (see below), the document properties of Acrobat Professional 8 (see attached images) show

Re: Image not available

2008-09-09 Thread Jean-François El Fouly
Well, As Far As I Understand It... This *is *required and even so, it works by some kind of side-effect or implementation tolerance. If I refer to the XSL FO official documentation at http://www.w3.org/TR/xsl/ what you write in url(...) is an IRI in the sense of RFC3987, and relative resource

Re: Error when using XSL with French Characters

2008-09-03 Thread Jean-François El Fouly
There are four kinds of accent current in French (é è ê ë) so you should be more precise. None of them can possibly correspond to CHR(130) neither in UTF-8 nor in ISO-8859-1 On what kind of system/platform/OS are you working ? Mentioning vi makes me guess it should be some kind of Unix but at

Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

2008-09-02 Thread Jean-François El Fouly
Andreas Delmelle a écrit : I've set up a simple test case and, going through the stack trace, I guess it could be a simple bug fix, something like a bad or insufficient test in TablePart.java Oh, rest assured, it's going to take a bit more thought and effort... ;-) Yes, I've seen late in

Re: I need fo:retrieve-table-marker example or how to implement continued label in FOP-95?

2008-09-01 Thread Jean-François El Fouly
Jeremias Maerki a écrit : Hmm, that's one of the two remaining features that are available in 0.20.5 but not in 0.95. So far, nobody has had enough of an itch to implement this, I'm afraid. Hhmm... I've been quickly through the code and my first impression is that it IS implemented. I've set

Re: How to use glyphs from the Symbol font ?

2008-07-30 Thread Jean-François El Fouly
Jeremias Maerki a écrit : No, the mapping is correct. You think in terms of one-byte encodings. XSL-FO and therefore FOP is a Unicode application. If you want the theta character (0x03B8, GREEK SMALL LETTER THETA) you need to put the 0x03B8 character in your XSL-FO file. 0x71 always represents

How to use glyphs from the Symbol font ?

2008-07-29 Thread Jean-François El Fouly
We generate FOP documents from a *nix workhorse, a rather plain (bare) server that has very minimal graphics font equipment. The current setup works well for current fonts (say, Verdana) and custom-made technical fonts. Now, I would like to use some glyphs from the Symbol font but this raises

Font error messages

2008-07-22 Thread Jean-François El Fouly
I searched the archives and did not find an entry for this problem. Please forgive me if I've been blind or stupid and should have found a previous thread on this topic. We have in the logs tons of error messages looking like: 2008-07-22 15:52:45,544 ERROR [org.apache.fop.fo.PropertyList]

Re: Font error messages

2008-07-22 Thread Jean-François El Fouly
Andreas Delmelle a écrit : The font shorthand requires at least two components: font-size and font-family. So it should be either of the two following variants: font-family=Verdana font=10pt Verdana See: http://www.w3.org/TR/xsl/#font (style, weight, variant, line-height are optional; size

Re: Color Profile not applied

2008-07-10 Thread Jean-François El Fouly
Jeremias Maerki a écrit : The work-around it seems is: - either to convert the PNG from 32bit to 24bit (removing the alpha channel) - or skip generating the alpha channel for PDF output. See ImageRenderedAdapter.setup(PDFDocument) (the line with this.softMask = can be commented and the colors

Re: Color Profile not applied

2008-07-10 Thread Jean-François El Fouly
Jeremias Maerki a écrit : There's no treatment or the image itself, just evaluation of information inside the image being loaded. FOP reacts on the and tries to put the right information inside the PDF. This was not clear in our mind since I had a vague feeling I had seen things like gamma

Re: Problem with asian language fonts

2008-07-08 Thread Jean-François El Fouly
Rakesh Kumar S a écrit : Hi, Which is the encoding format that will support both asian language and western fonts? Thanks, Rakesh Kumar S Any Unicode-based encoding will do the job. One of the UTF-16 (Big Endian or Little Endian) is probably your best choice, since UTF-8 is a

Re: Color Profile not applied

2008-07-01 Thread Jean-François El Fouly
Jeremias Maerki a écrit : FOP 0.95beta uses the sRGB color space by default (because XSL-FO defines all RGB colors in the sRGB color space). FOP always embeds an sRGB color profile. So specifying another sRGB color space explicitely doesn't have any effect. Can you elaborate on what you mean by

Re: Problem with fop 0.95 in Oracle Java VM

2008-05-29 Thread Jean-François El Fouly
We had this kind of stack trace in 0.94 with a Sun JVM; you should check you have the write permission in the user home directory. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with Fonts

2008-05-15 Thread Jean-François El Fouly
Rakesh Kumar S a écrit : Hi When i add want to render documents with a specific font, i am not able to do it. Instead i get a message : [ERROR] unknown font arial,normal,bold so defaulted font to any [ERROR] unknown font arial,normal,bold so defaulted font to any Please let me know how to

Re: Multi and Single Column layout on same page

2008-05-15 Thread Jean-François El Fouly
Laurent Yaish a écrit : Hi Folks, How would I go about creating a layout that uses mutiple columns on half of the page (i.e. using region-body column-count) and a single column on the other half? I need to content to automatically span the columns so a table wouldn't work... any ideas? Is

Re: Memory issue

2008-05-12 Thread Jean-François El Fouly
Jean-François El Fouly a écrit : So I hired the team member who's competent in profiler usage next week but I must say at the moment I'm still stuck :-( The sysadmins made a tarball from the staging server and copied everything to a similar server that has full profiling instrumentation

Memory issue (was: Re: Major issue with image loading in FOP 0.95beta)

2008-05-08 Thread Jean-François El Fouly
Jeremias Maerki a écrit : And my next problem is to find a way to force memory recycling after this long and hefty FOP processing, but until further investigated this is OT ;-) You probably didn't get my hint earlier but with the new image loading framework you should actually get away

Re: Memory issue

2008-05-08 Thread Jean-François El Fouly
Andreas Delmelle a écrit : Which Java VM are you using? Practically every time someone tells us about memory/GC issues, it appears they are using an implementation other than Sun (IBM, GNU...) Up to now, we still have to find out why precisely non-Sun VMs have difficulties with FOP...

Re: Memory issue

2008-05-08 Thread Jean-François El Fouly
Andreas Delmelle a écrit : OK. Just curious: Any chance you could test it on another build or maybe even Java 6? Probably, if required or useful. Our sys admins are very cooperative ;-) In my personal experience, optimizing the stylesheet code usually does not offer much improvement in

Re: Major issue with image loading in FOP 0.95beta

2008-05-06 Thread Jean-François El Fouly
Jeremias Maerki a écrit : I've just re-read that and it suddenly made me think: could it be that you produce really large FO documents (not many smaller ones) with many images and the effect here is simply the timeout of the HTTP connection because it is kept open after preloading the image?

Re: Major issue with image loading in FOP 0.95beta

2008-05-06 Thread Jean-François El Fouly
I'll dive but just to answer the simplest questions: Jeremias Maerki a écrit : Without being able to reproduce the behaviour it is difficult to help. Some further questions from my side: - How many different PNGs are being accessed? 84 - Are they smaller or bigger files? 2 kb to 395

[SOLVED] Re: Major issue with image loading in FOP 0.95beta

2008-05-06 Thread Jean-François El Fouly
Jeremias Maerki a écrit : I've done that now: http://svn.apache.org/viewvc?rev=653704view=rev Jean-Fraçois, please download XG Commons Trunk, build it and switch to it. Then set -Dorg.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.no-source-reuse=true (system property).

Major issue with image loading in FOP 0.95beta

2008-05-05 Thread Jean-François El Fouly
Sorry, I guess in the strictest sense this is xmlgraphics-common related now, but it was discovered and investigated using FOP 0.95beta. We upgraded from 0.94 to use the new bookmarks features and our software became globally unstable, hanging randomly during PDF generation -- to be precise,

Re: Major issue with image loading in FOP 0.95beta

2008-05-05 Thread Jean-François El Fouly
Andreas Delmelle a écrit : On May 5, 2008, at 17:22, Jean-François El Fouly wrote: Hi Sorry, I guess in the strictest sense this is xmlgraphics-common related now, but it was discovered and investigated using FOP 0.95beta. We upgraded from 0.94 to use the new bookmarks features and our

Re: Major issue with image loading in FOP 0.95beta

2008-05-05 Thread Jean-François El Fouly
Andreas Delmelle a écrit : For now, you also spoke about the requests suffocating the server. Do you mean that there are also a lot /more/ requests, or only that they take longer to process on the FOP-side? If you also have an increase in the total number of requests, this could mean that the

Re: Problem with rendering PNG images

2008-04-24 Thread Jean-François El Fouly
Thanks very much for this detailed explanation. Converting the PNG's to JPEG with appropriate colorspace parameters is certainly an option if this solves the problem ? We're already manipulating these images in the different publication processes so if this could be the solution, why not ?

Re: Help in XSL:FO

2008-04-22 Thread Jean-François El Fouly
Rakesh Kumar S a écrit : Hi Could any one share some ideas as to how to delete the first page of a generated PDF using XSL:FO. Basically after I render all the pages from the XML using XSL:FO I want to delete the first page of the PDF. Is it possible??? Can you share a code

Problem with rendering PNG images

2008-04-22 Thread Jean-François El Fouly
I have a problem with the way PNG images are rendered. I'm writing tools to manage aircraft technical documentations. One of the documents is the Pilot's Guide, it has quite a lot of cockpit screens screenshots. The source image files are all PNG's, and they have very bright, fully saturated

Re: Problem with rendering PNG images

2008-04-22 Thread Jean-François El Fouly
Peter Coppens a écrit : We have recently reported something similar (it might have been in private to Jeremias...can't remember) and he fixed that problem just this week. It was related to a color profile being truncated (or something like that). Might be the same issue. Perhaps you can try