Re: [PATCH] TXTRenderer output encoding

2002-07-15 Thread J.Pietschmann
Oleg Tkachenko wrote: Well, encoding-related code looks fine for me, but I cannot build fop in cvs due to Hashtable/HashMap changes: Oops, didn't clean the build directory before the test build. It should be fixed now. J.Pietschmann

Re: [PATCH] TXTRenderer output encoding

2002-07-14 Thread J.Pietschmann
Oleg Tkachenko wrote: As Torsten Straube pointed out that would be nice to have a possibility to set TXTRenderer output encoding. I like the idea and here is my proposed patch. Ok, commited to the maintenance branch. I added usage info and moved the check for a valid encoding somewhere else

[PATCH] TXTRenderer output encoding

2002-07-13 Thread Oleg Tkachenko
Hello! As Torsten Straube pointed out that would be nice to have a possibility to set TXTRenderer output encoding. I like the idea and here is my proposed patch. I have added new TXTRenderer option txt.encoding, which could be set either from command line: fop.bat d:\table.fo -txt d

Character Encoding in TXTRenderer

2002-07-12 Thread Torsten Straube
Hi all. I am using fop-0.20.4 to create PDF and text files from XML files encoded in ISO-8859-1. While the PDF files are ok, the text files are always UTF-8 encoded. By looking at the TXTRenderers sources I found the reason for this behaviour: The TXTRenderer uses the TXTStream class to write

FOP TXTRenderer example?

2002-02-07 Thread Randall J. Parr
I have been trying to get the FOP TXTRenderer working to produce some simple ASCII reports but have been singularily unable to get any kind of decent result. I am trying to use FOP TXTRenderer (as opposed to just XSLT text output) because I have to wrap some relatively long descriptions and I

RE: i18n in TXTRenderer

2002-01-31 Thread Art Welch
] Subject: Re: i18n in TXTRenderer Hi, Art. I attach the most simplest changes to this mail. I created a new org.apache.fop.render.txt.TXTStream class and modified the TXTRenderer class. A difference of behavior with an existing code is that a generated text is written by UTF-8 encoding

RE: i18n in TXTRenderer

2002-01-31 Thread Art Welch
: Thursday, January 31, 2002 12:06 PM To: '[EMAIL PROTECTED]' Subject: RE: i18n in TXTRenderer I will try to commit this sometime in the next few days. I have not looked at the code yet, should this be the main branch or the maintenance branch? Art -Original Message- From: Satoshi Ishigami

RE: i18n in TXTRenderer

2002-01-31 Thread Arved Sandstrom
I think everything like this, maintenance branch. Arved -Original Message- From: Art Welch [mailto:[EMAIL PROTECTED]] Sent: January 31, 2002 1:06 PM To: '[EMAIL PROTECTED]' Subject: RE: i18n in TXTRenderer I will try to commit this sometime in the next few days. I have not looked

RE: i18n in TXTRenderer

2002-01-28 Thread Art Welch
You are probably correct. The TXTRenderer probably should not use the same add method as the PCL renderer. Since it should just generate plain text, there probably is not a reason that it should not be able to support i18n. As coded however, it may be more aptly named the ASCIIRenderer (or maybe

i18n in TXTRenderer

2002-01-27 Thread Satoshi Ishigami
Hi . I hacked the TXTRenderer for i18n. Currently the org.apache.fop.render.pcl.PCLStream class is used as OutputStream in TXTRenderer. The add method in PCLStream calss is as below: public void add(String str) { if (!doOutput) return; byte buff[] = new byte

Re: TXTRenderer

2001-10-12 Thread Louis . Masters
] To: [EMAIL PROTECTED] cc: Subject: TXTRenderer Is anyone else using the TXTRenderer? It seems that when I try it my pages all appear twice as wide as they are supposed to and the letter spacing is all funky. Is that already documented? If not, does anyone have any workarounds or ways to fix

RE: TXTRenderer

2001-10-12 Thread Matthew L. Avizinis
his helps, Matthew L. AvizinisGleim Publications, Inc.4201 NW 95th Blvd.Gainesville, FL 32606(352)-375-0772 ext. 101www.gleim.com -Original Message-From: Brian T. Wolf [mailto:[EMAIL PROTECTED]]Sent: Thursday, October 11, 2001 7:52 PMTo: [EMAIL PROTECTED]Subject: TXTRende

RE: TXTRenderer

2001-10-12 Thread Matthew L. Avizinis
Blvd.Gainesville, FL 32606(352)-375-0772 ext. 101www.gleim.com -Original Message-From: Brian T. Wolf [mailto:[EMAIL PROTECTED]]Sent: Thursday, October 11, 2001 7:52 PMTo: [EMAIL PROTECTED]Subject: TXTRenderer Is anyone else using the TXTRenderer? It seems that when I try it

TXTRenderer

2001-10-11 Thread Brian T. Wolf
Is anyone else using the TXTRenderer? It seems that when I try it my pages all appear twice as wide as they are supposed to and the letter spacing is all funky. Is that already documented? If not, does anyone have any workarounds or ways to fix this? Thanks, Brian