Re: [PATCH] TXTRenderer output encoding

2002-07-16 Thread Christian Geisert
J.Pietschmann schrieb: > 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. It isn't (build.sh clean compile)

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-15 Thread Oleg Tkachenko
J.Pietschmann wrote: > Ok, commited to the maintenance branch. I added usage > info and moved the check for a valid encoding somewhere > else and provided a warning in case the encoding is > invalid. PPlease test. Well, encoding-related code looks fine for me, but I cannot build fop in cvs due t

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

[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

Re: Character Encoding in TXTRenderer

2002-07-12 Thread J.Pietschmann
Torsten Straube wrote: > While the PDF files are ok, the text files are always UTF-8 encoded. ... > My FO files always contain an encoding attribute in the XML declaration > so I thought the ContentHandler might instruct the renderer which encoding > to use but the SAXContentHandler does not get t

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

RE: FOP TXTRenderer example?

2002-02-07 Thread Art Welch
I am sorry that I can not offer much in the way of encouragement. When I use the TXTRenderer it is only to create a plain text searchable file for an archive system. Appearance is not a major concern. Internally the TXTRenderer maps the character positions from the FOP area tree onto a fixed

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-02-01 Thread Art Welch
TXTRenderer 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 day

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

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: Satosh

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 (not

Re: i18n in TXTRenderer

2002-01-30 Thread Satoshi Ishigami
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 (not ISO-8859-1). It maybe more

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

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 Brian T. Wolf
t one xsl so the different incarnations appear somewhat similar.   - Original Message - From: Matthew L. Avizinis To: [EMAIL PROTECTED] Sent: Friday, October 12, 2001 11:05 AM Subject: RE: TXTRenderer What I meant was have you tried the following in place of

RE: TXTRenderer

2001-10-12 Thread Matthew L. Avizinis
-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 my pages all appear twice as wide as they are supposed to

RE: TXTRenderer

2001-10-12 Thread Matthew L. Avizinis
ainesville, FL 32606(352)-375-0772 ext. 101 www.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 i

Re: TXTRenderer

2001-10-12 Thread Louis . Masters
d to [EMAIL PROTECTED] 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

RE: TXTRenderer

2001-10-11 Thread Art Welch
ut it on Alex' FAQ about the TXTRenderer.   You could try changing the CPI or width settings in the TXTRenderer to get the width you desire. If you have fancy documents and want pretty output in plain text, I can tell you with some confidence that you will  be disappointed. On the other ha

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