xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Austin <dausti...@gmail.com>
Subject Bullets not showing up in SVG
Date Mon, 17 Jan 2005 21:56:34 GMT
I'm not sure if this is more of an FOP problem, or if it is Batik. 
I'm posting on this board because I read that FOP uses Batik for
conversion to SVG anyway. I have a FO doc that I convert to SVG with
FOP.  The doc contains a bulleted list of text.  The bullets can be
seen in the FO doc as Symbol character glyphs.  The font face is
"Symbol" and the text inside is: \342\200\242.   When I run FOP, it
always replaces these bullets with ?'s. This is only happens on my
linux machine, on windows it is fine.   Obviously what is happening
here is the FOP cannot determine the glyph associated with the
"Symbol" font and is substituting ?'s.

  The funny thing is that i have a bunch of windows fonts installed on
linux (including symbol.ttf), and i know that JVM can see the symbol
font because when i call getAvailableFontFamilyNames() on the Graphics
environment, it returns all the fonts.  The wierd thin is that the
Symbol font entry in the fonts.dir folder is as follows (only two
entries):

symbol.ttf -monotype-Symbol-medium-r-normal--0-0-0-0-p-0-iso10646-1
symbol.ttf -monotype-Symbol-medium-r-normal--0-0-0-0-p-0-microsoft-symbol

but the rest of the windows fonts list way more:

arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-10
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-13
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-15
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-16
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-2
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-3
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-4
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-5


...and so on.  

My question is:  does anyone know of a font that i can use on linux
that will work in place of the windows symbol fonts?  I think FOP
needs a iso8859 entry to work. Also, is there some setting in FOP that
i can use that will change the default unknown character from ?'s to
something else?

Thanks for looking at this.

-dave

Mime
View raw message