Re: problems after page size switch. bug?

2009-09-29 Thread Chris Bowditch
ruud grosmann wrote: hi forum, Hi, reading the xsl fo book of Dave Pawson, I adapted one of his examples (3.6) to experiment a bit. I ended up with a fo file with a page sequence master that uses an a4 start and end page, but small pages in between. Just not to have to provide so much conten

Re: EmptyStackException when processing embedded svg flowRoot element

2009-09-29 Thread Chris Bowditch
relluf wrote: Andrew, Which version of Apache FOP are you using? Could you post a FO document where you have svg:flowRoot working? SVG is processed by Batik, so this is really a Batik problem not a FOP one. Batik doesn't properly support svg:flowRoot, which I know Inkscape uses when genera

Re: generating postscript files (fonts not embedding correctly?)

2009-09-11 Thread Chris Bowditch
Martin Edge wrote: Haven't tested it yet - but will try http://ttf2pt1.sourceforge.net/ Interesting. I never knew about that utility. Looks worth saving to favourites for future reference. Thanks Martin! Chris - To unsu

Re: generating postscript files (fonts not embedding correctly?)

2009-09-10 Thread Chris Bowditch
Martin Edge wrote: Hi Guys, Hi Martin, This is probably something i'm doing very wrong, but I am attempting to generate postscript files, and no matter what I do I seem to get gibberish (assuming because the fonts are not embedded properly (the file size is too small for that)) I have attac

Re: table column height mismatch? left column shorter than right column

2009-09-09 Thread Chris Bowditch
Vincent Hennebert wrote: Hi Chris, This is due to a bug in the table stepping algorithm, whose complete description is out of the scope of this list. The attached patch against I certainly don't want a complete description, but what about a high level one? Was it something to do with the pa

Re: table column height mismatch? left column shorter than right column

2009-09-08 Thread Chris Bowditch
Vincent Hennebert wrote: Hi Georg, Hi Vincent, thanks for solving the mystery so quickly! Now run the attached fo file through the latest code from subversion and be surprised. The left lower corner is blank. The complete table height is the height of the left column, not the height of

Re: Newbie question

2009-09-04 Thread Chris Bowditch
John Burgess wrote: It doesn't! That isn't 100% accurate. FOP can parse a PDF included as an external graphic using an extension developed by Jeremias Maerki. Further details and download link to the extension can be found here: http://wiki.apache.org/xmlgraphics-fop/HowTo/EmbeddedPdf Alth

Re: 0.95 text wrap issue

2009-09-03 Thread Chris Bowditch
Griffin,Sean wrote: Senthil, Two things I would try: 1. Remove keep-together on the table-cell. In this contrived example you wouldn't need it. Not sure if that affects the hyphenation behavior or not. 2. Ensure you have the xml:lang attribute on the page-sequence element containing this bl

Re: EmptyStackException when processing embedded svg flowRoot element

2009-08-18 Thread Chris Bowditch
Andrew Pietsch wrote: Ok, it build ok, but I'm now getting a new exception. This exception is happening with the svg flowRoot removed. 0.95 works fine (with the flowRoot commented out). Again this looks like an error in Xalan rather than FOP. So the same advice applies; run the XML + XSL i

Re: EmptyStackException when processing embedded svg flowRoot element

2009-08-18 Thread Chris Bowditch
Andrew Pietsch wrote: Hi, I just found https://issues.apache.org/bugzilla/show_bug.cgi?id=41657 so I'll try checking out the trunk. I don't believe the bug you highlight is related to the error you reported. The error appears to come from Xalan not FOP. I guess you are submitting XML + XSL

Re: Warning in LineBreakAlgorithm that causes PDF to be unopenable.

2009-08-18 Thread Chris Bowditch
Lars Andren wrote: Hi everybody, Hi, I bumped into a problem when generating a PDF-file from a rather large XML-file. I get no exceptions thrown during the generation, but I can not open the PDF file (says it's damaged). The only thing out of the ordinary is a warning, as follows: When re

Re: [!! SPAM] Re: Re: font configuration

2009-08-18 Thread Chris Bowditch
t;bold" font-family="Arial", FO engine also gives this warning: > WARNING: Font 'Arial,normal,700' not found. Substituting with 'any,normal,700'. Thanks! Ming Thanks, C

Re: [!! SPAM] Re: font configuration

2009-08-17 Thread Chris Bowditch
Ming Yu wrote: Thanks for the reply. Yes, I just configured my fop.xconf file by removing the metrics-url attribute and the Arial font works. But I still cannot make the "bold" work. Whenever I put bold into the font=, either warning or SEVERE message will appear. Arial and Arial Bold are se

Re: [!! SPAM] Re: font configuration

2009-08-17 Thread Chris Bowditch
Ming Yu wrote: Thanks for the reply. Here is the strange thing. When I put the order as font="16pt bold arial", the FO engine gives this warning: WARNING: Font 'bold arial,normal,400' not found. Substituting with 'any,normal,400'. When I put the order as font="bold 16pt arial" , the FO engine

Re: [!! SPAM] font configuration

2009-08-14 Thread Chris Bowditch
Ming Yu wrote: Hi, I'm trying to make an existing stylesheet to work with my xml file. But it has lines like this: and , etc. When I compile, the engine complains: SEVERE: Ignoring property: font="bold 16pt arial" (No conversion defined bold; property:'font') Because neither font nor bor

Re: Does we have support for Open type fonts in FOP

2009-08-10 Thread Chris Bowditch
Tecra wrote: Hi Everybody, Hi, I am trying to generate Pdf from fo which is using opentype fonts and i get the below exception. Opentype with CFF is not supported, Yet. Yes that is correct. FOP does support OTF, but not those with CFF glyphs. Any help would be greatly appreciated. T

Re: Can not create large PDF using XSL FO

2009-07-27 Thread Chris Bowditch
Passero wrote: I have this XML that is generated on the fly that i use to create a PDF. Most of the time it works fine. The generation of the XML is no problem, even when it's big it works fine. Now i have this XML that is over 4MB and when i try to generate a PDF from it i always get the error

Re: New Intermediate Format

2009-07-04 Thread Chris Bowditch
Martin Edge wrote: Hey Guys, Is the new intermediate format meant to work? Yes we use it extensively at my company for PDF, PS, PCL and AFP Outputs. I get a fatal fontName must not be null error when attempting to convert from IF to PDF (the same applies actually for all renderers) - howev

Re: how to embed Asian font while genrating PDF using FOP??

2009-07-02 Thread Chris Bowditch
Sumit4dreams wrote: Hi, I have been trying to embed Asian font while genrating PDF using FOP. I am not able to get a break through in this. I need a help as to how to configure the whole thing like- 1) Where to keep my metric file, You don't say which version of FOP you are using but if 0.95

Re: fop error fetching DTDs (being blocked, can I look locally instead)

2009-06-19 Thread Chris Bowditch
Hayden Stainsby wrote: Hi everyone, I've recently had an error with a process involving fop, upon running fop java throws an exception and quits, every time The exception is: javax.xml.transform.TransformerException: java.io.IOException: Server returned HTTP response code: 503 for URL: ht

Re: How to include FORMDEF in FO.

2009-06-10 Thread Chris Bowditch
attaluri1210 wrote: Hi Everybody, I am trying to generate AFP output from fo using FOP. Does the functionality to include FORMDEF in fop included in the trunk? If so, Can anyone guide me how to include FORMDEF in the fo file. or else can you guide me how can i achieve this. I don't believe FO

Re: problems importing fonts

2009-06-09 Thread Chris Bowditch
Martin Edge wrote: Hey Guys, Attempting to import some default windows fonts such as Wingdings 2, and I get an error saying Unicode CMAP table not present. I see on the fop website it does tell me I might experience issues such as this, but how would I go about fixing it? Is there a way to repai

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-08 Thread Chris Bowditch
nancy_b wrote: Hi dear Andreas! Sorry, you are right.. I just couldn't identify your message among piles of messages I've got. So first of all, thanks a lot for your prompt help! I unzipped fop.jar to /usr/bin/build/ and /usr/share/java (how do I check which is a symlink ?), and xmlgraphics-c

Re: Unable to write to default external resource group file 'resources.afp'. and Problem with images when the mode is set to color

2009-06-08 Thread Chris Bowditch
Andreas Delmelle wrote: On 05 Jun 2009, at 22:05, attaluri1210 wrote: The config file seems OK... Aha! Now that you mention it, I noticed when checking the code that we test for resourceFile.canWrite(), and the Java API docs explicitly state that it returns true "if and only if the fi

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-08 Thread Chris Bowditch
Andreas Delmelle wrote: On 07 Jun 2009, at 12:45, nancy_b wrote: Hi Andreas, Hi Nancy, Could I ask the last question in this long thread please? Why are the Symbol and Zapfdiongbat fonts unavailable in italic/bold version? Hmm... To be honest, I don't know the precise reason. On the oth

Re: Issue generating barcode when using the latest code from trunk.

2009-06-03 Thread Chris Bowditch
attaluri1210 wrote: Can you guide me where can i get the latest Barcode4j FOP plugin. i beleive i have downloaded the barcode4j-fop-ext-complete-2.0.jar. Is this the latest one? There's no official Barcode4J release with the changes for the FOP IF XML yet. I had to download the Barcode4J sour

Re: FopFactory.newInstance() error

2009-06-03 Thread Chris Bowditch
Vladimir Dejanovic wrote: the thing which I can't figure out is how it worked for several month and then just stopped. Also why try catch block isn't working like it should ? Your catch block is catching Exception, but the class NoClassDefFoundError extends Error which extends Throwable. E

Re: Issue generating barcode when using the latest code from trunk.

2009-06-03 Thread Chris Bowditch
attaluri1210 wrote: When i run the code i am getting the below exception. Jun 3, 2009 12:16:18 AM org.apache.fop.events.LoggingEventListener processEvent SEVERE: Image not available. URI: (instream-object). Reason: org.apache.xmlgraph ics.image.loader.ImageException: The file format is not su

Re: FOP creating *.tmp files

2009-06-02 Thread Chris Bowditch
somag wrote: the above code is creating +~JF31411.tmp files...this file size is very huge and each and every time it's creating. Image IO creates temporary files for processing images. Does your XSL-FO contain a lot of large images? Image IO is supposed to delete the temporary files when

Re: Missing images when many images are displayed

2009-05-29 Thread Chris Bowditch
jmorra wrote: Then the images look much better on the page (no white space), but some images are just missing. I'm pretty new to XSL:FO, but I've been trying to figure this one out for a while, and would greatly appreciate any input. I'm using version 0.20.5, and am locked into that version

Re: Media or paper tray selection in FOP for AFP rendering

2009-05-28 Thread Chris Bowditch
Adrian Cumiskey wrote: Hi Vijay, sorry for chiming in late to this thread, but there is the invoke-medium-map extension that was recently added to FOP Trunk to provide limited support for paper tray selection. I don't know if its enough for all use cases but may be sufficient for you: http:

Re: Problem with FOP.bat

2009-05-27 Thread Chris Bowditch
maolimix wrote: Hi Guys, Hi, I have a problem to use fop.bat in windows Vista. I Downloaded FOP bin (on my desktop), JDK 1.4_2.19 and XAMPP. I tried to launch FOP.bat but it appear and immediately disappear but I don't Know why. Anyone can to help me? You need to run FOP.bat from command l

Re: issues with TTFReader

2009-05-08 Thread Chris Bowditch
oot element of my fo The 3 steps you've outlined above are a good summary of the steps involved. So give it a go and let us know if you have any problems. Thanks, Chris thanks again At 12:13 8/05/2009, you wrote: Hi Chris Bowditch wrote: > Geert Bormans wrote: > > Hi

Re: issues with TTFReader

2009-05-08 Thread Chris Bowditch
Geert Bormans wrote: Hi, Hi, I need to deliver PDF for all European languages using FOP (preferably) I am testing on a windows machine, the eventual operation will be on a Sun Solaris 10 machine. And I have a bunch of questions 1. Does anyone have a good recommendation for a font that cove

Re: Two page layout issues

2009-05-07 Thread Chris Bowditch
Vincent Hennebert wrote: Hi Avik, Avik Sengupta wrote: Thanks vincent. Are there any suggestions on workarounds? No that I know of, I’m afraid. There is one workaround. Introduce a force page break where you expect the content to end. Not a great workaround if you have flowing content

Re: FOP Servlet in restricted environment

2009-05-06 Thread Chris Bowditch
Luke-SuperDude wrote: Hi, Hi Luke, I am trying to get a Fop Servlet working in a Godaddy Linux java hosting account. I am running a servlet like the example wich a feed with an xml. create a fo out of it and try to build a pdf. It works fine locally on my own system, but not on this restric

Re: Japanese PDF mojibake

2009-05-06 Thread Chris Bowditch
Moriguchi Akihiro wrote: Thanks for your support. I attached my config cfg.xml and cfg2.xml and system wide config to this post. Thanks. cfg2.xml is not a valid FOP configuration File. Same as previous errors. catch22:manual catch22$ /opt/fop-trunk/fop -c ~/.fop/cfg2.xml -fo I notice

Re: Japanese PDF mojibake

2009-05-06 Thread Chris Bowditch
Moriguchi Akihiro wrote: Hello, Hi, Since we always miss the most obvious, maybe you can double-check the following points: - are you sure you use the right configuration file? My config is default /opt/fop-trunk/conf/fop.xconf and local ~/.fop/cfg.conf which pasted on previous post. V

Re: Table with too many columns

2009-04-29 Thread Chris Bowditch
Jef Verelst wrote: Hello I'm trying to create a table with 12 columns of a specified width. When the page-width is reached I want the next column to move to the next page. How can I do this? XSL-FO 1.1 doesn't support this. You could try and generate the AreaTree XML and manipulate that you

Re: Creating a vector object from SVG text

2009-04-23 Thread Chris Bowditch
Patrick Plaatje wrote: Hi All, Hi Patrick, i'm not sure if i should post my question here or on the Batik list, but my question is the following: i have an xsl-fo document, in which i'm including an svg image. This SVG holds some text. No problem so far. When i render this xsl-fo into PD

Re: Polish fonts in Postscript

2009-04-14 Thread Chris Bowditch
W17chM4n wrote: Hi ! It looks like you are using FOP Trunk? Is it a recent version? Well I have a problem with forcing FOP (trunk) to print to postscript and properly display polish fonts using Arial (ttf2pt1). The problem occurs in two ways. First - when I don`t generate any font metrics I

Re: How to create version 2.0 PS files

2009-04-02 Thread Chris Bowditch
Frank Niedermann wrote: Hi Chris, Hi Frank, thanks for clarification now I understand. I gave the resulting PostScript file to our printer manufacturer (Ricoh) and they told me that the printers are returning a configuration error: OFFENDING COMMAND: setpagedevice ERRORINFO: Key = /PageSi

Re: How to create version 2.0 PS files

2009-04-02 Thread Chris Bowditch
Frank Niedermann wrote: Hi Frank, Hi Chris, yes and I already used those settings within FOP but it didn't work. Then Jeremias mentioned that those settings don't affect PostScript version and I should use the DSC comment %%LanguageLevel: 2 instead. What Jeremias said was that the LanguageL

Re: How to create version 2.0 PS files

2009-04-02 Thread Chris Bowditch
Frank Niedermann wrote: Hi Frank, Hi Jeremias, do you have an example on how to set the LanguageLevel within FOP? Adrian already sent you a link that shows you how to specify Language Level of 2 for Postscript generation: http://xmlgraphics.apache.org/fop/0.95/output.html#ps-configuration

Re: Normalizing space and special spaces

2009-03-24 Thread Chris Bowditch
Maria2009 wrote: So I suggest to integrate a feature in the FOP to clean up double spaces that come into being because for typography one needs to work with several space characters. XSL-FO has this feature already: white-space-collapse. By default this is set to true, so 2 spaces togethe

Re: FOP Default Fonts

2009-03-16 Thread Chris Bowditch
Bernmeister wrote: Hi, From the FOP documentation, I know there are the Base-14 Fonts which are available for PDF output. Is there a way in Java to get this list of fonts (font-family, font-weight & font-style)? I've scoured through the FOP Javadoc but can't seem to locate any method such a

Re: rocky transition from XEP to Apache FOP

2009-03-09 Thread Chris Bowditch
Hamacher, Eric wrote: Hi, Java 1.5.0_16 FOP 0.94 XEP Version 4.14 build 20081212 Just looking for some ideas. We’re trying to leave XEP for Apache FOP but it’s been a rough ride for our FO documents. These documents run fine when generating PDFs in XEP but results in damaged PDFs

Re: AW: AW: AW: Index and Pagenumbers

2009-03-06 Thread Chris Bowditch
Georg Datterl wrote: Hi Georg, Hi Andreas, Looks (surprisingly) good to me. I tried the same with a background color for page-number-citation and the space between the text is from the alignment, not the page-number-citation block. Using page numbers > 100 still works, so the block at least i

Re: AFP Font Question

2009-03-04 Thread Chris Bowditch
e same feature-set that FOP can offer and the generated files might be bigger than FOP-generated PDFs. Thanks for your help, Chris HTH On 04.03.2009 09:47:11 Chris Bowditch wrote: Hi All, one of my clients is using the PDF and AFP Renderers to produce the same document via different outpu

AFP Font Question

2009-03-04 Thread Chris Bowditch
Hi All, one of my clients is using the PDF and AFP Renderers to produce the same document via different outputs. PDF is for archiving and AFP for Printing. However, currently the output between the 2 is different. The AFP output line breaks differently to the PDF version, with the text appear

Re: is it save to use 'svn-trunk' for docbook2pdf-generation ?

2009-02-25 Thread Chris Bowditch
Helmut Denk wrote: hi fop-community, i am quite new to fop and wanted to know, in what state of quality 'trunk' is ... The quality of trunk is good thanks to a large automated test suite and per review. is it save, to use 'fop built from the svn-trunk' to process standard docbook -> fo

Re: Image caching issue in FOP 0.20.5

2009-02-25 Thread Chris Bowditch
a@rn.rabobank.nl wrote: Hi, I am seeking your help in sorting out memory issue in my application. _*Background:*_ I am using* FOP version 0.20.5*. I am experiencing memory leakage in my application since I am using FOP 0.20.5 for PDF generation. Recent heap dumps generated in my applica

Re: FW: Help for svg to be shown on pdf file on IBM AIX Server

2009-02-25 Thread Chris Bowditch
Bibhu_Das wrote: I am using fop-0.94 to generate a pdf using xsl and xml. Now I want to display svg(bar graphs) on the same pdf file by using fop. But I am unable to see the bar graph on the pdf after running fop on the IBM AIX Server 5.2 . I too have installed the X11 libraries for disp

Re: cell number overflow

2009-02-02 Thread Chris Bowditch
fopuser wrote: Hi there! As one can see, there is a table defined with two columns per row. The table itself calls a template, which contains four columns per row. Using FOP 0.20, this works perfectly well. Using FOP 0.95, I get the following error: I'm surprised this works in 0.20.5. Usu

Re: PS 'numcopies' and 'collate' page device parameters

2009-01-26 Thread Chris Bowditch
Jannik Norgaard Steen wrote: Hi, is it possible to somehow directly modify the 'numcopies' and 'collate' PS page device parameters when the output-target is PS? I had a quick glance at the FOUserAgent but didn't find any useful properties to use. You can use the Postscript Extensions ps:p

Re: Out of Memory Error from Java

2009-01-22 Thread Chris Bowditch
Steffanina, Jeff wrote: I have: FOP 0.95 Linux Java 1.5 My Java starts with memory set as: -Xmx192m I can print an unlimited number of individual invoices in a single Java process (i.e. the user chooses the option to print). For example, print 2,000 invoices

Re: Using FOP in sandbox environment

2009-01-06 Thread Chris Bowditch
Fournier,Danny [NCR] wrote: I'm currently trying to use FOP 0.95 on Coldfusion 8 (on Windows) using sandbox security. The only way to generate my PDFs is to give the Coldfusion service full access to the entire drive. I'm using the embedding example. I'm wondering if someone on this list could

Re: 'metrics-url' not respect 'base'?

2009-01-04 Thread Chris Bowditch
Dongsheng Song wrote: If I'm not misunderstand, in the file 'userconfig.xml', embed-url should respect 'font-base', and 'metrics-url' should respect 'base', isn't it? But in my test, 'metrics-url' not respect 'base', I have to use absolutely url instead of relative url. In most cases you shoul

Re: [FOP 0.94] Break table

2008-11-24 Thread Chris Bowditch
fabio76 wrote: This table break in the middle of page. Have you any idea about this? To stop the table breaking across page boundaries you simply need to set property keep-together.within-page="always" on fo:table element. I attached the fo file and the pdf output http://www.nabble.com/f

Re: Horizontal and Vertical Alignment with region-start

2008-11-05 Thread Chris Bowditch
Frank Niedermann wrote: Hi, I'm new to XSL-FO and I try to center a rotated text horizontally and vertically in the region-start area. This is the FO-file: http://www.w3.org/1999/XSL/Format";> Hello World The rotated text is centered horizontally (from text view) but not vertic

Re: Background Image Size

2008-11-05 Thread Chris Bowditch
Barry Whiting wrote: Hi I have an image embedded into my block-container so that I can overlay another svg image that is dynamically generated over the top. I need to resize the background image how ever so I was wondering if somebody could tell me if this is possible at all? For im

Re: start-indent and end-indent inheritance

2008-10-24 Thread Chris Bowditch
Chris Bowditch wrote: George Tsopouridis wrote: Pascal thanks for your answer... Actually, i don't need two columns with different width, but i want an equal-columned flow region-body with padding left. I cannot find a way to do this. Have you any idea;; Can't you define a bord

Re: start-indent and end-indent inheritance

2008-10-24 Thread Chris Bowditch
George Tsopouridis wrote: Pascal thanks for your answer... Actually, i don't need two columns with different width, but i want an equal-columned flow region-body with padding left. I cannot find a way to do this. Have you any idea;; Can't you define a border left on your region-body? Chris

Re: Launching fop - another syntax

2008-10-10 Thread Chris Bowditch
lmhelp wrote: Hi everyone, Thank you for reading my post. Suppose that, in a certain directory, I have the following files: "test.xml" and "test.xsl". If I go to this directory and launch in command line: $ fop -xml test.xml -xsl test.xsl -pdf test.pdf "test.pdf" is properly created. Now, I w

Re: Multiple ID error without there being multiple IDs

2008-10-09 Thread Chris Bowditch
Eckel, George wrote: Hi folks, Using Docbook 5.0 and FOP 0.95. I'm getting awarning: "Multiple IDs"error. BUT there is only one instance of the cited ID value. To check, I substituted "" for the (offending) ID value. Now, I'm SURE there's only one ID value. But I still get t

Re: How can i use ExtensionsForPdf inside my fo:file;;

2008-10-09 Thread Chris Bowditch
George Tsopouridis wrote: Is there a way to use http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPdf; Yes sure, if you know how to download the FOP Source Code from Sub version. Then you will need to apply the patch attached to bug https://issues.apache.org/bugzilla/show_bug.cgi?id=45390

Re: Fedora 9 and fop

2008-10-07 Thread Chris Bowditch
Ulrich Mayring wrote: This applies to JDK 1.6 and fop 0.20.5, but I guess newer versions as well, since they also require X support via Batik, no? v0.9x is a complete re-write of 0.20.5 so I don't think that is a fair assumption. Also since v0.20.5 is 5 years old I strongly recommend that

Re: Problem with inserting a PNG file

2008-08-28 Thread Chris Bowditch
Jubal Kessler wrote: Greetings, Hi, I'm attemping to display a PNG file, but I'm getting a "No ImagePreloader found" error, and spending some time researching online didn't help: ++ exec /usr/java/bin/java -classpath /work/ui/pkgs/fop/Linux/lib/xmlgraphics-commons-1.3.jar:/work/ui/pkgs/fop

Re: AW: keep-together problem

2008-08-28 Thread Chris Bowditch
Preuss, Jacqueline - ENCOWAY wrote: Hi! Hi, This didn't help. I changed keep-together="always" to keep-together.within-column="always" but the text on the second page is clipped and not wrapped to the third page. I attached a sample file. What could be wrong here? It looks like you ne

Re: Border problem with dynamic content

2008-08-19 Thread Chris Bowditch
William Yu wrote: I'm fairly new to FOP and I have a problem I haven't been able to solve. My goal is to have rectangular (8X10) border (top, bottom, left right) on every single page of my document regardless if the content will fill up the page or not. The problem I'm having is that border bas

Re: config file embedding issues

2008-08-19 Thread Chris Bowditch
Mike Ferrando wrote: Hi Mike, Pascal, fo:page-sequence does not have a "font-family" or "font-size" attribute? Can you give me a code example? Any FO can have any property set on it. This is because XSL-FO supports inheritance of properties. So just because font-family doesn't apply to fo:

Re: blocks flowing from left to right?

2008-08-15 Thread Chris Bowditch
Jay Bryant wrote: Hi, Lou, I see now. I think you've hit your best choice with the table-per-row notion. It's not ideal, but it has the virtue of getting the job done. I agree. The only other alternative solution offered by XSL-FO is fo:inline-container. However, this isn't implemented by F

Re: FOP - FONTS - expl. verdana

2008-08-06 Thread Chris Bowditch
lmhelp wrote: Hi, Thank you again for your answer. Fop -d command line option -- So, I tried: # fop -c "C:\Program Files\fop\conf\userconfig.xml" -xml projectteam.xml \ -xsl projectteam2fo.xsl -pdf projectteam.pdf -d but no more clues appear, snif! Please

Re: FOP 0.20.5 - Import PDF

2008-07-24 Thread Chris Bowditch
The Web Maestro wrote: Hi Clay, Hi, There is no support for inserting PDFs as an external-graphic format in fop-0.20.5. It is also not yet supported in FOP 0.9x, although there are some workarounds. In both versions you can use a PDF post-processor[2] (e.g., iText) to manipulate the PDF out

Re: fop block-container alignment (cell-alignment)

2008-07-16 Thread Chris Bowditch
George Tsopouridis wrote: Hello cbowditch and thanks for your answer, I understand the display-align="after" property on fo:table-cell element. But i cannot i cannot understand how can align the whole block-container inside cell example align right of block container -

Re: fop block-container alignment (cell-alignment)

2008-07-16 Thread Chris Bowditch
George Tsopouridis wrote: is it possible to allign a block-container inside a table-cell (block-container has less width than cell );; I don't understand your question, but this is what it sounded like: ... Text in BC inside cell Also, is it possible to allign my cell-content at

Re: Trying to get correct markers in running page headers

2008-07-15 Thread Chris Bowditch
Hoffmann, Niels wrote: Dear List, Hi Niels, I have been trying to accomplish a rather simple task, but it doesn't seem to be possible with FOP. I need to have a running header and footer on the page that should show the content of a marker in the text. What I want to happen is, to have t

Re: Barcode fonts not displaying correctly when generating PCL

2008-07-14 Thread Chris Bowditch
Jeremias Maerki wrote: Hi, Right, Andreas. I've tried to explain the two messages on our wiki page: http://wiki.apache.org/xmlgraphics-fop/Troubleshooting/CommonLogMessages I don't like the message: >>>INFO: Adjusting end-indent based on overconstrained geometry rules for >>>fo:table. >>> (S

Re: Problem with asian language fonts

2008-07-08 Thread Chris Bowditch
Rakesh Kumar S wrote: Hi, Which is the encoding format that will support both asian language and western fonts? UTF-8 Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with asian language fonts

2008-07-08 Thread Chris Bowditch
Rakesh Kumar S wrote: Hi I have problem regarding display of Asian Language fonts in FOP. 1. I am using Castor Framework to convert my Objects to XML. 2. I am passing this XML and the input XSL to the transformer and flushing out the PDF. In the DB they are sorted as encoded characters, now

Re: fo:list-item - Keep together

2008-07-04 Thread Chris Bowditch
bonekrusher wrote: Hi, How do I keep a list-item's contents from splitting on a page break? I've tried using keep-together="always", but it still splits the contents. What version of FOP are you using? I thought this should work in 0.95beta. Chris ---

Re: Forward references in marker element throws NPE

2008-06-27 Thread Chris Bowditch
Browning, Jamie wrote: All Am I right in assuming that forward references in marker elements no longer work in FOP 0.9x? My assumption is based on the fact that the marker examples included in the binary dist for both 0.94 and 0.95beta are throwing a NullPointerException. A NPE is bad indee

Re: java.lang.NoClassDefFoundError: com/sun/jimi/core/Jimi

2008-06-05 Thread Chris Bowditch
Jeremias Maerki wrote: So if FOP does want Jimi, putting it in the classpath hopefully fixes the problem. But still, I'm at a loss to explain why the JimiImage class is triggered in the first place. The Original Post said FOP had been built via Maven. So could it be that the FOP Maven POM

Re: Editing Text in the Intermediate Format

2008-06-04 Thread Chris Bowditch
Jeremias Maerki wrote: Sure: Stream processing. But I don't know if you have SAX (or something similar) on .NET. Yes .Net does have a SAX equivalent: XmlReader. Which IMHO is not as elegant as a ContentHandler but can be used instead of XmlDocument to process large XML Files. On 04.06.20

Re: Problem with fop 0.95 in Oracle Java VM

2008-05-30 Thread Chris Bowditch
Robert Eberhardt wrote: Looks like the program has a problem saving the font cache to the File System. Maybe someone can tell me how to disable that font cache or where fop wants the font cache save to. You can enable/disable the Font cache and/or change the location where FOP store

Re: Help Needed in XSL:FO

2008-05-16 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Don't forget you can also include single page PDFs via fo:external-graphic using Jeremias's FOP Extension: http://wiki.apache.org/xmlgraphics-fop/HowTo/EmbeddedPdf This will ensure the input PDF appears exactly as required in the output. If the PDF in question is mul

Re: 0.95BETA Regression: ZapfDingbatsEncoding in final PDF output?

2008-04-17 Thread Chris Bowditch
kennardconsulting wrote: Dear All, There seems to have been a change from 0.94 to 0.95BETA. I'm not sure if this is intentional, but the encoding 'ZapfDingbatsEncoding' (which I understand to be some kind of FOP-specific workaround) is making it into the final PDF output: 128 0 obj << /Type

Re: java.lang.NullPointerException

2008-04-16 Thread Chris Bowditch
pdiop wrote: I need your help everybody. I am getting the following error while running fop on resin : java.lang.NullPointerException at > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:290) > at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:1

Re: Multi page pdf using fop-one page for each person tag

2008-04-05 Thread Chris Bowditch
Hi, Each of the employee tags need to go into a separate page in the pdf. When I am creating the pdf its writing on the first page only without advancing to the next page. Can somebody please point out the mistake in my xsl template. Try putting the following before the first fo:block-containe

Re: missing column bg color in 0.94 - workaround

2008-04-02 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: FYI: When I upgraded to 0.94 from 0.20.3, my column background colors stopped working. I found a quick workaround was to add the following to each cell: background-color="from-table-column()" This seems to do the trick. Anyone see any potential issues with this?

Re: Problem with linefeed-treatment='preserve' and hyphenation

2008-03-12 Thread Chris Bowditch
Dirk Eiden wrote: Hello, I got a problem with linefeed-treatment='preserve' and hyphenation: This is a known bug. See: https://issues.apache.org/bugzilla/show_bug.cgi?id=38264 Chris - To unsubscribe, e-mail: [EMAIL PRO

Re: Any changes in regards to svg tags handling between Batik 1.6 and Batik 1.7?

2008-03-10 Thread Chris Bowditch
Andrejus Chaliapinas wrote: Hi, If I use batik-all-1.6.jar under JDK 1.4/1.5 - I could normally handle svg tags, but if I use batik-all-1.7.jar instead - I get this exception: What version of FOP are you using? Each release of FOP is tied to a specific release of Batik. FOP ships with the ve

Re: keep-together Problems

2008-03-05 Thread Chris Bowditch
Alexander Lohse wrote: Hi, I have following problem: Inside a table:row with attribute keep-together.within-page="auto", we have cells containing blocks with attributes: linefeed- treatment="preserve" and white-space-collapse="false", but these are ignored. By ignored do you mean the t

Re: Table row background images

2008-02-29 Thread Chris Bowditch
Thanks for the explanation Jeremias. I've raised a bug so we don't forget about this limitation. https://issues.apache.org/bugzilla/show_bug.cgi?id=44507 Jeremias Maerki wrote: The problem with PCL (or at least PCL5 which I've worked with) is that it doesn't support clipping [1]. Clipping mak

Re: retrieve-marker to show page continues

2008-02-28 Thread Chris Bowditch
bonekrusher wrote: Hi, I am having a heck of a time to get this working. I want to add a "continued" to the second page (and all subsequent pages) if the page continues. However the marker shows up on the first page also. What am I doing wrong? If you never want this message on the first page

Re: Assigning generated page number to a variable fo:page-number citation

2008-02-26 Thread Chris Bowditch
Nedim Buke wrote: Hi Everybody, I need to generate index for the document. I tried to find out whether there is extensions for doing this. Unfortunately it couldn't find any predefined solution So I decided to write my own index generator via xsl-fop using templates. This index consisting of

Re: some diacritical characters not rendered correctly

2008-02-22 Thread Chris Bowditch
Ben Bosman wrote: I use fop to generate pdf's from docbook xml files. Everything is rendered correctly except for a few rare diacritical characters. A name like "Müslümanoğlu" is rendered as "Müslümano#lu" Another example is "Konstantinović" which is rendered as "Konstantinovi#" If I generate

Re: To convert any image / doc to pdf using FOP

2008-02-22 Thread Chris Bowditch
myforums2008 wrote: I have tried converting an image to pdf. But it says there was an error in opening this document, when I try to open the document. Please let me know if you know of any solution. Fop expects XSL-FO files as input. For convenience it also accepts XML and XSLT files. However

Re: leader between blocks some conditional

2008-02-14 Thread Chris Bowditch
nmwp wrote: Hi I got simple question/requirement. I was searching the mailing list but without any luck. I got 2 blocks of text. If there isn't enough room to completly hold the second block of text on the first page, then new page will be inserted and that second block will fill the second pa

Re: Continue page break

2008-02-14 Thread Chris Bowditch
Cristian Ferrero wrote: Chris, it worked, the problem is that sometimes will have more than one page (works fine, shows what i want in last page), but when exists only one page i need las't page footer not first.)..do you understand me ? Yes I understand. What you need is page-position="o

<    1   2   3   4   5   6   7   >