Multi Threaded engine

2012-08-31 Thread Theresa Jayne Forster
I would like to know is anyone working on a multi threaded version of fop, The thing that I discovered was that when creating a PDF with lots of images if the images are using external links then it tends to take a long time to actually get them and put them into a document, I was wondering

Getting Jai included for use by FOP with Maven

2012-02-17 Thread Theresa Jayne Forster
Ok, as you know I was asking how to do this and having so many problems. I resolved the problem but now have refined the issue I was looking around and found that the gt-coverage library uses it and brings in a copy that fop can also use. So originally I used repository

RE: How to include JAI in Maven build?

2012-02-14 Thread Theresa Jayne Forster
Jayne Forster wrote: Just wondering if anyone has worked out how to get Jai working with FOP in a standalone Jar file? Even if you include the JAI jars, there are the dll's as well, has anyone got an example of a Maven POM file to show this working? Kindest regards Theresa Forster

RE: Invalid PDF files from FOP 1.0

2012-02-13 Thread Theresa Jayne Forster
PDF files from FOP 1.0 Don't you want to reference your fonts relative to font-base? On 02/13/2012 09:07 AM, Theresa Jayne Forster wrote: Well I have sort of tested the system now, I used the default fonts.fo file and transformed it to PDF. This simple PDF is not compatible with adobe

RE: Invalid PDF files from FOP 1.0

2012-02-13 Thread Theresa Jayne Forster
Senior Software Developer From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: 13 February 2012 16:07 To: fop-users@xmlgraphics.apache.org Subject: Invalid PDF files from FOP 1.0 Well I have sort of tested the system now, I used the default fonts.fo file and transformed it to PDF

RE: Cell border rendering error (thicker) with number-column-spanned

2012-02-10 Thread Theresa Jayne Forster
I have seen that but I don't think it's actually bigger, it seems to be when the reader tries to show a 1 pixel (for example) line it guestimates it as 2 pixels, as pixels on document and pixels on zoomed viewer do not necessarily match, the other day SumatraPDF was showing all Letter l characters

RE: Problem that could lose me my job

2012-02-08 Thread Theresa Jayne Forster
OK I think I have sorted out the image url issue now when I run the pdf it shows the following warnings 2012-02-08 09:37:39,131 [pool-1-thread-1] WARN uk.co.inbrand.fopengine.FopEngine - Before Instantiation 2012-02-08 09:37:39,156 [pool-1-thread-1] WARN uk.co.inbrand.fopengine.FopEngine -

RE: Problem that could lose me my job

2012-02-07 Thread Theresa Jayne Forster
Thank you for all your time guys, I was being a clutz, Unbeknown to me all ERRORS were being pushed into a separate file - (I didn't put together the log.properties ) In the error log I am getting an exception as below. So it is having problems getting the images, so at least I have

RE: Generating a PDF by drawing to PDFDocumentGraphics2D

2012-02-07 Thread Theresa Jayne Forster
The usual way we create PDFs is via XML/XSL into a .fo file which is then compiled into the pdf. Example of the code public File generatePDFFromXml(File xslFile,File xmlFile) { BufferedOutputStream out = null; File tempFile = null;

Problem that could lose me my job

2012-02-03 Thread Theresa Jayne Forster
I have just come across a problem that may lose me my job unless I can resolve it. 1. I am using Fop-1.0 2. I create PDFs and then view them in Sumatra PDF - perfectly fine 3. Try to open the same file in Adobe Acrobat - it reports that the file is corrupt and cannot be

RE: Problem that could lose me my job

2012-02-03 Thread Theresa Jayne Forster
Sorry, I was under pressure to roll back the servers that we had just upgraded to use the fop 1.0 system. One of the failing PDFs is at http://www.inbrand1.co.uk/failsinadobe.pdf The FO that generated it is at http://www.inbrand1.co.uk/failsinadobe.fo The fopconfig has nothing except font

RE: Problem that could lose me my job

2012-02-03 Thread Theresa Jayne Forster
Jayne Forster Subject: Re: Problem that could lose me my job On 3/02/2012 8:58 PM, Theresa Jayne Forster wrote: Sorry, I was under pressure to roll back the servers that we had just upgraded to use the fop 1.0 system. One of the failing PDFs is at http://www.inbrand1.co.uk/failsinadobe.pdf

RE: Problem that could lose me my job

2012-02-03 Thread Theresa Jayne Forster
: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: 03 February 2012 14:06 To: fop-users@xmlgraphics.apache.org Subject: RE: Problem that could lose me my job Ok I have put the complete log for the generation on a gist as it is Way to big to post here https://gist.github.com/1730300 I

RE: Problem that could lose me my job

2012-02-03 Thread Theresa Jayne Forster
- From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: 03 February 2012 14:44 To: fop-users@xmlgraphics.apache.org Subject: RE: Problem that could lose me my job Ok Checked the deletion code, it doesn’t appear to be that , I stopped that part happening but the pdf is still ending up

Batik Problems

2012-02-02 Thread Theresa Jayne Forster
Ok I have solved my batik issue, apparently you cannot use one-jar to create a standalone jar as it cannot get the default CSS and XSD files from the library batik jars. So changing to using maven assembly plugin it now puts the jars in unpacked, so the classes and files are available. Now

RE: Batik Problems

2012-02-02 Thread Theresa Jayne Forster
: org.apache.fop.image.loader.batik.ImageLoaderSVG@67214626 with penalty 0 Kindest regards Theresa Forster Senior Software Developer From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: 02 February 2012 11:58 To: fop-users@xmlgraphics.apache.org Subject: Batik Problems Ok I have solved my batik issue

Problem with SVGs on different servers

2012-02-01 Thread Theresa Jayne Forster
I have an application being compiled with Maven and packaged by one-jar, It works fine locally on Java 1.6.0_26 When I put it on the live server running Java 1.6.0_27 the PDFS are missing the SVG files, I have batik 1.7 in the jar and am using fop-1.0.jar in there as well,

RE: Problem with SVGs on different servers

2012-02-01 Thread Theresa Jayne Forster
Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: 01 February 2012 12:46 To: fop-users@xmlgraphics.apache.org Subject: Problem with SVGs on different servers I have an application being compiled with Maven and packaged by one-jar, It works fine locally on Java 1.6.0_26 When I put

RE: Problem with SVGs on different servers

2012-02-01 Thread Theresa Jayne Forster
-framework-impl-4.3.1.jar Batik-???-1.7.jar (16 of them) Xml-apis-ext-1.3.04.jar Xalan-2.6.0.jar What should I have? Kindest regards Theresa Forster Senior Software Developer From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: 01 February 2012 12:46 To: fop-users

How to get one section above another

2012-01-31 Thread Theresa Jayne Forster
I know that FOP does not yet support z-index, is there any way of making sure say region-after appearing on the page over region-body. I have an SVG which is the whole page I have as a block-container on the body but I sometimes need the after to change what is there overloading the very

RE: [FOP 1.0] metrics font, glyph and unicode

2012-01-27 Thread Theresa Jayne Forster
I have found a problem with some fonts without metrics files I have a FRUTIGER Bold and when I just import it without metrics file, its returning the characters all on top of each other. Add the fop 1.0 metrics file and suddenly its working correctly. Kindest regards Theresa Forster Senior

Problem with fop embedding fonts on linux

2012-01-24 Thread Theresa Jayne Forster
Ok, I have been developing on Windows 7, all works fine on the embedding But no luck with Linux I get the following error on the first entry in my fopconfig.xml file I have changed it and still no luck, I have checked the case of the path and file name and it matches The entry in the

RE: Problem with fop embedding fonts on linux

2012-01-24 Thread Theresa Jayne Forster
., chmod +x). On Tue, Jan 24, 2012 at 1:24 PM, Theresa Jayne Forster ther...@inbrand.co.uk wrote: Ok, I have been developing on Windows 7, all works fine on the embedding But no luck with Linux I get the following error on the first entry in my fopconfig.xml file I have changed it and still no luck

How to do what i am trying to do?

2012-01-06 Thread Theresa Jayne Forster
In the past with the modified 0.23 I had a template using z-index and it worked. But now I have upgraded to 1.0 its not working. (the compliance page says No) So how can you specify the order of sections overlapping/overlaying rather than pushing each other out of the way. I have

Problem with clippath

2011-12-16 Thread Theresa Jayne Forster
As previously requested I am working with trying to clip images with the method passed to me through this list, But this is not working so I would appreciate some feedback, it should be an image with rounded corners, unfortunately its appearing with square corners. ?xml version=1.0

Is there a master reference for FOP functionality?

2011-12-13 Thread Theresa Jayne Forster
I am trying to learn all the options available to FOP but there doesn't seem to be a reference that tells you everything, The w3schools XSL-FO reference tells you what parameters are available to a call. For instance, external-graphic below. But what I cant find is what are the valid options

Fonts Problem

2011-12-13 Thread Theresa Jayne Forster
Using FOP 1.0 I am having problems with some fonts My fopconfig is as follows renderers renderer mime=application/pdf fonts font embed-url=file:///myapp/Fonts/FRUTL___.TTF

RE: Is there a master reference for FOP functionality?

2011-12-13 Thread Theresa Jayne Forster
, Dec 13, 2011 at 10:15 AM, Luis Bernardo lmpmberna...@gmail.com wrote: http://www.w3.org/TR/xsl/ On Tue, Dec 13, 2011 at 9:54 AM, Theresa Jayne Forster ther...@inbrand.co.uk wrote: I am trying to learn all the options available to FOP but there doesn't seem to be a reference that tells you

RE: Interrupt/cancel/abort a render

2011-12-06 Thread Theresa Jayne Forster
Craig, I agree with you, that is exactly how we process stuff here, drop a file in a folder and then the fopengine picks it up - processes and then drops the output into another folder for the original process to pick up (or time out) Kindest regards Theresa Forster Senior Software Developer

Why the difference in speed?

2011-12-05 Thread Theresa Jayne Forster
Hi All, Just wondering , we used to run 0.20.5 as a fop.exe and saving the input files and then execing fop.exe This was mind blowingly fast at generating the pdf. Now I am trying to use Fop 1.0 and doing it all programmatically, it is significantly slower specifically for the creation

RE: Why the difference in speed?

2011-12-05 Thread Theresa Jayne Forster
) at java.lang.Thread.run(Thread.java:619) Kindest regards Theresa Forster Senior Software Developer From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: 05 December 2011 13:22 To: fop-users@xmlgraphics.apache.org Subject: Why the difference in speed? Hi All

RE: Freezing when attempting to create new instance of FopFactory.

2011-12-01 Thread Theresa Jayne Forster
I had something like that - it was hitting the create FopFactory and just exiting, no error no nothing, To resolve this I set my logging to debug, and suddenly I saw the problem appear in the logs. Kindest regards Theresa Forster Senior Software Developer From: JRSofty

RE: Freezing when attempting to create new instance of FopFactory.

2011-12-01 Thread Theresa Jayne Forster
I just checked the list going back to when I had the problem this is what I found back then.. I thought I had posted, I discovered the issue, it was noclassdeffound errors but tomcat was swallowing them so I wasn't getting anywhere on debug, however when I took the code into a stand alone

RE: Speeding up FOP 1.0

2011-11-30 Thread Theresa Jayne Forster
XML file is https://gist.github.com/1409545 XSL file is https://gist.github.com/1409552 Its running on a Quad Core 4gb ram Windows 7 Machine, but it will be running on a Dual Core Linux system with 2GB ram when in Production. Kindest regards Theresa Forster From: Rob Sargent

RE: Speeding up FOP 1.0

2011-11-30 Thread Theresa Jayne Forster
On top of that, if I make the images local and not from the 3rd party site, the pdf then takes 2.5 seconds The images only take 8 seconds to download from the 3rd party site, so why is it taking so long? Kindest regards Theresa Forster Senior Software Developer

is it possible to run out of memory

2011-09-19 Thread Theresa Jayne Forster
I have a fop engine running on a windows server. Single core AMD - 2GB ram Whenever I try to generate a specific PDF it locks up and goes to 100% CPU But using the same engine locally on my Quad Core - 4GB ram It runs fine and generates the PDF, Any idea what could be causing that

RE: Conversion from 0.23 to 1.00

2011-09-16 Thread Theresa Jayne Forster
setting the attributes? content-width, content-height, scaling? In my image block I also set line-height='1' and font-size='0pt' _ From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: Thursday, September 15, 2011 11:10 AM To: fop-users@xmlgraphics.apache.org Subject

Conversion from 0.23 to 1.00

2011-09-15 Thread Theresa Jayne Forster
I have converted my code from 0.23 to 1.00 But I am having problems with my graphics. In the past we have used scale and it has scaled properly, Now under 1.00 its not scaling at all (well cropping) Am I missing something (the original 0.23 had been modded to provide extras like cmyk

RE: Problem with foreign characters,

2011-09-08 Thread Theresa Jayne Forster
-j/extensions.html Le 08/09/2011 13:48, Theresa Jayne Forster a écrit : I have a minor issue and would like some help if I can, Before I start there are a couple of pointers here. 1) I cannot change the java code nor the version of FOP (modified 0.23) 2) I have a partial resolution

RE: Problem with arial font access

2011-09-05 Thread Theresa Jayne Forster
On that note, How do you determine the font-family name for a font loaded by autodetect? For instance I have the font HelveticaNeue File names are not always the same HELVNBI.TTF - HelveticaNeue BoldItalic Italic Title = HelveticaNeue BoldItalic LTe50920.ttf - HelveticaNeue LT 47 LightCn

RE: XSL vs. FOP [was: Re: pagenumbering]

2011-08-31 Thread Theresa Jayne Forster
And my question was about the FO fo:page-number/ tag therefore a FOP question Ie how do I get the output I need when using the tag.. Kindest regards Theresa Forster Senior Software Developer From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: 31 August 2011 13:37 To:

RE: pagenumbering

2011-08-31 Thread Theresa Jayne Forster
8A9 tel:613-745-6605 Tel:613-745-6605 x 254 Fax:613-745-4019 Email: mailto:cy...@hrsg.ca cy...@hrsg.ca Web:http://www.hrsg.ca/ www.hrsg.ca Competency-based HR Solutions From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: August-30-11 9:50

RE: pagenumbering

2011-08-31 Thread Theresa Jayne Forster
-numberxsl:value-of select=IPN//xsl:attribute Then I use pdfbox to mrge the resulting PDFs. _ From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: Wednesday, August 31, 2011 9:41 AM To: fop-users@xmlgraphics.apache.org Subject: RE: pagenumbering Thanks for the response

pagenumbering

2011-08-30 Thread Theresa Jayne Forster
I was wondering, how can you change the page numbering on page-number-citation stuff, We have the requirement of numbering starting on the inside cover as page 1 not page 2 as currently the front page is classed as page 1. Is there any way to make the numbering start from 1 on the inside

RE: pagenumbering

2011-08-30 Thread Theresa Jayne Forster
cr...@maden.org wrote: On 08/30/2011 09:49 AM, Theresa Jayne Forster wrote: I was wondering, how can you change the page numbering on page-number-citation stuff, We have the requirement of numbering starting on the inside cover as page 1 not page 2 as currently the front page is classed

RE: Help: XSL to PCL

2011-08-26 Thread Theresa Jayne Forster
Well one of the first things you would need to do is configure the pcl renderer in the config file. http://xmlgraphics.apache.org/fop/0.95/configuration.html#pcl-renderer and be aware of the restrictions http://xmlgraphics.apache.org/fop/0.95/output.html#pcl Kindest regards

RE: Arabic fonts r-L

2011-08-24 Thread Theresa Jayne Forster
Page numbering, I use the page numbering for numbers on the page as well as for the contents page . Kindest regards Theresa Forster Senior Software Developer

RE: Arabic fonts r-L

2011-08-24 Thread Theresa Jayne Forster
an example FO of what is not working for you regarding page numbering in RTL context? On Wed, Aug 24, 2011 at 1:03 AM, Theresa Jayne Forster ther...@inbrand.co.uk wrote: Page numbering, I use the page numbering for numbers on the page as well as for the contents page . Kindest regards

Arabic fonts r-L

2011-08-23 Thread Theresa Jayne Forster
Hi all, Just looking for information on the current status of compliance for Arabic fonts, I know there is a side fork dealing with this but I have not seen any update recently. In particular 1. Has the R-L columns been completed? 2. Have the R-L numbering been complete?

RE: Tool or schema to validate report xsl files

2011-08-01 Thread Theresa Jayne Forster
I use the open source Kernow program to test my files, it is really good for both Schema and actually testing the transform as well. Kindest regards Theresa Forster Senior Software Developer -Original Message- From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: 01 August 2011

RE: org.apache.fop.fo.ValidationException: fo:list-block is missing child elements

2011-07-12 Thread Theresa Jayne Forster
I have this to come, as I have just upgraded from a customised 0.23 to 1.0 and the first problem I saw was that originally we would define the document as Xsl-region-before Xsl-region-after Xsl-region-body Now we have to have body before everything else.. Plus we had custom cmyk(12%,1%,0%,20%)

RE: pdftops eps font issue

2011-07-08 Thread Theresa Jayne Forster
Why not just have FOP generate the eps direct without going through the PDF stage? Kindest regards Theresa Forster Senior Software Developer -Original Message- From: Alberto Priore [mailto:alberto.pri...@gmail.com] Sent: 07 July 2011 17:06 To: fop-users@xmlgraphics.apache.org

RE: pdftops eps font issue

2011-07-08 Thread Theresa Jayne Forster
://xmlgraphics.apache.org/fop/0.95/output.html and it can create with some limitation like you can see in .ps format http://xmlgraphics.apache.org/fop/0.95/output.html#ps Theresa Jayne Forster wrote: Why not just have FOP generate the eps direct without going through the PDF stage? Kindest

CMYK

2011-06-27 Thread Theresa Jayne Forster
We produce pdf files to send to printers, and they continually complain that the images are RGB, is there any way to force them to be CMYK within BATIK/FOP? 0.2x Fop. (cant upgrade this to 1.0 at the moment) Kindest regards Theresa Forster Senior Software Developer

RE: Strange response

2011-06-22 Thread Theresa Jayne Forster
Andreas, thank you for your response, I am sorry to everyone I keep asking questions but my boss is pushing further and further with the 0.2 rather than let me complete the change to 1.0 which is always a bad idea. I am seeing strange things happening, and I guess more I am looking for a if this

RE: I need bottom up text.

2011-06-21 Thread Theresa Jayne Forster
[mailto:andreas.delme...@telenet.be] Sent: 20 June 2011 18:41 To: fop-users@xmlgraphics.apache.org Subject: Re: I need bottom up text. On 20 Jun 2011, at 18:07, Theresa Jayne Forster wrote: Hi Theresa I am trying to do a document with a box near the bottom which is bottom aligned. I have tried

RE: I need bottom up text.

2011-06-21 Thread Theresa Jayne Forster
Developer -Original Message- From: Andreas L. Delmelle [mailto:andreas.delme...@telenet.be] Sent: 20 June 2011 18:41 To: fop-users@xmlgraphics.apache.org Subject: Re: I need bottom up text. On 20 Jun 2011, at 18:07, Theresa Jayne Forster wrote: Hi Theresa I am trying to do

RE: I need bottom up text.

2011-06-21 Thread Theresa Jayne Forster
I solved it in the end, the problem is that you have to define a column-width and also a row height otherwise it doesn’t show... Kindest regards Theresa Forster Senior Software Developer -Original Message- From: Pascal Sancho [mailto:pascal.san...@takoma.fr] Sent: 21 June 2011

Strange response

2011-06-21 Thread Theresa Jayne Forster
I have a fo file with a block inside a b-c But on the pdf produced, I am not seeing the block on it. But I do see the red border of the b-c And all text is missing, any ideas why? xsl:template name=header fo:static-content

I need bottom up text.

2011-06-20 Thread Theresa Jayne Forster
I am trying to do a document with a box near the bottom which is bottom aligned. I have tried everything but as soon as I put the apply-templates inside the table the text vanished, what am I doing wrong and how can I get it working. (basically I am looking for similar to the html4.0

RE: Error including a PDF inside another PDF

2011-06-17 Thread Theresa Jayne Forster
On a slightly different note can you use the FOP-pdf-images.jar to extract thumbnails of PDFs? Kindest regards Theresa Forster Senior Software Developer -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: 17 June 2011 08:00 To: fop-users@xmlgraphics.apache.org

RE: Error including a PDF inside another PDF

2011-06-17 Thread Theresa Jayne Forster
But can it be used to extract the front page as an image? We can rescale later... Kindest regards Theresa Forster Senior Software Developer -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: 17 June 2011 11:17 To: fop-users@xmlgraphics.apache.org Subject: Re:

RE: FOP Extension to handle Wiki Syntax

2011-06-15 Thread Theresa Jayne Forster
We see what you are trying to do, what would be probably better rather than creating an extension, How about a more helpful / generic pre-processor Wiki -- XML And then you can add your own pre-processor extensions to say add BBCode-XML Then you can use your wiki-XML to change the wiki page

Color fade on SVG with gradients

2011-06-14 Thread Theresa Jayne Forster
After seeing the thread for Text fill color in external SVG is not preserved I thought I would raise this issue we are seeing, With small numbers of gradients, we have no problems but we have a gradient full logo with many gradients, With normal viewers it looks exactly as intended (with a

RE: FOP Extension to handle Wiki Syntax

2011-06-14 Thread Theresa Jayne Forster
Can't you just XSLT the incoming document ? Kindest regards Theresa Forster Senior Software Developer -Original Message- From: kalgon [mailto:kal...@hotmail.com] Sent: 14 June 2011 11:09 To: fop-users@xmlgraphics.apache.org Subject: FOP Extension to handle Wiki Syntax Hi, I would

Multi Threaded FOP?

2011-06-09 Thread Theresa Jayne Forster
I am looking into redoing my FOP integration and maybe adding it into some form of MQ service, So many applications can request fop functionality and then have their response sent on the MQQueue, How Threadsafe is the Fop engine? Or is the current newFopInstance from a singleton factory

RE: NoSuchMethodError: org.apache.fop.fonts.FontInfo.setEventListener

2011-06-08 Thread Theresa Jayne Forster
I had a similar problem and it was that Struts as included by Netbeans had an older commons-io library that was missing required methods that FOP needs. Kindest regards Theresa Forster Senior Software Developer -Original Message- From: honyk [mailto:j.tosov...@email.cz] Sent: 07 June

RE: Hair ripping time

2011-06-06 Thread Theresa Jayne Forster
2011 18:07 To: fop-users@xmlgraphics.apache.org Subject: Re: Hair ripping time That print statement will always be called since it's in the finally block. On 06/03/2011 09:27 AM, Theresa Jayne Forster wrote: This makes no sense its crashing out with no error on this line Fop fop

RE: Hair ripping time

2011-06-06 Thread Theresa Jayne Forster
regards Theresa Forster Senior Software Developer -Original Message- From: Andreas L. Delmelle [mailto:andreas.delme...@telenet.be] Sent: 03 June 2011 21:54 To: fop-users@xmlgraphics.apache.org Subject: Re: Hair ripping time On 03 Jun 2011, at 17:27, Theresa Jayne Forster wrote: Hi

RE: Hair ripping time

2011-06-06 Thread Theresa Jayne Forster
which jars contain the file and where they can be retrieved from if required, although I have not tested the links. Thanks. -Mike On 06/06/11 09:25, Theresa Jayne Forster wrote: Thanks for that, it has improved my debugging but it seems to be implying an issue with FOP

RE: Hair ripping time

2011-06-06 Thread Theresa Jayne Forster
ask for your assistance in notifying us immediately by e-mail, telephone or letter. InBrand Software Ltd Registered in England No. 5131004 Registered Office: The Old Barn, Ewhurst Road, Cranleigh GU6 7EF -Original Message- From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk

RE: Hair ripping time

2011-06-06 Thread Theresa Jayne Forster
that was implemented in 1.3.1 and up. So I had to go into the library defs in the struts framework and delete the 1.1 and replace it with the 1.3.1 and it now works fine. Kindest regards Theresa Forster Senior Software Developer -Original Message- From: Theresa Jayne Forster [mailto:ther

RE: Problems since upgrading,

2011-06-03 Thread Theresa Jayne Forster
font has a weight of 100, or normal 300 / 400 etc. http://www.w3.org/TR/CSS2/fonts.html#font-boldness Standard keywords are normal (400) and bold (700), and lighter / bolder (relative to parent). _ From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: Thursday, June

RE: FOP with embedded font running in Oracle 10g

2011-06-03 Thread Theresa Jayne Forster
Are you just saying your Java App has to be able to access the font to create the PDF based on data from the database or are you saying you have to store the ttf file inside the database? The former, just use auto-detect/ in the fopconfig. With 1.0 it searches the classpath (which includes your

RE: Problems since upgrading,

2011-06-03 Thread Theresa Jayne Forster
On that note, is it possible to chain XSL files on the fop input, or even make it double process, Ie multi pass processing to allow for calculations on page number etc? Kindest regards Theresa Forster Senior Software Developer

Hair ripping time

2011-06-03 Thread Theresa Jayne Forster
Ok I cannot see what is wrong here, A test app does this Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF,useragent,out); TransformerFactory factory = TransformerFactory.newInstance(); Source xslt = new StreamSource(new File(C:/sample.xsl));

RE: Hair ripping time

2011-06-03 Thread Theresa Jayne Forster
Tried that same result, it jumps immediately out of the try catch into the finally Kindest regards Theresa Forster Senior Software Developer Seems like you need: Transformer transformer = factory.newTransformer(); transformer.transform(new StreamSource(inputFO)); HTH! Regards Andreas

RE: Hair ripping time

2011-06-03 Thread Theresa Jayne Forster
Registered Office: The Old Barn, Ewhurst Road, Cranleigh GU6 7EF -Original Message- From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: 03 June 2011 15:42 To: fop-users@xmlgraphics.apache.org Subject: RE: Hair ripping time Tried that same result, it jumps immediately out

RE: Hair ripping time

2011-06-03 Thread Theresa Jayne Forster
Sorry I think we have moved on from that – I was testing it in a slightly different way as the example method wasn’t working, The problem is when I do the newFop command its exiting from the system completely, the standalone app works fine with the same config etc. The spring app under

RE: Measuring

2011-06-02 Thread Theresa Jayne Forster
I have seen cm, mm, px, em, in, Kindest regards Theresa Forster Senior Software Developer From: Zac Nichol [mailto:zacnic...@gmail.com] Sent: 02 June 2011 15:24 To: fop-users@xmlgraphics.apache.org Subject: Re: Measuring you can specify units like left=2in for inches, or

RE: Measuring

2011-06-02 Thread Theresa Jayne Forster
Well the main part of the SVG is whatever you want, I have seen pixels and mm used without measurement, the main width and height again can be pixels and also mm etc. Where I use SVG I usually put it in a template call as follows svg:svg

RE: how to do relative position

2011-05-27 Thread Theresa Jayne Forster
I got it actually, I mis understood the meaning of absolute and relative, I thought absolute meant always absolute per the document not per the containing container Well a day where you learn nothing is a day wasted Kindest regards Theresa Forster Senior Software Developer

Problem with kerning on a font

2011-05-27 Thread Theresa Jayne Forster
I am having problems with fixing the kerning xml file generated with TTFReader, It has not got the right values for me or ti I need to therefore find the correct codes in the font.xml file. But the numbering doesn't make sense? Ie what character is 3? Ie kerning kxp1=3 Or is there

RE: Problem with kerning on a font

2011-05-27 Thread Theresa Jayne Forster
. Such metrics files should work with older FOP versions. I don't remember if FOP 0.2x metrics generation proceeded in the same way as current FOP version. See [1] if needed. [1] http://xmlgraphics.apache.org/fop/1.0/fonts.html#truetype-metrics Le 27/05/2011 16:59, Theresa Jayne Forster a écrit

RE: problem resolve external image resource with fop

2011-05-18 Thread Theresa Jayne Forster
Hmmm I think you are talking about how we do it We process contents of web pages from the web pulling in data etc from remote sites and putting them into a template, A small example here (imagedataservlet returns xml containing the width and height in pixels of an image) xsl:template

RE: Complex Script, BIDI text supported?

2011-05-13 Thread Theresa Jayne Forster
Once I have the normal one set up I will be looking at the bidi (we need it for Arabic) the one sticking point for us is we need the page numbering reversed on the fo:page-number/ and also for a multi column document we need it to go Right to left, does the git version have this? Or is that

RE: Complex Script, BIDI text supported?

2011-05-13 Thread Theresa Jayne Forster
. Regards, Glenn On Fri, May 13, 2011 at 7:26 AM, Theresa Jayne Forster ther...@inbrand.co.uk wrote: Once I have the normal one set up I will be looking at the bidi (we need it for Arabic) the one sticking point for us is we need the page numbering reversed on the fo:page-number/ and also

Determine font names to use

2011-05-11 Thread Theresa Jayne Forster
I am slowly getting through this minefield, For the AutoReg fonts, how do we determine the names to use in the XML I have been trying the following and am getting annoying and conflicting results. The text in the xsl is fo:block font-family=FrutigerNormal font-weight=normal

RE: Determine font names to use

2011-05-11 Thread Theresa Jayne Forster
Jayne Forster a écrit : I am slowly getting through this minefield, For the AutoReg fonts, how do we determine the names to use in the XML I have been trying the following and am getting annoying and conflicting results. The text in the xsl is fo:block font-family

RE: ExampleXML2PDF.java ERROR

2011-05-11 Thread Theresa Jayne Forster
Looks strange, I have had no problem with the latest from Trunk and the stand alone program here http://pastebin.com/zzQrHwwD Except for the Font issue I am having that is. Maybe have a look at the code I have there and see where yours differs, mine takes xml/xslt and turns it into PDF

RE: ExampleXML2PDF.java ERROR

2011-05-11 Thread Theresa Jayne Forster
On another note I had lots of classdef not founds and discovered I needed Avalon Framework Xml-api-ext Commons.configuration And Xmlgraphics.commons-1.5svn.jar libraries Kindest regards Theresa Forster Senior Software Developer From: dinuka dayarathna

How to get fonts loaded programatically?

2011-05-10 Thread Theresa Jayne Forster
I have been trying to get fonts to load programmatically using the latest FOP To instantiate the factory I do the following private static final FopFactory fopFactory = FopFactory.newInstance(); fopFactory.setUserConfig(new File(C:/myfiles/fopconfig.xml));

RE: How to get fonts loaded programatically?

2011-05-10 Thread Theresa Jayne Forster
looking for. Hope that helps Mehdi On 10 May 2011 09:29, Theresa Jayne Forster ther...@inbrand.co.uk wrote: I have been trying to get fonts to load programmatically using the latest FOP To instantiate the factory I do the following private static final FopFactory fopFactory

RE: Strange problem with no error being generated

2011-05-10 Thread Theresa Jayne Forster
with no error being generated On 06/05/2011 14:20, Theresa Jayne Forster wrote: Hi Theresa, I have been trying to create an embedded FOP within Java, It used to work with the Driver method fine, But its now not working and just erroring immediately as soon as it hits the FopFactory.newInstance

RE: Problem with Trunk - or is it

2011-05-06 Thread Theresa Jayne Forster
Ok, found where it is, That was a new addition from the last time we pulled it I needed to get the commons package as well /me facepalms From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: 05 May 2011 17:12 To: fop-users@xmlgraphics.apache.org Subject: Problem

Strange problem with no error being generated

2011-05-06 Thread Theresa Jayne Forster
I have been trying to create an embedded FOP within Java, It used to work with the Driver method fine, But its now not working and just erroring immediately as soon as it hits the FopFactory.newInstance() call, No exception no nothing, just moves immediately to the finally clause with not a

Problem with Trunk - or is it

2011-05-05 Thread Theresa Jayne Forster
Hi Guys, I just pulled trunk and tried to create a PDF, unfortunately it doesn't seem to work as the org.apache.fop.apps.MimeConstants.MIME_PDF is missing along with some of the other entries. All we now have in there is /** Apache FOP's AWT preview (non-standard MIME type) */