Re: Problem with creation of font cache on Windows 7 64 bit

2010-08-15 Thread Adrian Cumiskey
a convenience -delete-cache option to the Fop command line as quite a few users have previously asked how to delete/clear this file (when not knowing its location on the filesystem). Hope this helps, Adrian. On 14 August 2010 20:38, Adrian Cumiskey adrian.cumis...@gmail.com wrote: Sorry

Re: RE: Problem with creation of font cache on Windows 7 64 bit

2010-08-15 Thread Adrian Cumiskey
-cache with the Java system property –Duser.home, so one can direct it to a different place by editing the JAVAOPTS set in fop.bat. Best Regards, Jonathan Levinson *From:* Adrian Cumiskey [mailto:adrian.cumis...@gmail.com] *Sent:* Sunday, August 15, 2010 12:28 PM *To:* fop-users

Re: Problem with creation of font cache on Windows 7 64 bit

2010-08-14 Thread Adrian Cumiskey
the font cache file in the user's home directory. I will work this weekend on reinstating this feature and integrate it into the current font caching system. Cheers, Adrian. On 14 August 2010 09:09, Adrian Cumiskey adrian.cumis...@gmail.com wrote: Hi Jonathan, The font caching was written prior

Re: Problem with creation of font cache on Windows 7 64 bit

2010-08-13 Thread Adrian Cumiskey
Hi Jonathan, The font caching was written prior to the Windows 7 release so it was never tested at the time. There is currently no way of telling Fop where to put its font cache but it shouldn't be too much effort to add this feature. I'll look at adding support for this. Adrian. On 14 August

Re: ArrayIndexOutOfBoundsException

2010-02-03 Thread Adrian Cumiskey
Hi Ismail, FOP 0.20 is really out of date (many years!) and not supported anymore. I'd recommend you update to the latest release (0.95) or trunk if its possible for you project. Adrian. On 3 February 2010 06:37, ismail.k...@polaris.co.in wrote: Hi All, We are using FOP 0.20 for PDF

Re: AFP document not printed

2009-10-19 Thread Adrian Cumiskey
Hi Alessandro, First off, FOP doesn't currently support the embedding of fonts in resource files. You have to manually configure your printing environment to make those fonts available and then declare their use in your FOP configuration. I'm not familiar with that printer, infact I've

Re: Fop.next release?

2009-10-09 Thread Adrian Cumiskey
Hi all, At the moment I am very busy working on something really important for a client, but I plan in the next few weeks to try and automate the release process a bit more. Thanks for the pointers Vincent. I can't make any promises though, it all depends on how much time I find :) All the

Re: Page Overlay (IPO) Extension example

2009-10-01 Thread Adrian Cumiskey
Hi Venkat, Currently afp:include-page-overlay / is only supported as a child of fo:simple-page-master master-name=simple as given in the example. You'll need to adjust org.apache.fop.render.afp.extensions.AFPPageSetupElement.startOfNode() to make this extension allowable in

Re: Missing FOP classes in fop.jar

2009-07-15 Thread Adrian Cumiskey
Hi Chris, Details on how to subscribe to the FOP mailing list can be found at http://xmlgraphics.apache.org/fop/maillist.html#fop-user. I'm guessing from the missing imports, that you may have upgraded from FOP 0.20 to 0.95? Its good that you have upgraded as 0.20 is very old and is no

Re: Write PageSegment,Overlay to the Resource Group

2009-06-19 Thread Adrian Cumiskey
Hi Bharat, Sorry for the delay in getting back to you but I'm a little swamped with work at the moment. As you have probably already discovered objects are placed in resource groups using the afp:resource-level foreign attribute (see

Re: BCOCA Barcode Support in FOP

2009-06-12 Thread Adrian Cumiskey
Hi Vijay, There is currently no BCOCA support in FOP's AFP libraries. Someone did have a go at at implementing this feature some time ago but the patch was not in an appliable state https://issues.apache.org/bugzilla/show_bug.cgi?id=41995. This work would be a good starting point for you.

Re: Can we compress the images in AFP output?

2009-06-05 Thread Adrian Cumiskey
Hi Bharat, If your AFP environment supports it, you could try embedding you images natively (instead of IOCA FS45) using the images native=true/ user configuration option (see http://xmlgraphics.apache.org/fop/trunk/output.html#afp-image-config). Adrian. attaluri1210 wrote: Hi Everybody,

Re: Can we compress the images in AFP output?

2009-06-05 Thread Adrian Cumiskey
size? Thanks, Bharat Adrian Cumiskey-2 wrote: Hi Bharat, If your AFP environment supports it, you could try embedding you images natively (instead of IOCA FS45) using the images native=true/ user configuration option (see http://xmlgraphics.apache.org/fop/trunk/output.html#afp-image

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

2009-05-27 Thread Adrian Cumiskey
format and if possible pointers to detailed instructions/documntation/ideas will be greatly helpful. Thanks. Vijay Adrian Cumiskey-2 wrote: Hi, There is currently no support for this. I have no time at the moment to implement this feature, but let me know if you would like some pointers

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

2009-05-27 Thread Adrian Cumiskey
if there is another forum for these specific issues. Thank you, Vijay Adrian Cumiskey-2 wrote: Hi Vijay, Sorry to hear you are new to the AFP format, you have a lot of reading to do! :-). Also apologies for the delay in getting back to you but I really have no free time at the moment

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

2009-05-23 Thread Adrian Cumiskey
Hi, There is currently no support for this. I have no time at the moment to implement this feature, but let me know if you would like some pointers and I'll try to help. Adrian. 2009/5/23 vvijay vij...@me.com I have seen some discussion in 2006 in this forum about Media or paper tray

Re: Performance of Apache FOP

2009-05-05 Thread Adrian Cumiskey
Hi Tobias, Do you use many page sequences in your FO documents? FOP processes documents by page sequence so if you can section the document contents into lots of small page sequence segments this can help a lot with memory consumption. Good luck! Adrian. Tobias Anstett [k15t.com] wrote:

Re: How to create version 2.0 PS files

2009-04-01 Thread Adrian Cumiskey
(fopConfiguration)); FOUserAgent foUserAgent = fopFactory.newFOUserAgent(); But it still creates version 3 PS-files (I checked the header). Am I missing something else? Thanks, Frank Adrian Cumiskey-2 wrote: Hi Frank, Yes, you can do this with the language-level configuration option (see http

Re: How to create version 2.0 PS files

2009-03-31 Thread Adrian Cumiskey
Hi Frank, Yes, you can do this with the language-level configuration option (see http://xmlgraphics.apache.org/fop/0.95/output.html#ps-configuration). Adrian. Frank Niedermann wrote: Hi, we are using Apache FOP to create PS files which should be printed on a HP-Unix machine. Unfortunately

Re: Font registration

2009-03-24 Thread Adrian Cumiskey
I did *some* cleaning up of the font configuration recently (http://svn.apache.org/viewvc?view=revrevision=756522). This should make it a little easier to programmatically hook into FOP's font configuration. PrintRendererConfigurator no longer has all the nuts and bolts that it once did

Re: Font registration

2009-03-24 Thread Adrian Cumiskey
that all I needed was to access PrintRenderer. But that I couldn't do (unless I set up my own from scratch?). So I do more or less what Jeremias suggested - I use my ListEmbedFontInfo fontList to create a userConfig, and go from there. thanks Jason On Tue, Mar 24, 2009 at 10:30 PM, Adrian Cumiskey

Re: FOP and AFPDS

2008-12-16 Thread Adrian Cumiskey
with any questions that you may have. Kind regards, Adrian Cumiskey. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: Problem upgrading from 0.94 to 0.95

2008-11-05 Thread Adrian Cumiskey
Also it may be helpful if you are able to tell us which version of JEuclid you are using. Adrian. Adrian Cumiskey wrote: Hi Paul, The NullPointerException is coming from the ImageInputStream being null. This looks like one for Max as I suspect it may be a problem with the JEuclid

Re: Problem upgrading from 0.94 to 0.95

2008-11-05 Thread Adrian Cumiskey
Paul, I think you may have a classpath problem as the PreloaderMathML class now resides in org.apache.fop.mathml package (as part of FOP 0.95), not net.sourceforge.jeuclid.xmlgraphics anymore - you may need to upgrade your JEuclid too. Adrian. Adrian Cumiskey wrote: Hi Paul

Re: AW: Font autodetection yields Out-of-Memory error

2008-09-09 Thread Adrian Cumiskey
a look at PFMInputStream.readString(), it is evident what is going wrong. The stream only catches zero terminations but not EOF (i.e. -1). Wouldn't make it sense to catch EOF here as well? Greetings, Ingo -Ursprüngliche Nachricht- Von: Adrian Cumiskey [mailto:[EMAIL PROTECTED] Gesendet

Re: Font autodetection yields Out-of-Memory error

2008-09-08 Thread Adrian Cumiskey
Hi Ingo, Looking at the stack trace it doesn't look to be a problem with font autodetection, more to do with a parsing problem on one of your PFM files. I'm guessing it must be an erroneous one as I wasn't able to reproduce the problem with the PFM font file that I tried. Could you try

Re: Multithreading issue with fonts for PDF/Postscript renderers

2008-07-21 Thread Adrian Cumiskey
Hi Ingo, Many thanks for reporting this problem. My guess is that the static (and unsynchronized) createFontKey() method in org.apache.fop.fonts.FontInfo may be causing the problem... I will commit a fix shortly and then will ask you to update your FOP trunk and re-test. Adrian. Ingo Maas

Mapping font references to a base 14 font

2008-04-23 Thread Adrian Cumiskey
Hi all, As most of you probably already know, you are currently able to map font references to a custom font as follows :- !-- register a particular font -- font metrics-url=file:///C:/myfonts/FTL_.xml kerning=yes embed-url=file:///C:/myfonts/FTL_.pfb font-triplet

Re: AFP - Adding Page-Groups

2008-04-01 Thread Adrian Cumiskey
Hi Fatih, What you are describing seems not to be available in 0.94 or 0.93. Without checking I'm guessing they were available in 0.20 and somehow got lost, can anyone verify this? My changes in the Temp_AFPGOCAResources code branch will include a new page group being created for each

Re: AFP output. Testing tool winafp

2008-03-26 Thread Adrian Cumiskey
Many thanks for the information Tom, I'll try out his application - although I use three for testing already! Any tips, advice that the FOP community are able to offer would be much appreciated as AFP is not the easiest format to test/debug/develop due to its extensive nature, mammoth

GUI Configuration Tool

2008-03-12 Thread Adrian Cumiskey
Even though FOP configuration is quite well documented (http://xmlgraphics.apache.org/fop/0.94/configuration.html), I think there is a need for a FOP configuration tool. It would help new users get up and running quickly and allow existing users to easily manage their existing configurations.

Re: AFP: missed FormDef

2008-03-10 Thread Adrian Cumiskey
Hi Fatih, ResourceGroups are not currently supported in AFP, but I am currently working on this and support for this feature should appear shortly in the latest FOP trunk code. Adrian. Fatih Piristine wrote: I want to add form definition tags ( called BRG; Begin Resource Group ) in AFP

Rendering time configuration settings using fo:declarations

2008-01-15 Thread Adrian Cumiskey
Hi all, A thought occurred to me whilst implementing something and I thought I would share it with you.. I don't have time to implement this but maybe somebody else would like to pick up this idea/suggestion... Basically, I was wondering if anyone thought it would be a useful feature to be

Re: FOP 0.94 - API access to font directory

2007-10-30 Thread Adrian Cumiskey
Hi Peter, I'm not quite sure why this feature would be useful, maybe it would be helpful if you could explain your requirement for this? Currently there is no public API for this. Anyhow, if you really need to make a programmatic customization you might want to take a look at

Re: font configuration

2007-10-22 Thread Adrian Cumiskey
Hi Steve, I think the best way for you to achieve this is to extend the RendererConfigurator implementing class for the renderer you wish to programmatically change the fonts for. You will then need to update the instance reference to your new class in the getConfigurator() method in the

Re: Postscript Level 1?

2007-10-10 Thread Adrian Cumiskey
I'm not exactly sure how stripped back postscript level 1 is and what its limitations are. But looking through the code the language-level setting is referenced only where postscript image generation is taking place and the tests seem to be upwards of level 2, 3 and 4. Adrian. Johannes

Re: Help needed for generating RTF using FOP 0.94

2007-10-08 Thread Adrian Cumiskey
Hi Anjuli, Please file a bug at http://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop. Please also remember to attach the FO input file that you used to the bug report. This should really help someone investigate the problem. Cheers, Adrian. [EMAIL PROTECTED] wrote: Hi, I am

Re: Problem with postscript extension

2007-10-08 Thread Adrian Cumiskey
/xmlgraphics-fop/ExtensionsForPostScript (by Adrian Cumiskey and Jeremias Maerki). But when I tried to execute the given example, I've got following error: Error(6/46): No element mapping definition found for (Namespace URI: http://xmlgraphics.apache.org/fop/postscript;, Local Name: ps-setpagedevice

Re: FOP task, what changed from 0.92beta to 0.94?

2007-10-02 Thread Adrian Cumiskey
Hi Charles I'd advise you to check your java classpath, it sounds like you might have an old version of xmlgraphics-commons hanging around causing mischief. Fop 0.94 should be using xmlgraphics-commons-1.3svn.jar which comes in the lib folder of the distribution. Adrian. [EMAIL PROTECTED]

Re: Wrong font for bold

2007-10-02 Thread Adrian Cumiskey
Hi Dan, Firstly, you may want to check your font-base/ and/or base/ settings to make sure they refer to an absolute path. I'm trying to go easy here, but if possible I'd strongly recommend that you try and upgrade to using 0.94. 0.20.5 is getting pretty old now and isn't really supported.

Re: Generating neat RTF documents with XSLTPROC and FOP

2007-10-01 Thread Adrian Cumiskey
Hi Nancy, If you want to transform your XML documents into Open Document Format you could write an XSLT stylesheet that is able to take your XML documents and achieve the transformation. Depending on the complexity of the layout you require, this would involve you spending quite a bit of

Re: how to generate a preview output of a document using FOP

2007-10-01 Thread Adrian Cumiskey
Hi Murali, I would recommend that you read http://xmlgraphics.apache.org/fop/0.94/servlets.html as a starting point for the server side component of your requirement. If you are a Java programmer I'd then look at extending either src/java/org/apache/fop/servlet/FopServlet.java

Re: Getting Ariel font recognized

2007-09-11 Thread Adrian Cumiskey
My initial/first thought is that the font is called 'Arial' and *not* 'Ariel'? :-S My advice is to please carefully read and check your configuration against http://xmlgraphics.apache.org/fop/trunk/fonts.html. If you are still having problems its probably best if you post up your fop.xconf.

Re: Font loading problem (linux)

2007-09-07 Thread Adrian Cumiskey
Hi Peter/Wilfred, Please post up your fop.xconf user configuration file. Adrian. WilfridUtz wrote: Hi Peter, I am using Cocoon and experiencing the same problem - everything fine in Windows, font not found in linux! Did you come up with a solution in 2005? Thanks, Wilfrid Peter Verhoye

Re: Out of Memory Exception while loading Images.

2007-08-28 Thread Adrian Cumiskey
Hi Jay, What type of images are they? Also please provide the full exception stack trace. If you could host the images somewhere along with the FO which references them so they could be referenced in a test that would be helpful also. Adrian. Jay wrote: Hi All, This is Digvijay.

Re: Fop 0.94 Font-Configuration Relative Paths

2007-08-28 Thread Adrian Cumiskey
Hi Matthias, As far as I know, none of the base urls should be relative paths (see http://xmlgraphics.apache.org/fop/0.94/configuration.html#general-elements). For a guide to font registration with 0.94, see http://xmlgraphics.apache.org/fop/0.94/fonts.html#register. Adrian. Matthias

Re: Cant seem to embedd Trebuchet MS.

2007-08-23 Thread Adrian Cumiskey
Hi Martijn, My first thought it that it looks like you may be trying to use a 0.20 configuration with a 0.93/trunk version of FOP. If you are using 0.93 or later version of FOP (which is highly recommended) then you should change each font definition in your configuration file to use a

Re: Cant seem to embedd Trebuchet MS.

2007-08-23 Thread Adrian Cumiskey
Hi Martijn, Martijn Laarman wrote: Adrien Cumiskey , what exactly do you mean with a trunk version of FOP ? This just means you are using the 'latest and greatest' FOP code built from the Apache source repository (rather than a recognised official version). It sounds like you might be

Re: embedding font Bundesbahn-Pi at FOP

2007-08-20 Thread Adrian Cumiskey
should I do since I've never followed fop-dev before. Thanks. Adrian Cumiskey wrote: Hi William (and all), This did turn out to be an encoding problem after all. Unfortunately I do not have the time at the moment to provide a fix for this problem. but I have provided a patch which provides

Re: One question about PS extesions and string constants usage

2007-08-06 Thread Adrian Cumiskey
Hi Andrejus, No I don't think there anything preventing you from making this change, although I would probably go for declaring this as a protected variable and making it package visible (as it is only ever used in org.apache.fop.render.ps.extensions). I would suggest you go ahead and

Re: One question about PS extesions and string constants usage

2007-08-06 Thread Adrian Cumiskey
Hi Andrejus, Nice patch :-). It would make it easier for one of the FOP committers to process it if you could submit it to the FOP patch queue at http://issues.apache.org/bugzilla/enter_bug.cgi. Adrian. Andrejus Chaliapinas wrote: Hi Adrian, I would suggest you go ahead and submit a

Re: FOP and Avalon

2007-07-23 Thread Adrian Cumiskey
Hi Javier, The Avalon dependencies are minimal in the latest trunk build (and the forth coming 0.94 release). FOP uses Apache Commons logging which allows you to chose which ever logging implementation you desire. The old configuration dependencies are now minimal, I abstracted all that

Re: Quick survey: upcoming release of FOP 0.94

2007-07-17 Thread Adrian Cumiskey
Hi Hugues, HLeonardi wrote: - font autodetection : I have tested this feature but the results were wrongs. When I have a little time, I will take a look at the doc and I test again. It would be great if you could provide me some more information about this please. I am pretty sure that the

Re: why 'blank' page is not 'last' page with force-page-count=odd

2007-07-11 Thread Adrian Cumiskey
Thanks Chris, just to clarify - I meant to say http://issues.apache.org/bugzilla/show_bug.cgi?id=42576. Adrian. Chris Bowditch wrote: Andreas L Delmelle wrote: On Jul 10, 2007, at 11:24, Adrian Cumiskey wrote: Hi Adrian Yes I also verified this problem. This is a different bug

Re: why 'blank' page is not 'last' page with force-page-count=odd

2007-07-10 Thread Adrian Cumiskey
Hi Guillaume, Yes I also verified this problem. This is a different bug to the other force-page-count problem which was fixed (http://issues.apache.org/bugzilla/show_bug.cgi?id=42779). Please open a new bug entry. Adrian. Vincent Hennebert wrote: Hi Guillaume, guillaume levrero a écrit

Re: FOP 0.93: Java Heap Space OutOfMemory

2007-07-02 Thread Adrian Cumiskey
Try increasing the amount of memory available to your VM by using the java extended argument option -Xmx{???}M, where {???} is the number of megabytes you wish to make available to the java virtual machine. Adrian. [EMAIL PROTECTED] wrote: While generating a PDF from XML+XSL using FOP 0.93,

Re: SV: Font Arial is not displayed on Linux

2007-06-28 Thread Adrian Cumiskey
Hi Johan, Sounds like you have an ordering problem. Each conditional-page-master is evaluated in turn as each page is processed in the page sequence so you should generally order them page-position=first, followed by page-position=rest and finally page-position=last. If I understand you

Re: RTF-Output with FOP 0.93 looks terrible

2007-06-28 Thread Adrian Cumiskey
Hi Kerstin, Sorry but could you be a little more descriptive of the problem you are having? Providing some FO source examples would be of great help in examining any problems you are experiencing with the RTF output. Incidentally which RTF viewing application are you using to display/test

Re: Forcing a new line

2007-06-27 Thread Adrian Cumiskey
Hi Trevor, For your table/column headings - if you wrap the textual content of your fo:table-cell/ within a block it should by default wrap the text within it since the wrap-option attribute of fo:block/ defaults to wrap. The blank line between your table headings and table rows can be

Re: Tables overlap with following block

2007-06-26 Thread Adrian Cumiskey
Hi Rigas, Please file a bug with an attached example FO showing the problem in the bug tracking system (http://issues.apache.org/bugzilla/enter_bug.cgi). Cheers, Adrian. Rigas Parathyras wrote: Hello everyone, I am having a problem in FOP 0.93 in the following example Test case: There is

Re: PNG Outputfile different from CLI and embedded FOP

2007-06-25 Thread Adrian Cumiskey
Hi Franz, Do the width and height variables in your code snippet have values? I don't see the display.width and display.height variables being passed to your stylesheet when you execute fop from the command line. To do this use the -param argument. try :- fop.bat -c userconfig.xml -xml

Re: fop doesn't style list-item-label for RTF

2007-06-18 Thread Adrian Cumiskey
Hi Deryl, Which version of FOP are you using? It would be really helpful if you include the FO file in full. Cheers, Adrian. Deryl Seale wrote: I am trying to render a numbered (well, lettered really) list in RTF format, but FOP doesn't apply the styles I specify. I have tried the

Re: Is there possibility to embed file as attachment into resulting PDF through FOP?

2007-06-15 Thread Adrian Cumiskey
I would like to suggest that users who submit patches try to remember to provide a base subversion revision id of the code they have modified along with their patch. In this way if over time the patch becomes a little out of date with the current state of the trunk code, the value of the

Re: PDF Problem

2007-06-13 Thread Adrian Cumiskey
Hi Christian, It might also be useful if you could provide us with your original FO file that you generated the PDF from. Adrian. Stefan Heuer wrote: Hi Christian, Can you give us a little bit more information. What PDF viewer you use? And if possible a sample file. I can search in my PDF

Re: embedded configuration of base directory

2007-06-08 Thread Adrian Cumiskey
Hi Derrill, It would be helpful if you could tell us which version of FOP you are using. If possible I would recommend you switch to trunk code as this now contains much tighter configuration that should highlight any misconfigurations (including unresolved paths) that you may have. Adrian.

Re: force-page-count issue

2007-06-04 Thread Adrian Cumiskey
Please raise a bug in our bugzilla bug tracking system (http://issues.apache.org/bugzilla/enter_bug.cgi) and I will look into fixing this for you. Adrian. nogunner wrote: Hi All, I've found an issue with the force-page-count: I need to start every new page-sequence on an odd page number,

Re: Not able generate parse html from xml using XSL Fo

2007-05-30 Thread Adrian Cumiskey
Hi Balamurali, I believe you are using an older 0.20 release of FOP which is no longer actively supported. I'm not sure about the support for what you are trying to do in that version. If it is possible to do so, I'd recommend upgrading to 0.93 and try again. Cheers, Adrian. [EMAIL

Re: problem with fop-0.93 and fonts

2007-05-24 Thread Adrian Cumiskey
Hi Andreas, This should fix the problem :- font metrics-url=file:///C:/apache_fop_fonts/batang.xml kerning=yes embed-url=file:///C:/apache_fop_fonts/BATANG.TTF I recently worked on developing a more tightly validated FOP configuration and some new font autodetection functionality. This should

Re: Struck with a Problem in Fop

2007-05-14 Thread Adrian Cumiskey
Hi Rakesh, Looks to me like you are missing avalon-framework-4.2.0.jar from your Tomcat classpath. You can find this jar file in lib folder underneath your top-level FOP project folder. Adrian Cumiskey. rakesh satharasi wrote: Hi, I am developing a web application which will read

Re: Problem with XSLTInputHandler and Driver class

2007-05-03 Thread Adrian Cumiskey
. Adrian Cumiskey. [EMAIL PROTECTED] wrote: Hi, I need help to solve a problem with XSLTInputHadler and Driver class, working with fop 0.20.5 version. I need to generate a pdf from a xslt source existing in my project and a xml source received as a parameter. I´m using this constructor method

Re: Mixing languages and Unicode

2007-05-01 Thread Adrian Cumiskey
Hi Mildred, See my reply below.. Mildred wrote: Hi, I'm trying to create a document using XSL and FOP containing tibetan prayers. And I'm having troubles with fonts. At first, all my tibetan characters were represented by a #. I looked at the fop website and I managed to create a

Re: URIResolver for svg

2007-04-27 Thread Adrian Cumiskey
should go *some* way towards breaking out the dependencies. I imagine in the longer term the basic URI resolution should maybe go in Batik with a specialisation of this class in FOP. What does everybody else think? Adrian Cumiskey. On 27.04.2007 12:50:35 Peter wrote: Thanks Jeremias

Re: PDF-File not save on disk

2007-03-29 Thread Adrian Cumiskey
(e.g. a ByteArrayOutputStream) object and then wrap it in a Result object which is passed to the transform() method of the transformer. Adrian Cumiskey. Marcel S wrote: Hello, I made an application that creates a PDF-File with the FOP-Engine. My problem is that i can only save the PDF-File

Re: RTF list numbering incorrect

2007-03-21 Thread Adrian Cumiskey
Hi David, Have not tried to reproduce this with 0.92 beta or 0.93. This FO list-block seems to work fine in the trunk. Which RTF viewer are you using to test the results? Adrian. davidl wrote: Hi, I'm using FOP 0.92 beta to convert FO to RTF. I have a numbered list in the FO but list

Re: How to embed fonts

2007-03-21 Thread Adrian Cumiskey
. There are many improvements in FOP 0.93, and font (auto)configuration/detection is about to become much easier when my patch is applied to the trunk. If it is possible for you to switch over to using FOP instead maybe via HTTP calls to the FOPServlet I would recommend that you do so. Best of luck, Adrian

Re: Exception in thread main java.lang.NoClassDefFoundError: org/apache/fop/cli/Main

2007-03-13 Thread Adrian Cumiskey
Hi Jonn, You downloaded the source only. You need to build it with ant first. cd D:\fop-0.93 ant jar-main fop Adrian. jonn wrote: I have downloaded fop-0.93-src.zip and extracted it and added fop-0.93\lib folder to classpath. And simply tried ‘fop’ command without args. I got this error.

Re: suggest a filename to a generated pdf

2007-03-12 Thread Adrian Cumiskey
Hi Jan, I think maybe you might need to quote the value of your filename parameter ... Try this :- response.setHeader(Content-Disposition, attachment; filename=\ + fileName + \); Adrian. Zmitko, Jan wrote: Hi, I try do suggest a filename to the generated pdf´s. However the PDF should

Re: Now: Path-problem

2007-03-12 Thread Adrian Cumiskey
Hi Tom, If all your FO files reside in the same place then place a font-base definition in your FOP configuration file. If your FO files are located in different locations make a call to userAgent.setBaseURL(baseURL) before processing the FO file to set the base url used for resolving.

Re: AW: suggest a filename to a generated pdf

2007-03-12 Thread Adrian Cumiskey
. In the case of attachment the filename is allways set (with and without escaping). -Ursprüngliche Nachricht- Von: Adrian Cumiskey [mailto:[EMAIL PROTECTED] Gesendet: Montag, 12. März 2007 10:26 An: fop-users@xmlgraphics.apache.org Betreff: Re: suggest a filename to a generated pdf

Re: FOP 0.93 generated a damaged PDF File

2007-03-07 Thread Adrian Cumiskey
Hi Yaya, Are you using FOP 0.20 or 0.93? Please post up your input xml/XSL-FO files and I'll take a look at it. Adrian. DIALLO Yaya wrote: Hi, I use FOP 0.93 to generate a pdf file from xml/XSL-FO. While opening, the file I get the following error, unable to open the file , the file

Re: Writing to a file

2007-03-07 Thread Adrian Cumiskey
Hi Johan, This is not really an XSL-FO or FOP related question, please find another mailing list for helping you with this solution. Cheers, Adrian. Johan Johansson wrote: Hi everyone, Im trying to figure out if it is possible to write som variable/text to a file and append the file if

Re: pdf meta information

2007-03-07 Thread Adrian Cumiskey
Hi Hinrich, You can use fo:declarations to do this. I think this link will help you find what you are looking for :- http://wiki.apache.org/xmlgraphics-fop/HowTo/XMP Adrian. Hinrich Aue wrote: Hello, I’m trying to add meta information to my PDF output. I’m using docbook, but since it

Re: Distribute fonts in jar

2007-01-26 Thread Adrian Cumiskey
This should work.. Try using the URL jar protocol :- jar:file:///c:/folder/lib.jar!fonts/font.xml Adrian. David Morales wrote: Hi all... I need to distribute all xsl-stuff in a jar file, including fonts (userconfig.xml, fonts.xml, and ttf files)... but can fop read fonts from a URL?? I

Re: Bad FOP configurations

2007-01-24 Thread Adrian Cumiskey
Chris Bowditch wrote: Simon Pepping wrote: - A nonexistent metrics file URL for a font that is not used is not a problem. Agreed. The problem is that you only know if the font is going to be used at runtime - then you have to handle the error in some way. So I think its best to catch

Re: Bad FOP configurations

2007-01-23 Thread Adrian Cumiskey
Hi Andreas, I like this idea and suggest adding a new configuration variable called 'strict-config' with a default value of false. What does everyone else think? regards, Adrian. Andreas L Delmelle wrote: On Jan 23, 2007, at 15:06, Adrian Cumiskey wrote: Hi Adrian, I am investigating

Re: Fonts AWT

2007-01-19 Thread Adrian Cumiskey
this??? I'va tried to set sun.java2d.fontpath system property... and also copying mt fonts to $jdk/jre/lib/fonts... What about org.apache.fop.render.java2d.FontSetup class can i extend this funcionality or anyother to add fonts?? Thanks. Adrian Cumiskey escribió: Hi David, This looks

Re: Can't create 3of9Barcode font metric file

2007-01-16 Thread Adrian Cumiskey
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

Re: XSL transformation throws a NullPointerException

2007-01-11 Thread Adrian Cumiskey
Hi Xavier, The exception is thrown on this line because of the method call on a null rootFObj object reference. 416: BookmarkTree bookmarkTree = rootFObj.getBookmarkTree(); Although not sure why the rootFObj reference is null... I am new to the fop project and still finding my way but will