Re: Non-breaking space turning into "??"

2005-11-30 Thread Craig McDaniel
Whoops. Ignore the "html" variable name, it should be "foFile". On 11/30/05, Craig McDaniel <[EMAIL PROTECTED]> wrote: > OK, I was able to get one of the question marks to go away (leaving a > single question mark where the space should be). Here is what I > changed: > > serializer.setOutputStream

Re: Non-breaking space turning into "??"

2005-11-30 Thread Craig McDaniel
OK, I was able to get one of the question marks to go away (leaving a single question mark where the space should be). Here is what I changed: serializer.setOutputStream(new PrintStream(new FileOutputStream(results), false, "UTF-8")); and to read the file InputStreamReader fileReader = new I

Re: Non-breaking space turning into "??"

2005-11-30 Thread Craig McDaniel
I've been able to debug this a little bit, and it seems that, even though I am setting the output encoding to UTF-8, it is being written as ASCII. Since we can't get much farther without posting code, here goes: Serializer serializer = SerializerFactory.getSerializer(props); log.debug("Output

Re: FOP and EntityResolver

2005-11-30 Thread Simon Pepping
On Tue, Nov 29, 2005 at 02:41:25PM +0100, Andreas Grund wrote: > Hi, > > I have a short problem with FOP: > I want to publish an xml document to pdf using an xsl-stylesheet and FOP. The > doctype-declaration of my xml file contains a DTD used for validation. I > wrote a method as it is shown in

Re: Forcing Whitespace

2005-11-30 Thread Ail Sahin
William Gilbert schrieb: On Nov 30, 2005, at 10:59 AM, Ail Sahin wrote: Simon Burton schrieb: Putting a space between tags does add a single char of whitespace - do you mean you want several chars of whitespace between them? That does not work. I'd like the address to be "Prename Su

Re: RE : Forcing Whitespace

2005-11-30 Thread Ail Sahin
EXT / FOCAL VANDEPUTTE Brice schrieb: Tried but got following error message: "The entity "nbsp" was referenced, but not declared." Yep try " " instead of " " Brice Thanks Brice, thanks Simon. I got it with " ". Thanks a lot for your help. ^^ BR... Ali -Message d'origine-

Re: Forcing Whitespace

2005-11-30 Thread William Gilbert
On Nov 30, 2005, at 10:59 AM, Ail Sahin wrote: Simon Burton schrieb: Putting a space between tags does add a single char of whitespace - do you mean you want several chars of whitespace between them? That does not work. I'd like the address to be "Prename Surname Address Postalcode

RE : Forcing Whitespace

2005-11-30 Thread EXT / FOCAL VANDEPUTTE Brice
>Tried but got following error message: "The entity "nbsp" was >referenced, but not declared." Yep try " " instead of " " Brice -Message d'origine- De : Ail Sahin [mailto:[EMAIL PROTECTED] Envoyé : mercredi 30 novembre 2005 16:59 À : fop-users@xmlgraphics.apache.org Objet : Re: Forcing

Re: Forcing Whitespace

2005-11-30 Thread Ail Sahin
Simon Burton schrieb: Putting a space between tags does add a single char of whitespace - do you mean you want several chars of whitespace between them? That does not work. I'd like the address to be "Prename Surname Address Postalcode City" in one single line. But my sheet version do

Re: Forcing Whitespace

2005-11-30 Thread Simon Burton
Putting a space between tags does add a single char of whitespace - do you mean you want several chars of whitespace between them? You can add white-space-collapse="false" to your block tags, but not sure if this will do what you want, if you want more white space you may need to add some non

Forcing Whitespace

2005-11-30 Thread Ail Sahin
Hi there, I have following block "space-before="3cm"> select="sender/city"/>

Re: Empty lines

2005-11-30 Thread Simon Burton
You can do something along the lines of this if you want to ensure your blank line/s will be the same height as your text etc: one blank line: - Start Original Message - From: Ail Sahin <[EMAIL PROTECTED]> To: fop-users@xmlgraphics.apache.org Subject: Empty lines > Hi there, > > l

Re: Empty lines

2005-11-30 Thread Ail Sahin
Ail Sahin schrieb: Hi there, look at the following snippet "space-after="1cm"> select="name2"/> select="street"/> select="city"/> " I'd like to have three empty lines before "name2". space-before="1cm" solved the problem. -

Empty lines

2005-11-30 Thread Ail Sahin
Hi there, look at the following snippet "space-after="1cm"> select="name2"/> select="street"/> select="city"/> " I'd like to have three empty lines before "name2". Any ideas how to manage this? Thanks in advance Ali -

Re: region-body problem

2005-11-30 Thread Ail Sahin
Chris Bowditch schrieb: There is an example on the website: http://xmlgraphics.apache.org/fop/fo.html#fo-first-page Thanks a lot for that link. It helped me get out of the mud ^^ Ali - To unsubscribe, e-mail: [EMAIL PROTECT