RE: Question about PDF API used in FOP v0.95

2011-11-16 Thread Eric Douglas
The original FOP project was for transforming XSLFO into a PDF. Then other features were added, to transform XSLFO into other outputs including PCL, image files, and direct printouts. Now there is a new feature to FOP which is most useful to us, to create a PDF by drawing to a Graphics object

RE: Generating PNG files from FO sources

2011-10-31 Thread Eric Douglas
If you're using embedded code you have a Fop fop = fopFactory.newFop( ... statement which accepts an outputstream. If you want to keep your output in memory instead of writing it to disk you can read it from that stream. Use a ByteArrayOutputStream instead of a FileOutputStream. -Original

Where's the class?

2011-10-19 Thread Eric Douglas
I downloaded fop as the latest trunk snapshot and it says you took away a class? What happened to org.apache.fop.render.pdf.PDFRenderer?

RE: Conversion from 0.23 to 1.00

2011-09-16 Thread Eric Douglas
otherwise it will just appear as full size Oh well Maybe the rescaling will work better - and what if you want to crop it? Kindest regards Theresa Forster Senior Software Developer From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: 15 September 2011 16:17 To: fop-users

RE: Producing PDF from subset of IF file pages

2011-09-14 Thread Eric Douglas
Actually, did you upload them somewhere to link? I believe this distribution list does not allow attachments. -Original Message- From: jeanyo [mailto:melanie.dr...@gmail.com] Sent: Wednesday, September 14, 2011 11:43 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Producing PDF

Can FOP work backwards?

2011-09-14 Thread Eric Douglas
I know the intention of FOP is to create PDF, but since FOP did create the PDF the code should be there to read the PDF. I want to take a PDF (generated by FOP) and read it back in, to be able to print it, or to display it in a Swing component. I already have a Swing component, if FOP can tell me

FOP font warning invalid

2011-09-13 Thread Eric Douglas
FOP spits out warning messages on the transform. Sep 13, 2011 11:32:54 AM org.apache.fop.events.LoggingEventListener processEvent WARNING: Font Lucida Sans Typewriter,normal,700 not found. Substituting with Lucida Sans Typewriter,normal,600. I never told it to use 700. My FO file just has

RE: FOP font warning invalid

2011-09-13 Thread Eric Douglas
@xmlgraphics.apache.org Subject: Re: FOP font warning invalid 700=bold, iirc, and you only have demi-bold? On 09/13/2011 09:40 AM, Eric Douglas wrote: FOP spits out warning messages on the transform. Sep 13, 2011 11:32:54 AM org.apache.fop.events.LoggingEventListener processEvent

How to make embedded font readable?

2011-09-12 Thread Eric Douglas
FOP created the PDF. Pdfbox is trying to read it. I'm not sure which end is missing what. I'm embedding fonts and pdfbox says there's something there it can't read. Sep 12, 2011 9:18:12 AM org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font getawtFont INFO: Can't read the embedded font

RE: How to make embedded font readable?

2011-09-12 Thread Eric Douglas
: fop-users@xmlgraphics.apache.org Subject: Re: How to make embedded font readable? Hi, Am 12.09.2011 15:31, schrieb Eric Douglas: FOP created the PDF. Pdfbox is trying to read it. I'm not sure which end is missing what. I'm embedding fonts and pdfbox says there's something there it can't read

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

2011-08-31 Thread Eric Douglas
XSLFO is what you get when you combine XSLT with XML. XSLFO is an extension of XSLT and includes XSLT commands. XSLFO is as unrelated to FOP as XSLT when you're talking about it's creation for expected output. If you want only FOP related questions they should be about XSLFO commands and only as

RE: pagenumbering

2011-08-31 Thread Eric Douglas
I agree that discussion was petty. If someone thought the question was off topic they are welcome to respond with links to point you somewhere you might get better answers or ignore the question. While I haven't checked what other XSLFO processors exist, it seems the XSLT and XSLFO specifications

RE: FOP 1.0 Japanese # marks

2011-08-12 Thread Eric Douglas
Yes and yes Your FOP should have configuration telling it what fonts are available. Your XSLFO should have tags in it telling what font to use. If you can provide more details about what you're doing someone may provide more details about what you're missing. Are you using fop.xconf file? What's

RE: FOP 1.0 Japanese # marks

2011-08-12 Thread Eric Douglas
used these params: embed-file metrics-file 1.0 config file uses these params: embed-url metrics-url Am I on to something? mike 675 wrote: It's the default fop.xconf file. I haven't made any changes or specified any fonts in there. Eric Douglas wrote: Yes and yes Your FOP should

RE: Tool or schema to validate report xsl files

2011-08-01 Thread Eric Douglas
I've used a free version of a tool from editix.com just to validate some xsl syntax. Eclipse Java editor can also edit xsl files. FOP's web page lists which xslfo commands it supports. FOP's input is the xslfo. It accepts xslt along with xml as a convenience only. With embedded code this part

RE: Tool or schema to validate report xsl files

2011-08-01 Thread Eric Douglas
. - There are several unofficial xsd for fo file too. Some tool provide such fo schema... Giuseppe Briotti-2 wrote: 2011/8/1 Eric Douglas edoug...@blockhouse.com: I've used a free version of a tool from editix.com just to validate some xsl syntax. Eclipse Java editor can also edit xsl files. FOP's

RE: What am I missing (loading custom font to embed)?

2011-07-29 Thread Eric Douglas
:43 AM To: fop-users@xmlgraphics.apache.org Subject: Re: What am I missing (loading custom font to embed)? On 20/07/2011 21:27, Eric Douglas wrote: This was working before but I changed something in my project, I'm not sure what, now it crashes on the last line of this bit. Crashes you say

What am I missing (loading custom font to embed)?

2011-07-20 Thread Eric Douglas
This was working before but I changed something in my project, I'm not sure what, now it crashes on the last line of this bit. public static final FopFactory myFopFactory = FopFactory.newInstance(); TTFFontLoader myTTFLoader; CustomFont myCustomFont; FOUserAgent myUserAgent;

RE: unknownFormattingObject

2011-07-19 Thread Eric Douglas
Try attaching a sample so someone can reproduce it. From: Boguslaw Fries [mailto:bfr...@dpd.com.pl] Sent: Tuesday, July 19, 2011 5:03 AM To: fop-users@xmlgraphics.apache.org Subject: unknownFormattingObject Hi, I am using FOP version 1.0 I got the

RE: unknownFormattingObject

2011-07-19 Thread Eric Douglas
-complete is attached. When I used fop 0.95 everything is ok. Regerds Bogusław Fries From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: Tuesday, July 19, 2011 1:47 PM To: fop-users@xmlgraphics.apache.org Subject: RE: unknownFormattingObject Try

RE: pdftops eps font issue

2011-07-08 Thread Eric Douglas
What do you mean create svg? FOP allows svg for input. As far as I know it doesn't have an svg output. Do you have a sample giving you an error using svg input? -Original Message- From: Alberto Priore [mailto:alberto.pri...@gmail.com] Sent: Friday, July 08, 2011 9:47 AM To:

FOP Transform log?

2011-06-21 Thread Eric Douglas
Where does FOP log? I ran a transform to create a PDF using FOP and it didn't come out right. It appears the output didn't recognize the font properly, it's missing a glyph, but I didn't see any errors/warnings. I'm running within Eclipse.

RE: fop .95 PDF generation issue with IE 6 (working fine in IE7)

2011-06-20 Thread Eric Douglas
I hate people who stop supporting my software. It was only recently web sites started popping up which don't display properly in IE6, forcing us to finally install something newer on all the users. Of course IE8 has to be supported indefinitely because WinXP doesn't run IE9 and we can't afford to

RE: FOP Extension to handle Wiki Syntax

2011-06-14 Thread Eric Douglas
It could handle any format you want to write your input in as long as it can be translated to FO. If another format is commonly used for generating FOP input someone would just have to write an input translator extension. FOP doesn't even do anything with XML/XSL. It accepts input as XML/XSL as

RE: FOP Extension to handle Wiki Syntax

2011-06-14 Thread Eric Douglas
, 2011 at 8:29 AM, Eric Douglas edoug...@blockhouse.com wrote: It could handle any format you want to write your input in as long as it can be translated to FO. If another format is commonly used for generating FOP input someone would just have to write an input

RE: FOP with embedded font running in Oracle 10g

2011-06-08 Thread Eric Douglas
I'm wondering that myself. I tested loading in images when I first started using it and had some issues with the path reference to get FOP to find the image file. I haven't gotten back to it. That's on my to do list. My workaround was to load my image into a program which saved it as SVG draw

RE: Problems since upgrading,

2011-06-03 Thread Eric Douglas
I'm not sure what you're trying to do here but XSL is not used by FOP. For convenience, FOP can accept FO input or XML and XSL input but it only uses the FO. I'm using embedded code to transform XML with an XSL, and for debugging I wanted to see the FO, so I split out the FOP and call the

RE: Hair ripping time

2011-06-03 Thread Eric Douglas
1. You can and should reuse the TransformerFactory. 2. FO is not a stylesheet. The FO is the input to the transform, where you were putting the XML not the XSL. Leave out the XSL part on the FO one. From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk]

RE: FOP with embedded font running in Oracle 10g

2011-06-03 Thread Eric Douglas
If you're using embedded code doing your own transform with all custom fonts you can use FOP's FontLoader classes to manually load your own fonts into the renderer. It's a bit more complicated but it should run faster than trying to find the font on the path. -Original Message- From:

Measuring

2011-06-02 Thread Eric Douglas
How does Fop measure? If I put a tag in my .fo for fo:block-container position=absolute left= ... Does it measure in pixels / points (are they the same thing?)? Do I need to specifiy? left=10px or just left=10? It appears to work the same with or without a unit of measure, assuming the page

RE: Measuring

2011-06-02 Thread Eric Douglas
/72 inch. FOP non-conformantly permits unit-less lengths not equal to zero, in which case it is interpreted as 'px', which is device/implementation dependent. If you want a precise, absolute measurement, use 'pt', 'mm', or another absolute unit. Glenn On Thu, Jun 2, 2011 at 8:16 AM, Eric Douglas

RE: Problems since upgrading,

2011-06-02 Thread Eric Douglas
heavy is not a standard keyword. If you select the wrong value for the fonts you have loaded it should log a warning for font replacement. Keywords translate to specific numbers. You would want to use the numbers instead of the words to be sure it's always correct. They might think light is 200

dash

2011-05-17 Thread Eric Douglas
I ran into a minor issue. I can't get Fop to print dashes. I've tried passing in various codes that look like dashes, like #151; but it just wraps to the next line instead of printing. Other codes just print squares. I would think there should be just a print code. I'll try the workaround

RE: dash

2011-05-17 Thread Eric Douglas
for Dash). With unicode encoding (like UTF-8), you should use the code #x2014; (EM dash) or #x2014; (EN dash). I don't remember if this character is handled with ISO 8851-1. Le 17/05/2011 14:30, Eric Douglas a écrit : I ran into a minor issue. I can't get Fop to print dashes. I've tried passing

RE: AWTRenderer With Intermediate Format

2011-05-17 Thread Eric Douglas
Are you using embedded code? Do you have a better description, any example, of what exactly you're trying to do? Source code? Test files? I'm sure this is possible but there are several ways to do it depending what exactly your goal is. I needed it to break up large reports because I kept

RE: How do I set page margins?

2011-05-16 Thread Eric Douglas
? On 05/13/2011 12:20 PM, Eric Douglas wrote: The basic page margin is in the page setup. fo:simple-page-master xsl:attribute name=margin-topxsl:value-of select=MT//xsl:attribute This works at the top level but sets the same margin for all pages. What

How do I set page margins?

2011-05-13 Thread Eric Douglas
The basic page margin is in the page setup. fo:simple-page-master xsl:attribute name=margin-topxsl:value-of select=MT//xsl:attribute This works at the top level but sets the same margin for all pages. What if I want each page to be different? I can assign this attribute from an xsl:variable if I

RE: Problem with whitespace-treatment

2011-05-11 Thread Eric Douglas
I couldn't get it to print blank spaces properly either. If you can modify your xml the simple solution is to replace all spaces. I replace blank spaces with #160; From: Michael Seeberger [mailto:michael.seeber...@isys-software.de] Sent: Wednesday, May 11,

Can you mix page values in the same report?

2011-05-09 Thread Eric Douglas
Am I missing something? Is there a way to pass the page parameters as variables? I have an fo:flow nested inside a fo:page-sequence tag. The fo:page-sequence has a master-reference attribute which points to a master-name attribute of a fo:simple-page-master tag. The fo:simple-page-master has all

RE: Change bars

2011-05-03 Thread Eric Douglas
that is a way forward? Has anybody else experimented with having custom information fall through to the intermediate formats in general? /F -Original Message- From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: Monday, May 02, 2011 5:49 PM To: fop-users@xmlgraphics.apache.org Subject: RE

RE: PDF size reduction

2011-05-03 Thread Eric Douglas
It should depend on how the image is referenced, if it's embedding the image once in the document, if it's referenced multiple times and embedding it multiple times, or if it's an external link. The obvious answer if you don't care about quality is to reduce the size of the image before you try to

RE: Change bars

2011-05-02 Thread Eric Douglas
If you're just trying to draw lines you can do what I do. Currently I'm using empty block tags with border attributes. When I get around to rewriting it I want to use actual SVG line drawing commands. -Original Message- From: Fredrik Bengtsson [mailto:fredrik.bengts...@lemontree.se]

RE: AW: AW: AW: AW: AW: OutOfMemoryException while transforming large XML to PDF

2011-04-01 Thread Eric Douglas
I currently only have one fo:page-sequence tag in my xsl. How would auto page numbering with fo:page-number work otherwise? Is it possible the memory requirements could be reduced for extremely large documents by adding an option to swap some values out to temp files? Maybe save information in

RE: AW: AW: AW: AW: AW: OutOfMemoryException while transforming large XML to PDF

2011-04-01 Thread Eric Douglas
- From: Andreas L. Delmelle [mailto:andreas.delme...@telenet.be] Sent: Friday, April 01, 2011 2:32 PM To: fop-users@xmlgraphics.apache.org Subject: Re: AW: AW: AW: AW: AW: OutOfMemoryException while transforming large XML to PDF On 01 Apr 2011, at 16:47, Eric Douglas wrote: I currently only

RE: Thread safe?

2011-03-30 Thread Eric Douglas
. Delmelle [mailto:andreas.delme...@telenet.be] Sent: Tuesday, March 29, 2011 5:11 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Thread safe? On 29 Mar 2011, at 22:55, Eric Douglas wrote: I have yet to see any threading problems with the FOP objects. Well, there probably are /some

Thread safe?

2011-03-29 Thread Eric Douglas
I think this is what they mean by thread safe. I seem to have a concurrency issue. If I call a transform using the Fop handler with a PNGRenderer from 2 JVM sessions at or near the same time one crashes. I haven't been able to reproduce the problem so far with the PDFRenderer so either it

RE: Thread safe?

2011-03-29 Thread Eric Douglas
[mailto:andreas.delme...@telenet.be] Sent: Tuesday, March 29, 2011 1:48 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Thread safe? On 29 Mar 2011, at 17:29, Eric Douglas wrote: Hi Eric I think this is what they mean by thread safe. I seem to have a concurrency issue. If I call a transform using the Fop

RE: Thread safe?

2011-03-29 Thread Eric Douglas
: Tuesday, March 29, 2011 3:57 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Thread safe? On 29 Mar 2011, at 21:23, Eric Douglas wrote: It's actually crashing on the first transformer. It only crashes if I run 2 of these at once. Is there something obvious I'm missing in this java

RE: Thread safe?

2011-03-29 Thread Eric Douglas
: Re: Thread safe? Hi- Is FopFactory thread-safe? -Terence Bandoian On 3/29/2011 1:56 PM, Andreas L. Delmelle wrote: On 29 Mar 2011, at 21:23, Eric Douglas wrote: It's actually crashing on the first transformer. It only crashes if I run 2 of these at once. Is there something obvious

RE: Thread safe?

2011-03-29 Thread Eric Douglas
2:15 PM, Eric Douglas wrote: I would guess the answer is yes based on http://xmlgraphics.apache.org/fop/0.95/embedding.html // Reuse the FopFactory if possible! -Original Message- From: Terence M. Bandoian [mailto:tere...@tmbsw.com] Sent: Tuesday, March 29, 2011 5:22 PM To: fop

RE: AW: AW: AW: OutOfMemoryException while transforming large XML to PDF

2011-03-25 Thread Eric Douglas
How to feed the FO file? Using the command line transform you just pass it to the -fo parameter. Using embedded code I feed it as a SAXSource. Reading in from file you have: java.io.File java.io.FileInputStream org.xml.sax.InputSource javax.xml.transform.sax.SAXSource Creates the input. Pass

How to transform embedded FO?

2011-03-24 Thread Eric Douglas
So I have this code which works. ByteArrayInputStream myByteArrayInputStream; InputSource myInputSource; SAXSource myXmlSAXSource; ByteArrayOutputStream myPdfBAOS; myFoFileOutputStream = new FileOutputStream(myFoFile); myFoByteArrayOutputStream = new ByteArrayOutputStream(); myStreamResult = new

FW: How to transform embedded FO?

2011-03-24 Thread Eric Douglas
Nevermind. I realized the answer shortly after I asked the question. A new Transformer must be created. A Transformer must be created with an XSL file to transform an XML file. The Transformer with the XSL can pass XML as input and create a document directly using an output created from the Fop

RE: PDF version specification

2011-03-14 Thread Eric Douglas
PDF readers should be backward compatible. AFAIK there's no reason to write a newer version number unless a newer version adds a feature you need. -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, March 14, 2011 10:10 AM To:

RE: PDF version specification

2011-03-14 Thread Eric Douglas
Yes you can only have one flow. You don't have to use more than one region. If you want to place data in 2 different areas of the page using the flow you define separate blocks. You can have as many blocks and block containers as you like. Normally a block starts where the last one ended. If you

RE: Flow data in 2 different regions?

2011-03-14 Thread Eric Douglas
I use the position=absolute attribute. With that there are attributes for left, top, width, and height. I set them all but they may be optional. If you just leave out height does it spill to the next page? If not, that could get complicated trying to wrap text to a new page. My case is the

RE: Flow data in 2 different regions?

2011-03-14 Thread Eric Douglas
, 2011 3:30 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Flow data in 2 different regions? On 14 Mar 2011, at 20:09, Eric Douglas wrote: Hi Eric I use the position=absolute attribute. With that there are attributes for left, top, width, and height. I set them all but they may

RE: manipulate fop configuration file via java

2011-03-10 Thread Eric Douglas
What are you trying to save? What you're talking about here is an either or. You can load font information using the configuration file or you can load them straight from the ttf with embedded code. If you're using the embedded code you don't need the configuration file for fonts. You also

RE: attaching a zip file in PDF

2011-03-10 Thread Eric Douglas
MIME_PDF is not in FOP. FOP's MimeConstants extends the MimeConstants from xmlgraphics. Do you have xmlgraphics-commons-1.4.jar in your classpath? From: Neeraj Malik [mailto:nmqu...@yahoo.co.uk] Sent: Thursday, March 10, 2011 10:35 AM To:

RE: manipulate fop configuration file via java

2011-03-10 Thread Eric Douglas
be very difficult), that's the only way I can think of. I may however have the wrong end of the stick here, if so, my apologies. Mehdi On 10 March 2011 15:34, Eric Douglas edoug...@blockhouse.com wrote: What are you trying to save?  What you're talking about here is an either or.  You can

RE: Apache FOP Newbie needs Help Converting XML to PDF

2011-03-09 Thread Eric Douglas
-xm? Try -xml? Then take the dashes out of your file name, or try putting it in quotes. -Original Message- From: italocardwell [mailto:italo.cardw...@gmail.com] Sent: Wednesday, March 09, 2011 9:10 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Apache FOP Newbie needs Help

RE: Apache FOP Newbie needs Help Converting XML to PDF

2011-03-09 Thread Eric Douglas
be the fo:root formatting object. Found (Namespace URI: , Local Name: html) instead. Please make sure you're producing a valid XSL-FO do cument. Eric Douglas wrote: -xm? Try -xml? Then take the dashes out of your file name, or try putting it in quotes. -Original Message- From

RE: Font Weight

2011-03-09 Thread Eric Douglas
Yes. Generally one font file contains one font set with one weight. You would need to supply a custom font set to get a different weight. Any program which allows you to print in a different weight would do the same, to either require you to have a font set in that weight or to guess at it.

RE: Font Weight

2011-03-09 Thread Eric Douglas
I tested all the renderers. The TIFFRenderer created an image file and I didn't like it. The PSRenderer didn't like my TTFs. The PDFRenderer works for generating PDF documents and sending output indirectly to the printer. I actually use embedded code and pass a PDFRenderer to the FOUserAgent

RE: PrintPreview

2011-02-18 Thread Eric Douglas
Why would you access an AreaTreeHandler? It looks like you've got correct code to create a PreviewPanel there. What are you trying to embed it in? I expect you'll want a window of some sort. -Original Message- From: pedro [mailto:pedro.r...@libero.it] Sent: Friday, February 18, 2011

RE: PrintPreview

2011-02-18 Thread Eric Douglas
I skipped over your other message. I see now where you tried to reference an AreaTreeHandler, but that's not necessary. You sent 2 incomplete pieces of code. The second one looks closer. Here's a bit of a combination. See if this helps. [code] File fileXsl = new File(c:\\xsl.xml);

RE: converting to PNG format

2011-02-16 Thread Eric Douglas
If you read the documentation I believe it's in there. PNG produces images which are single page so you only get the first page. If you use FOUserAgent.setOutputFile() to assign a name you can get one file per page. If you use embedded code and want the page objects get them from the renderer.

RE: Shading Issue

2011-02-04 Thread Eric Douglas
The xslfo file. It's the intermediate file. I was a bit confused when I first started working with FOP as I don't use the fo file. If you don't have an fo file you could generate one or provide the xsl and xml files. The fo file must exist to process FOP but it doesn't need to normally be a

RE: Shading Issue

2011-02-04 Thread Eric Douglas
No Your input file. That would be the file ending in .fo, or the .xml and .xsl. -Original Message- From: hirenshah [mailto:hiren.s...@rbs.co.uk] Sent: Friday, February 04, 2011 9:22 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Shading Issue The fop.xconf? Eric Douglas wrote

RE: font missing warning

2011-02-02 Thread Eric Douglas
Obviously it means it can't find the font. auto-detect is usually not a good idea. It depends on the font file being found on the machine it's running on. What file contains that font triplet? Is that installed on the production machine? Obviously it's either not installed there or there's

RE: Problem regarding font substitution

2011-02-02 Thread Eric Douglas
Eric, But I only have one truetrype file for the ArialUnicodeMS font I only have ARIALUNI.TTF and when I use this font in Word I can turn on Bold and Italic. What do I have to do to get this working? Best regards, Peder 2011/2/1 Eric Douglas edoug...@blockhouse.com You're

RE: font missing warning

2011-02-02 Thread Eric Douglas
-Reference Laboratories, Inc. Phone: 800-229-5227 x8499 Cell: 201-693-0132 Fax: 201-475-0344 Email: rcaha...@bioreference.com From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: Wednesday, February 02, 2011 9:19 AM To: fop-users@xmlgraphics.apache.org Subject: RE: font missing warning

RE: font missing warning

2011-02-02 Thread Eric Douglas
If it's not working at all on the production server then if it is actually working on the test server that suggests the search path is wrong. Have you tried hardcoding the path? If it's not actually working on the test server it may just not like your font. I don't recal if OpenType fonts are

RE: font missing warning

2011-02-02 Thread Eric Douglas
are located on the H: drive? Maybe that's the issue? From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: Wednesday, February 02, 2011 10:49 AM To: fop-users@xmlgraphics.apache.org Subject: RE: font missing warning If it's not working at all on the production server then if it is actually

RE: font missing warning

2011-02-02 Thread Eric Douglas
Remote debugging means assumptions or questions or both. I started by assuming this user like most is running from a command line. Finding the fonts correctly is a lot easier from embedded code. It's even easier if I can compile the fonts into a jar and reference them internally so they never have

RE: font missing warning

2011-02-02 Thread Eric Douglas
, February 02, 2011 2:08 PM To: fop-users@xmlgraphics.apache.org Subject: RE: font missing warning compile the fonts into a jar... Yikes! That's foreign language to me, that sounds like java talk. Still testing and getting advice... :-) -Original Message- From: Eric Douglas

RE: font missing warning

2011-02-02 Thread Eric Douglas
It worked again. I did the same on the PRODUCTION server, adding the -c option at the end, it also worked. Now, I'm trying to figure out where to put this -c option in the FOP.BAT so that it can work within. Thanks again Eric and Jeremias. -Original Message- From: Eric Douglas [mailto:edoug

RE: font missing warning

2011-02-02 Thread Eric Douglas
- From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: Wednesday, February 02, 2011 3:01 PM To: fop-users@xmlgraphics.apache.org Subject: RE: font missing warning Those are arguments. The bat accepts arguments as a pass value. So it's just Fop.bat -xsl \temp\roberto\test2.xsl -xml \temp

RE: Problem regarding font substitution

2011-02-01 Thread Eric Douglas
You're referencing normal and bold triplets with one font file name. They're normally separate files. From: Peder [mailto:peet@gmail.com] Sent: Tuesday, February 01, 2011 8:26 AM To: fop-users@xmlgraphics.apache.org Subject: Problem regarding font

RE: FOP output

2011-01-27 Thread Eric Douglas
and getPageCount. getPageCount returns 11. How do I get images of the other pages? -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Thursday, January 27, 2011 3:35 AM To: fop-users@xmlgraphics.apache.org Subject: Re: FOP output On 24.01.2011 17:30:43 Eric

RE: FOP output

2011-01-27 Thread Eric Douglas
works. You can set a java.io.File using FOUserAgent.setOutputFile(File). This way the PNGRenderer has a filename and directory to produce multiple output files. This is documented here: http://xmlgraphics.apache.org/fop/1.0/output.html#bitmap On 27.01.2011 15:24:31 Eric Douglas wrote: So

FW: FOP output

2011-01-27 Thread Eric Douglas
: Eric Douglas Sent: Thursday, January 27, 2011 10:47 AM To: 'fop-users@xmlgraphics.apache.org' Subject: RE: FOP output Ok, that's confusing. 1) I've seen the method setOutputFile, but that accepts a single file name? I've looked at the code in the PNGRenderer and saw an object having to do

RE: align columns last line

2011-01-26 Thread Eric Douglas
Sure there are ways. It doesn't really do anything automatic like fit-text-to-block, but if you're passing your text through a program to generate input like I do you can determine how much space that text is going to need. You can either alter the text itself or the size of the text to fit in

RE: AW: AW: [FOP 1.0] Worse performance than with 0.20.5 !?

2011-01-24 Thread Eric Douglas
If you're just printing a book as a bunch of text which does not already fit to page and throwing it into a document letting line wraps and breaks fall where they may it might look a bit funny. If you're using variable width fonts you can read the font to get character width and calculate the

RE: FOP output

2011-01-24 Thread Eric Douglas
). That is usually more efficient than anything TIFF offers except if you use JPEG compression but that's lossy. If you only need black white, I'd go for TIFF with CCITT Group 4 compression. On 19.01.2011 22:56:33 Eric Douglas wrote: I just tested output formats using their respective renderers

FOP Memory

2011-01-20 Thread Eric Douglas
How do I know how much memory it needs? I wrote a Java program which should generate a PDF of about 10 pages using FOP 1.0 but with many xsl:text tags per page. It runs in my 64 bit Eclipse on a Windows Vista machine with 4GB RAM. It gets out of memory exception on my 32 bit Eclipse on a Windows

FOP output

2011-01-19 Thread Eric Douglas
I just tested output formats using their respective renderers and created a PNG and a TIFF. The TIFF file was about 4 times larger and appeared to have exactly the same quality which looks a bit fuzzy. What's next? I was testing creating documents as pictures though my actual goal is to get the

RE: Embedding SVG dynamically into fo file

2011-01-17 Thread Eric Douglas
What does your stylesheet statement look like? I start my xsl like this. xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:svg=http://www.w3.org/2000/svg; xmlns:math=http://exslt.org/math;

RE: SVG in FOP 1.0

2011-01-11 Thread Eric Douglas
I think we'd have to see some sample code to tell if jai is required or if you're missing something else. I know the FOP ant build has some optional tests based on whether jai is available, and I do create SVG graphics in my normal processing where jai is not in the classpath. -Original

RE: FOP 1.0 line feed not visible

2011-01-10 Thread Eric Douglas
Building is easy lol. I downloaded the FOP 1.0 source. Then I extracted the source to a folder. Then I selected the New Project option in Eclipse from existing Ant build file and named the project fop-1.0 to match the folder. Then I had to run ant on the build.xml to create java files in the

RE: Re: how to extend the rendering part of fop

2011-01-03 Thread Eric Douglas
I was going to suggest SVG, the simplest way to produce a chart, but the OP asked about extensions like they already had something more complicated in mind with their mind made up about how they want to do it.

RE: 3D charts and FOP 1.0

2010-12-28 Thread Eric Douglas
I use SVG for 2D charts. There is also a free Java library called JFreeChart which also claims to do 3D charts. -Original Message- From: Jayant Ghagre [mailto:jayant.gha...@ambest.com] Sent: Friday, December 24, 2010 12:43 PM To: fop-users@xmlgraphics.apache.org Subject: 3D charts and

RE: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
That would be because your document is empty. Am I missing something here? This is the entire text of the xml you attached: ROOT/ROOT -Original Message- From: Georg Datterl [mailto:georg.datt...@geneon.de] Sent: Tuesday, December 07, 2010 9:30 AM To: fop-users@xmlgraphics.apache.org

RE: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Eric Douglas [mailto:edoug...@blockhouse.com] Gesendet: Dienstag, 7. Dezember 2010 16:05 An: fop-users@xmlgraphics.apache.org Betreff: RE: ValidationException: Document is empty That would

RE: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
Weitere Mitglieder der Willmy MediaGroup: IRS Integrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Eric Douglas [mailto:edoug

RE: AW: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
If you can write your own code you could do the 2 step transformation to avoid the issue without writing the FO file to disk. FOP allows you to receive the results as streaming bytes which you can send right back in as an FO SAXSource. -Original Message- From: Georg Datterl

RE: ValidationException: Document is empty

2010-12-07 Thread Eric Douglas
MediaGroup: IRS Integrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Eric Douglas [mailto:edoug...@blockhouse.com] Gesendet

RE: Antwort: Re: EPSTranscoder Fonts

2010-12-03 Thread Eric Douglas
FOP supports TrueType fonts just fine, apparently just not in PostScript. What could you possibly require PostScript for? From: heiko.emm...@continental-corporation.com [mailto:heiko.emm...@continental-corporation.com] Sent: Friday, December 03, 2010 5:31 AM

RE: Antwort: RE: Antwort: Re: EPSTranscoder Fonts

2010-12-03 Thread Eric Douglas
: Friday, December 03, 2010 8:01 AM To: fop-users@xmlgraphics.apache.org Subject: Antwort: RE: Antwort: Re: EPSTranscoder Fonts OK... sorry... wrong wording... ... till FOP's EPSTranscoder is supporting TrueType fonts So what I need is simply a transformation from svg to eps. Von:Eric

RE: Antwort: RE: Antwort: RE: Antwort: Re: EPSTranscoder Fonts

2010-12-03 Thread Eric Douglas
. But whatever I've tried, I did not get all fonts, which are used in my svg-files, visible in the eps. Instead there are always # and/or other font-types. Von:Eric Douglas edoug...@blockhouse.com An:fop-users@xmlgraphics.apache.org Datum:03.12.2010 14:16 Betreff:RE

  1   2   >