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 this information.

Information about the encoding of the XML file cannot be passed
through the standard interfaces.

> I would like to fix this, but I am not sure how to do it.
> Is there any preferable way to tell the renderer which encoding to use?

The correct way would be to implement a configuration setting
and/or a command line parameter to set the encoding for the
text renderer output.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Character Encoding

2002-07-10 Thread Holger Prause


- Original Message -
From: "J.Pietschmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 9:58 PM
Subject: Re: Character Encoding


> Holger Prause wrote:
> > I  use the character squence − in a html page it will be dispalyed
as
> > an - minus sign.
> >
> > So far so good.Now i want to use that chracter sequence in FO but in the
> ^ ^ ^ ^ ^ ^ ^
> It is a "character reference"
Yes your are right.
>
> > generated pdf it will displayed as an # sign(which stands for undefined
?)
>
> This means the selected font does not have a glyph for it.

Ok i undestand that, its also written in the FOP Faq.

>
> > What can i do to display this character squence, changeing the encoding
in
> > the stylesheet(or using )?
>
> The only way is to get a font with a glyph for it and let
> FOP use it. The "mathematical minus" is pretty esoteric,
> you'll probably need a special math font, rummage through
> implementations for MathML or TeX distributions.
> Why can't you usse a dash or hyphen?
What i wanted was a dash, but for some reasons i choosed the character
reference −  which is , like u already said,  a mathematical minus.
Now i use a the character reference  for dash , and i works fine with my
font.

Thx for the quick response,

Bye,

Holger

>
> J.Pietschmann
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Character Encoding

2002-07-09 Thread J.Pietschmann

Holger Prause wrote:
> I  use the character squence − in a html page it will be dispalyed as
> an - minus sign.
> 
> So far so good.Now i want to use that chracter sequence in FO but in the
^ ^ ^ ^ ^ ^ ^
It is a "character reference"

> generated pdf it will displayed as an # sign(which stands for undefined ?)

This means the selected font does not have a glyph for it.

> What can i do to display this character squence, changeing the encoding in
> the stylesheet(or using )?

The only way is to get a font with a glyph for it and let
FOP use it. The "mathematical minus" is pretty esoteric,
you'll probably need a special math font, rummage through
implementations for MathML or TeX distributions.
Why can't you usse a dash or hyphen?

J.Pietschmann




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Character encoding on other platforms (previously os/390)

2002-05-16 Thread Christian Geisert

[EMAIL PROTECTED] schrieb:
> I've had a couple folks ask me for the modified code so the proper character
> encoding is returned on the toString().getBytes()
> is US-ASCII. This is cool that other people besides me need this.

[..]

> I downloaded this snapshot xml-fop_20020515162132 and I don't see any
> modification to the code.
> Is this change going to be incorporated or has been incorporated in a way
> that I missed?

It hasn't been incorporated yet but it's on my todo list and should
be in the next maintenance release.

> Many Thanks,
> Jason West 

Christian


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]