xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Austin <dausti...@gmail.com>
Subject Re: Bullets not showing up in SVG
Date Tue, 18 Jan 2005 17:34:14 GMT
Thanks Tom for all your help with this.  I am generating FO files from
RTF files with a handy utility called RTF2FO.  Fontunately, one of the
options i can use with this is to set the encoding output.  So, what i
tried to do in the mean time was to change this to ISO-8859-1.

I did do this, and it did output the FO file in that format.  Now, in
the FO file i get the familiar character references that we would
normally see in svg.

For instance, &#8226; is now embedded instead of the previous
character references. However, the resultant SVG from the FO Processor
still does not include those references, just ?'s.

I have a work-around in place for now.  I think i might post this on
the FOP user group, too.  I can also try the your reader suggestion.

On Tue, 18 Jan 2005 08:06:00 -0500, Thomas DeWeese
<Thomas.DeWeese@kodak.com> wrote:
> Dave Austin wrote:
> > I'm not sure if this is more of an FOP problem, or if it is Batik.
>    I suspect it's a character encoding problem.
> > I'm posting on this board because I read that FOP uses Batik for
> > conversion to SVG anyway.  The font face is "Symbol" and the text
> > inside is: \342\200\242.   When I run FOP, it always replaces these
> > bullets with ?'s.
>    Looking at the attached document that fails then encoding is:
> <?xml version="1.0" encoding="ISO-8859-1"?>
>    I suspect that the character you are referencing in the fo file
> (which is encoded using UTF-8) doesn't have a mapping to this
> encoding.  I would suspect the windows<->linux difference is
> due to a different default encoding.
>    I would suggest providing a Reader explicitly to the stream call
> and construct the reader with a UTF-8 encoding specification.
> > Obviously what is happening here is the FOP cannot determine the
> > glyph associated with the "Symbol" font and is substituting ?'s.
>    I don't think this is the problem, if this were the problem
> you would probably get bad text layout.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message