Re: fop-ttfreader - output bounding box information for characters?

2013-01-08 Thread Peter Hancock
Thank you. So, can this patch be reviewed/integrated? That shouldn't be a problem. As I indicated Peter is working in a similar area right now, so I will ask him if he can take a look. I know Peter Hancock is looking into doing something similar as he is working on getting Batik

Re: Rounded corner

2012-06-20 Thread Peter Hancock
feature. In the meantime, if there is anything we can do to help on this (obviously not development but maybe some testing), we would glad to do so. Franck On Tue, Jun 19, 2012 at 8:50 AM, Peter Hancock peter.hanc...@gmail.com wrote: Hi Franck, As eluded to by Rob, I am hoping to revisit

Re: Rounded corner

2012-06-19 Thread Peter Hancock
Hi Franck, As eluded to by Rob, I am hoping to revisit the rounded corners work soon. The supported output formats will be restricted to PDF, PS and AFP. Thanks, Peter On Mon, Jun 18, 2012 at 8:43 PM, Robert Meyer rme...@hotmail.co.uk wrote: Hi, Plans are currently underway to merge the

Re: Unable to load font file due to NullPointerException?

2012-06-19 Thread Peter Hancock
Hi Phillip, Could you provide instructions to locate the font and provide an .fo that demonstrates the issue, please. Can you also tell us what version of FOP you are using. Thanks, Peter On Thu, Jun 14, 2012 at 12:39 PM, Phillip B Oldham phillip.old...@gmail.com wrote: Hi all Still having

Re: FOP 1.0 - TLE values based on XML values

2012-03-22 Thread Peter Hancock
Hi Simone, Have you considered applying an XSLT transform to the fo document, or during any process you may have that generates the fo? An explanation of the steps required to achieve this are outside of the scope of this mailing list: If you are new to XSLT, try taking a look at [1] and

Re: LazyFont and MultiByteFont NullPointerException

2012-01-12 Thread Peter Hancock
Hi Harshini, Can you provide a little more context regarding this issue, please. Are you able to provide us with the steps and resources to reproduce the issue? You may not be able to post the font on the mailing list (for legal and practical reasons), but if we can begin by taking a look at

Re: AFP FOP Font Problem

2011-09-07 Thread Peter Hancock
Hi Gregoire, Which version of FOP are you using and have you checked the documentation at http://xmlgraphics.apache.org/fop (e.g. http://xmlgraphics.apache.org/fop/trunk/configuration.html for configuring trunk)? Without seeing your fop.xconf o in full I would guess that the font-base is not set

Re: AFP FOP Font Problem

2011-09-07 Thread Peter Hancock
Hi Gregoire, The font element should be a child of the fonts element in your fop.xconf. Try that and please let me know if you need more help. Peter On Wed, Sep 7, 2011 at 10:43 AM, Gregoire Meier me...@epicard.ch wrote: Hi Peter, Thank you for your answer. I have tried with FOP version

Re: Multi Threaded FOP?

2011-06-09 Thread Peter Hancock
Hi Theresa, I believe there are multi-threading gotchas when embedding FOP and her dependencies; see http://xmlgraphics.apache.org/fop/0.95/embedding.html#multithreading, There are certainly many multi-threaded production systems that have successfully embed FOP and it would be nice to know some

Re: Arabic Font in FOP

2011-06-03 Thread Peter Hancock
Hi, You are going to have to checkout the branch http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ComplexScripts/ using subversion: info here http://xmlgraphics.apache.org/fop/download.html Once you have the codebase you have to build it: info here

Re: Arabic Font in FOP

2011-06-02 Thread Peter Hancock
Hi, Are you using a version of FOP built from the arabic support branch? Arabic support is not currently available in trunk, or any offical release. If you are not sure then reply and I will provide details for getting this version. Be warned however, this work is not complete and may produce

Fwd: PDF giving first page as blank

2011-05-04 Thread Peter Hancock
please check. Regards Vishal Peter Hancock-2 wrote: Hi, Can you provide an .fo file generated from this stylesheet that demonstrated the problem, please.  If you are unsure how to do the transform just send some input xml.  From there we can then run FOP and take a closer look. Thanks

Re: PDF giving first page as blank

2011-05-04 Thread Peter Hancock
, as requested i sent the sample xml to your mailbox. Could you please check. Regards Vishal Peter Hancock-2 wrote: Hi, Can you provide an .fo file generated from this stylesheet that demonstrated the problem, please.  If you are unsure how to do the transform just send some input xml.  From

Re: FOP command-line option in ant task

2011-03-09 Thread Peter Hancock
Hi Walter, Have you tried running FOP from the command line? This is the preferred way to run FOP as a stand alone application. If you can invest a little time to set this up you will be rewarded with the ability to fully configure FOP. If you think you are truly bound to the ant task, then a

Re: Apache FOP Newbie needs Help Converting XML to PDF

2011-03-09 Thread Peter Hancock
Hi, Can you tell us exactly which files you are using when you invoke fop, please. Your command should look something like fop -xml foo.xml -xsl foo.xsl -pdf foo.pdf judging by the files you have attached. I am guessing you missed out the -xml/-xsl flags, leading FOP to believe you were

Re: Font Configuration

2011-03-09 Thread Peter Hancock
Hi Sandeep, The answer to your question can be found at http://xmlgraphics.apache.org/fop/trunk/output.html#afp-font-config and http://xmlgraphics.apache.org/fop/trunk/fonts.html#embedding Peter On Wed, Mar 9, 2011 at 1:38 PM, Sandeep Dhulia sdhu...@gmail.com wrote: Hi Guys, I need some

Re: Apache FOP Newbie needs Help Converting XML to PDF

2011-03-09 Thread Peter Hancock
FOP Newbie needs Help Converting XML to PDF I was using fop -xm la91ec9d3-e021-4e5e-933f-54992cdc415c.20110308172937.xml    -xsl ccr.xsl -pdf test.pdf Peter Hancock-2 wrote: Hi, Can you tell us exactly which files you are using when you invoke fop, please. Your command should look

Re: AFP Rendering

2011-01-28 Thread Peter Hancock
not print Named Group (BNG)  or position of NOP etc) Thanks Regards, Sandeep From: Peter Hancock [peter.hanc...@gmail.com] Sent: Tuesday, January 18, 2011 6:32 PM To: fop-users@xmlgraphics.apache.org Subject: Re: AFP Rendering Hi Sandeep, Reading

Re: circle or mask without svg

2011-01-26 Thread Peter Hancock
Hi Ingo, There is no way to do this directly with FOP. You will have to add the frames before processing in FOP. The EPS is a vector format whilst tiff is a bitmap and so a different approach may be required for each. Are you able to transform the images to a format that you can then use the

Re: AFP Rendering

2011-01-18 Thread Peter Hancock
Hi Sandeep, Reading http://xmlgraphics.apache.org/fop/trunk/output.html#afp-no-operation, it appears that FOP only allows NOP declarations in the Simple Page Master, and so there may not be a way to control the position relative to where pages begin and end. Can you please attach the fo file

Re: Antialising issue with borders in PDF with fop-0.95

2011-01-13 Thread Peter Hancock
Hi Juergen, What does a print of the pdf look like? It may be the viewer (as mentioned in the post you referenced) that is responsible for anti-aliasing the pdf for screen display, and may not be a good representation of the print. Currently FOP draw each of the 4 border sections of a cell

Re: FOP 1.0 line feed not visible

2011-01-12 Thread Peter Hancock
Hi Philippe, PDFRender was removed from FOP in rev 989178 of trunk (along with the other renders along with AFPRender, PCLRender and PSRender.) PDFPainter (and other collaborators) now implements the functionality previously handled by PDFRender. Some information about the new architecture is

Re: FOP 1.0: Generate PDF with plain text inside

2011-01-07 Thread Peter Hancock
Hi Friedel, This is my config to supress Flate encoding: filterList valuenull/value /filterList So your config should work. Did you try it? Pete On Fri, Jan 7, 2011 at 10:28 AM, Friedel friede...@gmx.ch wrote: Hi I use FOP 1.0 on Win and UNIX and it works well. I do get PDFs

Re: FOP 1.0: Generate PDF with plain text inside

2011-01-07 Thread Peter Hancock
Hi, I also have the setting filterList type=image valuenull/value /filterList but I do not think that is relevant to your requirement. Pete On Fri, Jan 7, 2011 at 11:08 AM, Peter Hancock peter.hanc...@gmail.com wrote: Hi Friedel, This is my config to supress  Flate encoding

Re: FOP 1.0 line feed not visible

2011-01-07 Thread Peter Hancock
Hi Philippe, I think perhaps the linefeed-treatment='preserve' property on the fo:block may be what you require. See http://www.w3.org/TR/2006/REC-xsl11-20061205/#linefeed-treatment for more detail. I hope that works for you. Pete On Fri, Jan 7, 2011 at 10:02 AM, Philippe Pithon

Re: Creating Editable PDF forms with FOP

2010-12-09 Thread Peter Hancock
Hi Adam, FOP does not currently support PDF forms, however I have been working on an implementation against the AcroForms specification. I hope to make this available to the community within the next few months; time constraints have not allowed me to publish earlier. Stay tuned! Peter On Thu,

Re: Cropping output to content

2010-11-29 Thread Peter Hancock
Hi Craig, I think that post processing the area tree will be the only solution - FOP can only fit content to page view-ports and not the reverse. To make life easy you could use id's to demarcate the section you want to preview, making the extraction easier. Ideally you should process a whole

Re: Filesize of Images

2010-11-25 Thread Peter Hancock
On Thu, Nov 25, 2010 at 12:43 PM, JPee per...@softwareforen.de wrote: Hi JPee, Have you tried adjusting the default resoulation settings in your fop.xconf file (assuming you are using one- http://xmlgraphics.apache.org/fop/trunk/configuration.html#general-available)? Have a look at the

Re: AW: How to hyphenate nonwords?

2010-11-23 Thread Peter Hancock
Hi Alexander, Before questioning FOP's implementation you may want to consult the xsl:fo specification at http://www.w3.org/TR/2006/REC-xsl11-20061205/ first. If you believe that FOP strays from this, then please raise your concern on this list. Often times the solution to a particular problem

Re: static content ignored

2010-11-19 Thread Peter Hancock
Hi Rob,      fo:region-body margin-right=3.6585in margin-top=0.6in column-count=1 /      fo:region-before extent=0.50in name=default-left-header / This should be region-name I believe?      fo:region-end overflow=hidden extent=3.2585in Pete

Re: FOP 0.9.5 and Too many Files Open...image Files in my case...

2010-11-18 Thread Peter Hancock
Hi Durga, Before trying to resolve this particular issue, are you able to upgrade to 1.0? It is possible that your particular issue has been resolved after 0.95. There are threads on the mailing list that report similiar problems, e.g.

Re: How to tell line# in input file that is generating error

2010-11-18 Thread Peter Hancock
Hi Steve, I am not familiar with the DITA Open Toolkit, but to get line numbers you need to explicitly pass fo to FOP and not the combination of xml and the xslt that FOP initially transforms to fo. Maybe DITA provides a way to get the intermediate fo so that you can run it through fop yourself.

Re: using an existing pdf as overlay

2010-11-02 Thread Peter Hancock
Hi Erik, I am not sure if my solution is the most elegant but for ideas have a look at the files in the attached zip. in.fo is for the final document- you will have to change the path to the generated overlay.pdf. overlay.fo was used to create overlay.pdf. out.pdf is the final result. For busy

Re: JEuclid and FOP

2010-11-01 Thread Peter Hancock
Hi SriKrishnan, Recent versions of jeuclid are not compatible with fop 0.95: examples/mathml/build.xml of 0.95 refers to a jeuclid class net.sourceforge.jeuclid.MathBase, however this was removed from jeuclid in revision 425:c7cae27888cf (in 2007). The mathml support in FOP is now maintained by

Re: JEuclid and FOP

2010-11-01 Thread Peter Hancock
into fop 0.95 version. Can you please help me to fix this problem either in fop 1.0 or fop 0.95? Thanks, Srikrishnan -Original Message- From: Peter Hancock [mailto:peter.hanc...@gmail.com] Sent: Monday, November 01, 2010 4:05 PM To: fop-users@xmlgraphics.apache.org Subject: Re

Re: Wider TXTRender output

2010-10-28 Thread Peter Hancock
Hi Intasi, The TXTRenderer produces ASCII text output which at best will be a crude match of a PDF document: see http://xmlgraphics.apache.org/fop/trunk/output.html#txt A page layout has to be mapped to the ASCII text grid, with predictable issues surrounding text spacing, graphics representation

Re: Creating PDFs with fields using FOP

2010-10-07 Thread Peter Hancock
Hi Mithun, I have been working on implementing AcroForms in FOP - see http://www.mail-archive.com/fop-users@xmlgraphics.apache.org/msg15037.html Unfortunately other commitments have not allowed me to ready the work for submission to the community, although I have recently been tasked to complete

Re: Font mapping for AFP Output

2010-09-30 Thread Peter Hancock
and reply to this thread if troubles persist. I hope I have been of some help. Peter Hancock On Wed, Sep 29, 2010 at 1:55 PM, Peter Weber peter.we...@garaio.com wrote: Hi all This week  i stuck at mapping fonts for AFP output format in fop. I don’t have any experience with fonts, codepages

Re: PDF 1.7 ISO 32000

2010-09-28 Thread Peter Hancock
in any browser. Is it correct? On Mon, Sep 27, 2010 at 10:10 AM, Peter Hancock peter.hanc...@gmail.com wrote: Hi Daniel, PDF support in FOP is currently limited to 1.4 - see FOP http://xmlgraphics.apache.org/fop/trunk/output.html#pdf I am not sure if there are any community plans to support

Re: PDF 1.7 ISO 32000

2010-09-27 Thread Peter Hancock
Hi Daniel, PDF support in FOP is currently limited to 1.4 - see FOP http://xmlgraphics.apache.org/fop/trunk/output.html#pdf I am not sure if there are any community plans to support later version of the format in the near future. Are there any specific features that have been introduced in the

Re: External AFP formdefs

2010-09-21 Thread Peter Hancock
Hi Jeremias, the same name is available on the target platform. So I believe that afp:include-form-map complements afp:invoke-medium-map but does not require it. HTH That is the behaviour I was expecting too. Thanks for confirming this with me. Pete

Re: External AFP formdefs

2010-09-20 Thread Peter Hancock
Hi Chris, I was wondering if a Form Def must be embedded and the reference to the Medium Map must be contained within the embedded Form Def. Thanks, Peter On Mon, Sep 20, 2010 at 12:23 PM, Chris Bowditch bowditch_ch...@hotmail.com wrote: Peter Hancock wrote: Hi, Hi Peter, Does FOP

External AFP formdefs

2010-09-17 Thread Peter Hancock
Hi, Does FOP support the declaration of formdefs/medium maps as references to external resources? I see from http://xmlgraphics.apache.org/fop/1.0/output.html#afp-invoke-medium-map that FOP can embed formdefs defined in a file, and it is not directly clear to me if the name attribute of

Re: FOP 1.0: images fail to render

2010-09-16 Thread Peter Hancock
Hi Dennis, Could you provide a simple set of example files that demonstrate the problem, please. Pete On Thu, Sep 16, 2010 at 10:00 AM, Dennis van Zoerlandt dvzoerla...@vanboxtel.nl wrote: I am running the application under root (uid 0). I tested it a minute ago with a newly created non-root

Re: FOP 1.0: images fail to render

2010-09-16 Thread Peter Hancock
Hi Dennis, If it is any help the fop-1.0's MANIFEST.MF includes Class-Path: avalon-framework-4.2.0.jar batik-all-1.7.jar commons-io-1. 3.1.jar commons-logging-1.0.4.jar fop-hyph.jar serializer-2.7.0.jar s ervlet-2.2.jar xalan-2.7.0.jar xercesImpl-2.7.1.jar xml-apis-1.3.04.j ar

Re: unable to use afp:resource-level=external for fo:external-graphic

2010-08-17 Thread Peter Hancock
Hi, There is a bug in src/java/org/apache/fop/afp/AFPStreamer.java around line 160: Iterator it = pathResourceGroupMap.entrySet().iterator(); should be Iterator it = pathResourceGroupMap.values().iterator(); I think I fixed this is a patch I submitted recently. Let me check.. Pete On Tue,

Re: unable to use afp:resource-level=external for fo:external-graphic

2010-08-17 Thread Peter Hancock
Hi, Yep my patch for feature (https://issues.apache.org/bugzilla/show_bug.cgi?id=49379) included a fix. It would be great if a commiter could review that patch and commit the fix with the feature. Pete On Tue, Aug 17, 2010 at 11:52 AM, Peter Hancock peter.hanc...@gmail.com wrote: Hi

Re: fop region-body border and padding issue

2010-08-13 Thread Peter Hancock
Hi Muralidhar, Since the region-body statically positioned relative to the page (as determined by margins of simple-page-master), then perhaps you can achieve your desired layout by just combining the effective padding into the margins of region-before? Pete On Fri, Aug 13, 2010 at 3:17 PM,

Re: Keeping memory usage low when FOP is not running and avoid open file handles after FOP is run

2010-07-19 Thread Peter Hancock
Hi Dominik, This could well be a bug, akin to the issue dealt with here https://issues.apache.org/bugzilla/show_bug.cgi?id=49060 Pete On Mon, Jul 19, 2010 at 9:53 AM, Dominik Stadler dominik.stad...@dynatrace.com wrote: Hi, my use-case is to have FOP integrated into a larger server

Re: Log4j Woes

2010-05-25 Thread Peter Hancock
do I check that?? Please, advise! ;-) My best wishes, Nancy Peter Hancock-2 wrote: Hi Nancy, Did you change the fop script to specify the LOGCHOICE variable? At the bottom of the fop script you will find some commented out examples of setting this variable. The convention

Re: Log4j Woes

2010-05-25 Thread Peter Hancock
$FOP_HYPHENATION_PATH fi find_jars fop run_java $HEADLESS org.apache.fop.cli.Main $@ ~~~ Please advise! thanks a lot in advance!!! Nancy Peter Hancock-2 wrote: Hi Nancy, I am not sure how the LOG4J_OPTS environmental variable is supposed to be handled

Re: Log4j Woes

2010-05-25 Thread Peter Hancock
Hi Nancy, The suggested method fails because all arguments to fop are passed as arguments to the application, not the JVM. You could change the fop script and add '-Dlog4j.configuration=...' * directly* before or after '$HEADLESS' on the line 'run_java ...'. Better still you could put something

Re: AcroForm extension

2010-05-11 Thread Peter Hancock
Hi Alessandro, First off this is a development discussion and should be moved to fop-dev mailing list - if you have not subscribed to this yet I suggest you do for further discussion (see http://xmlgraphics.apache.org/fop/maillist.html). I have been working on an implementation of AcroForms

Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-29 Thread Peter Hancock
- C:\fop-0.95ant compile-hyphenation Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar Buildfile: C:\fop-0.95\build.xml BUILD FAILED Target compile-hyphenation does not exist in the project null. Total time: 0 seconds Peter Hancock-2 wrote

Re: Image Rotate

2010-04-26 Thread Peter Hancock
You can also use the extension attribute 'translate': fo:block-container translate=rotate(45) absolute-position=absolute fo:external-graphic ... /fo:block-container You have finer control of the angle, however the absolute-position must be set to absolute or fixed ( relative to the

Re: Help embeding fonts

2010-04-15 Thread Peter Hancock
Hi Bonekrusher, The font-triplet element has to be contained in the font element- see http://xmlgraphics.apache.org/fop/0.95/fonts.html for the configuration documentation. You may need to include file:///C:/Program Files(x86)/fop-0.95/fonts in the base-uri attribute, or in the base element of

Re: Change logging level?

2010-04-01 Thread Peter Hancock
Hi Philip, Do you have the log4j jar in the FOP/your app classpath? It does not come shipped with FOP. I hope that helps, Pete On Thu, Apr 1, 2010 at 2:40 PM, Phillip Oldham ph...@activityhq.com wrote: How can I change the logging level to only fatal errors? I've tried adding an

Re: FOP 0.95 printing

2010-03-30 Thread Peter Hancock
?? -- *From:* Peter Hancock [mailto:peter.hanc...@gmail.com] *Sent:* Tuesday, March 23, 2010 8:38 AM *To:* fop-users@xmlgraphics.apache.org *Subject:* Re: FOP 0.95 printing Hi Eric, You will have to compile FOP trunk yourself I am afraid. It is straight forward but requires you to have ant

Re: Difficulties with FOP-trunk, AFP and IBM raster fonts

2010-03-24 Thread Peter Hancock
Hi Olov, Your base-uri should be file:///C:/TEST1/ and not file:/C:/TEST1/. I hope that fixes things for you! Pete If that does not work you might try setting the base 2010/3/24 Olov Häggström olov.haggst...@netresult.se Hi, I am trying to create an afp-file with IBM Raster fonts. To

Re: FOP 0.95 printing

2010-03-23 Thread Peter Hancock
Hi Eric, Do you run FOP standalone from the command line, or do you embed it in your own app? The reason I ask is because the example embedding.ExampleFO2OldStylePrint.java in examples/embedding/java of the FOP 0.95 source illustrates the minimal utility of java.awt.print.PrinterJob for

Re: FOP 0.95 printing

2010-03-23 Thread Peter Hancock
? I didn't see a compiled download. I believe I found a source download for it, but I'm not sure how to compile it. -- *From:* Peter Hancock [mailto:peter.hanc...@gmail.com] *Sent:* Tuesday, March 23, 2010 6:04 AM *To:* fop-users@xmlgraphics.apache.org *Subject

Re: Garbled PDF text

2010-03-19 Thread Peter Hancock
Hi, I think this is a tricky one to solve without an example .fo document that generates this error. Pete On Thu, Mar 18, 2010 at 3:06 PM, superglue srinivas.cha...@gmail.comwrote: Hi All, we are using FOP 0.95 to generate PDF documents. Recently, one of our customers reported on

Re: Compiling translets packaging in project ear by MAVEN build

2010-02-03 Thread Peter Hancock
Hi Tamugrg, FOP is only a client of JAXP and so I am not so sure that the fop mailing list is the right place to get help on this issue. You are more likely to find answers looking on JAXP related mailing lists. Pete On Tue, Feb 2, 2010 at 10:45 PM, tamugrg sagun.gur...@auspost.com.auwrote:

Re: Using Apache FOP translets in java EE application

2010-01-29 Thread Peter Hancock
Hi Tamurg, The quickest way to prove you are using the compiled transformation would be to remove the stylesheets from the classpath of the application at runtime. You would get a error if the application is trying to locate the stylesheets. Alternatively introduce a measurable difference

Re: Batik not in class path

2010-01-27 Thread Peter Hancock
Hi David, What is the ant target you are calling when you get this error? Whilst investigating this issue, I was first going to first try and confirm that the classpath stated is indeed passed to the JVM running fop. Does the DITA project have any documentation on fop integration? Peter On

Re: Invalid ICC Profile

2010-01-22 Thread Peter Hancock
Hi Stuart, It might be that you have an Invalid ICC profile :-) but it would be hard for us to confirm this without taking a look at the input you supplied to fop 0.93. If you do not want to post the input , please provide another example that also leads to this error. Is there any reason why

Re: Create damaged PDF file

2010-01-22 Thread Peter Hancock
Hi Zemin, Are you able to extract a snippet of the fo that is supposedly missing this child element? If you can show that the fo is indeed well formed it would support the argument that the problem is in FOP. Thanks, Pete On Fri, Jan 22, 2010 at 5:05 PM, Hu, Zemin zemin...@adp.com wrote: I

Re: Absolute position of original text in final PDF

2010-01-12 Thread Peter Hancock
fo:block text-align=center space-after.optimum=10pt line-height=13pt font-family=sans-serif font-weight=normal font-size=12pt id=#N1001F Another text line in different font /fo:block /fo:block From: Peter Hancock [mailto:peter.hanc...@gmail.com] Sent: lunes, 11 de enero de 2010 18

Re: Absolute position of original text in final PDF

2010-01-11 Thread Peter Hancock
Hi Igor, It is not clear to me how these text elements are defined - in your xml input? If so how do you transform them to fo whilst retaining the id attribute? Could you provide a small example of the xml and the corresponding xsl that you wish to be input of fop. Thanks, Pete On Mon, Jan

Re: Use of AWTRenderer/Java2dRenderer

2010-01-07 Thread Peter Hancock
, Chris On Mit, Jän 06, 2010, Peter Hancock wrote: Hi Chris, Did you compile fop yourself? You will need a local checkout of the code-base to address this issue: The AWTViewer instance creates a PreviewDialog instance (by calling the factory method PreviewDialog.createPreviewDialog

Re: Use of AWTRenderer/Java2dRenderer

2010-01-06 Thread Peter Hancock
Hi Chris, Did you compile fop yourself? You will need a local checkout of the code-base to address this issue: The AWTViewer instance creates a PreviewDialog instance (by calling the factory method PreviewDialog.createPreviewDialog) which is a JFrame composed of the toolbar and the page

Re: Reading into xsl:value-of directly from attributes file

2009-11-23 Thread Peter Hancock
Hi Sangam, Am I correct in thinking that you are after a way of specifying variables externally? Or are you refering to an attribute called 'file'? Refering to variables declared in external (from the main xsl) is straight forward as the following example should show: .xml root/ .xsl

Re: xml:base

2009-11-17 Thread Peter Hancock
Hi Jack, This is really an xslt problem (javax.xml.transform. TransformerException) and as such you may find a satisfactory solution by posting to a related mailing list. A possible solution maybe to download the content locally and resolve the relative urls of the imgs manually. Peter On

Re: How to install hyphenation patterns in FOP?

2009-11-09 Thread Peter Hancock
Hi, You should just need fop-hyph.jar which you can get from http://offo.sourceforge.net/hyphenation/fop-stable/installation.html The installation just involves putting this in the lib directory and the fop command will place it in the classpath. Also, make sure that the build.properties (or