Re: background-image on 0.94

2009-06-24 Thread Sam Fuqua
Thank you everyone for your help. I was able to increase the resolution with FopFactory.setSourceResolution() to get it to the proper size. Sam On Wed, Jun 24, 2009 at 3:18 AM, Pascal SANCHO pascal.san...@takoma.frwrote: Sam Fuqua a écrit : Hi Andreas, I'm quite sure that it has

Re: Font registration in a static method

2009-06-24 Thread Sam Fuqua
'. Any ideas? Sam On Mon, Jun 22, 2009 at 2:57 PM, Andreas Delmelle andreas.delme...@telenet.be wrote: On 20 Jun 2009, at 22:23, Sam Fuqua wrote: Hi Sam I have a FopFactory being declared in a static method. I have no control over changing the method to non-static. When the FopFacotry

background-image on 0.94

2009-06-23 Thread Sam Fuqua
fit with no issues) is being cut off on both ends as well as dramatically reducing the image quality. Is there a setting I need to change on the FOP so that it does not distort my background image? If not, what recourse can I take to keep the image in? Thanks -- Sam Fuqua ΣΝ ΘΗ 454

Re: background-image on 0.94

2009-06-23 Thread Sam Fuqua
:06 PM, Andreas Delmelle andreas.delme...@telenet.be wrote: On 23 Jun 2009, at 18:09, Sam Fuqua wrote: Hi Sam I'm trying to render a PDF that uses a 72dpi gif as the background-image in the region-before. The image is considerably smaller than the size of the region and so I have no-repeat

Font registration in a static method

2009-06-20 Thread Sam Fuqua
the FontCache and still have it reloaded with auto-detect? I have been able to clear out the FontCache, but it doesn't reload with the auto-detected fonts, so I am still unable to use my fonts. -- Sam Fuqua ΣΝ ΘΗ 454

Re: Cross-platform fonts

2009-06-17 Thread Sam Fuqua
with it for this project. Sam On Wed, Jun 17, 2009 at 4:48 AM, Andreas Delmelle andreas.delme...@telenet.be wrote: On 16 Jun 2009, at 22:15, Sam Fuqua wrote: Hi Sam Unfortunately, my problem still seems to be the same. The console always logs that Arial cound not be found, so it is defaulting to any, which

Re: Cross-platform fonts

2009-06-16 Thread Sam Fuqua
I believe that the closest that I could get to programmatically was to create a string and load that in through an InputStream. Sam On Tue, Jun 16, 2009 at 3:29 AM, Andreas Delmelle andreas.delme...@telenet.be wrote: On 15 Jun 2009, at 23:06, Sam Fuqua wrote: Hi Sam Thanks for your reply

Re: Cross-platform fonts

2009-06-16 Thread Sam Fuqua
2009, at 19:36, Sam Fuqua wrote: Hi Sam I'm using fop to render PDFs in a variety of languages, including Asian fonts. I have no way of knowing what language the PDF will be printed in, and I also need it to work on multiple systems. From what I've read, the PDF renderer cannot detect OS

Re: Cross-platform fonts

2009-06-16 Thread Sam Fuqua
such an open-ended, vague question, but do you have any ideas why it would not be finding that glyph? Sam On Tue, Jun 16, 2009 at 1:03 PM, Andreas Delmelle andreas.delme...@telenet.be wrote: On 16 Jun 2009, at 17:09, Sam Fuqua wrote: Hi Sam Just to make sure that I'm understanding what you

Cross-platform fonts

2009-06-15 Thread Sam Fuqua
-detect does not work in a config file for PDFs? Is there any way to auto-detect programmatically in an embedded environment? I'm not sure how to go about writing the font metrics, since some of the fonts would be copyrighted and not all of them would be available on every machine. -- Sam Fuqua

Re: Cross-platform fonts

2009-06-15 Thread Sam Fuqua
Hi, I believe I've found my solution here: http://www.ibm.com/developerworks/xml/library/x-ospdf/ Sam 2009/6/15 Sam Fuqua samfu...@gmail.com Hi, I'm using fop to render PDFs in a variety of languages, including Asian fonts. I have no way of knowing what language the PDF will be printed

Re: Cross-platform fonts

2009-06-15 Thread Sam Fuqua
Hi Andreas, Thanks for your reply. Is there any way to set the font configuration programmatically? Or must I load it from a file? Sam On Mon, Jun 15, 2009 at 3:07 PM, Andreas Delmelle andreas.delme...@telenet.be wrote: On 15 Jun 2009, at 19:36, Sam Fuqua wrote: Hi Sam I'm using fop

External graphics methods

2009-06-10 Thread Sam Fuqua
or input is appreciated. -- Sam Fuqua ΣΝ ΘΗ 454

Re: External graphics methods

2009-06-10 Thread Sam Fuqua
Thank you both for your help. I believe that the 'data:' will fit my needs, but I will attempt a custom scheme if that turns out to not work for my circustances. On Wed, Jun 10, 2009 at 12:21 PM, Andreas Delmelle andreas.delme...@telenet.be wrote: On 10 Jun 2009, at 16:43, Sam Fuqua wrote

Unprocessed nodes

2009-05-20 Thread Sam Fuqua
to process the element node and keep all of the fo namespaced children after I transform the xml to fo? -- Sam Fuqua ΣΝ ΘΗ 454

Re: Unprocessed nodes

2009-05-20 Thread Sam Fuqua
://www.w3schools.com/XSL/el_copy-of.asp Regards, David 2009/5/20 Sam Fuqua samfu...@gmail.com Hi, I have an xml document that I am using fop to create a pdf from. Some of the xml nodes already contain fo that I'd like to preserve for the final transform. Is there any sort of setting

Re: Empty PDF on Windows

2009-05-19 Thread Sam Fuqua
help in advance. Cheers, Adrian - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- Sam Fuqua ΣΝ ΘΗ 454

Re: fop + json

2009-05-19 Thread Sam Fuqua
Andreas, Thank you for such a quick and clear reply. I will try to find a way to parse the json elsewhere. Sam On Tue, May 19, 2009 at 1:16 PM, Andreas Delmelle andreas.delme...@telenet.be wrote: On 19 May 2009, at 19:05, Sam Fuqua wrote: Hi Sam I know that this isn't within

Platform differences?

2009-04-29 Thread Sam Fuqua
(similarly generated) to be turned into a PDF. This works fine under OSX, but the FO is not generated properly under Linux or Windows. I am using Java 1.50, and I am sure that my xsl is correct because I can run it through the command line, just not in a servlet. Has anyone run ino this problem? -- Sam

Re: FOP in servlet and configuration

2009-04-21 Thread Sam Fuqua
org.apache.avalon.framework.configuration.Configuration; import org.apache.avalon.framework.configuration.DefaultConfigurationBuilder; fopFactory.setUserConfig(new File(/opt/fop/conf/fop.xconf)); Any help would be appreciated. Al -- Sam Fuqua ΣΝ ΘΗ 454

Re: FOP in servlet and configuration

2009-04-21 Thread Sam Fuqua
Hello Sam, thank you, I will recompile the Java script, and create a new class, then will try it. Al. --- On *Tue, 4/21/09, Sam Fuqua samfu...@gmail.com* wrote: From: Sam Fuqua samfu...@gmail.com Subject: Re: FOP in servlet and configuration To: fop-users@xmlgraphics.apache.org Date

Re: FOP in servlet and configuration

2009-04-21 Thread Sam Fuqua
- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- Sam Fuqua ΣΝ ΘΗ 454

Re: FOP in servlet and configuration

2009-04-21 Thread Sam Fuqua
I'm sorry, I didn't mean to split this into 2 emails. If you don't have the SAXException included, you need to import org.xml.sax.SAXException in your program. 2009/4/21 Sam Fuqua samfu...@gmail.com Hi Al, Have you made sure to include the SAXException in your imports? On Tue, Apr 21

Re: FOP in servlet and configuration

2009-04-21 Thread Sam Fuqua
transformer = this.transFactory.newTransformer(xsltSrc); transformer.setURIResolver(this.uriResolver); //Start transformation and rendering process render(xmlSrc, transformer, response); } [...] Al. --- On *Tue, 4/21/09, Sam Fuqua samfu...@gmail.com* wrote: From

Re: create PDF file using ExampleFO2PDF.java

2009-04-17 Thread Sam Fuqua
, 4/16/09, Sam Fuqua samfu...@gmail.com wrote: From: Sam Fuqua samfu...@gmail.com Subject: Re: create PDF file using ExampleFO2PDF.java To: fop-users@xmlgraphics.apache.org Date: Thursday, April 16, 2009, 7:04 AM I use Tomcat for a very similar function. Unfortunately, the exact servlet given

Page breaks with DOM source

2009-04-08 Thread Sam Fuqua
if this is a stupid question. -- Sam Fuqua ΣΝ ΘΗ 454

Problems with DOMSource

2009-04-06 Thread Sam Fuqua
is not a valid child of block. However, if I turn the DOMSource into a string, everything works fine and I get no errors. I really need to use as DOMSource rather than a string, though. Has anybody had a similar problem? Sam Fuqua ΣΝ ΘΗ 454

Re: Problems with DOMSource

2009-04-06 Thread Sam Fuqua
...@xmlgraphics.apache.org -- Sam Fuqua ΣΝ ΘΗ 454

Re: Problems with DOMSource

2009-04-06 Thread Sam Fuqua
Thank you. That worked perfectly. On Mon, Apr 6, 2009 at 12:34 PM, Andreas Delmelle andreas.delme...@telenet.be wrote: On 06 Apr 2009, at 18:23, Sam Fuqua wrote: Hi Sam Yes, I believe you're right, which would explain it not working from the DOM, while it would work from the String. I

Re: Error occurred during initialization of VM

2009-04-02 Thread Sam Fuqua
...@xmlgraphics.apache.org -- Sam Fuqua ΣΝ ΘΗ 454

region-after, Unique based on region-body

2009-03-26 Thread Sam Fuqua
to put the URL in the region-after. Each item has its own page. Is it possible to define a flow from within another flow? Any help is appreciated. -- Sam Fuqua ΣΝ ΘΗ 454

Empty PDF on FOP Servlet

2009-03-20 Thread Sam Fuqua
/xsl:template /xsl:stylesheet -- Sam Fuqua ΣΝ ΘΗ 454

Re: Empty PDF on FOP Servlet

2009-03-20 Thread Sam Fuqua
//fo:block fo:blockDescription: xsl:value-of select=el:description//fo:block fo:blockTitle: xsl:value-of select=el:title//fo:block /fo:block /xsl:template /xsl:stylesheet -- Sam Fuqua ΣΝ ΘΗ 454 -- Sam Fuqua ΣΝ ΘΗ 454

Re: Empty PDF on FOP Servlet

2009-03-20 Thread Sam Fuqua
PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Sam Fuqua [mailto:samfu...@gmail.com] Gesendet: Freitag, 20. März 2009 16:01 An: fop-users@xmlgraphics.apache.org Betreff: Re: Empty PDF on FOP

Re: Empty PDF on FOP Servlet

2009-03-20 Thread Sam Fuqua
There is no log output. This is being run on a Jazz server under XP with Java 1.5 On Fri, Mar 20, 2009 at 2:44 PM, Andreas Delmelle andreas.delme...@telenet.be wrote: On 20 Mar 2009, at 16:00, Sam Fuqua wrote: Hi Here's the FO as captured from the server during execution: ?xml version

XML-XSLT Namespaces

2009-03-19 Thread Sam Fuqua
can get it to work with the command line when the namespaces are absent, but thwen they are present it just throws out an empty PDF. Has anyone experienced this or know why this is happening? -- Sam Fuqua ΣΝ ΘΗ 454

Rendering errors due to XSL color change

2009-03-19 Thread Sam Fuqua
=centerHello, World!/fo:block /fo:flow /fo:page-sequence /fo:root /xsl:template /xsl:stylesheet Sam Fuqua