RE: [xsl] Winddings, symbol etc

Subject: RE: [xsl] Winddings, symbol etc
From: "Mark Williams" <mark@xxxxxxxxxxx>
Date: Thu, 13 Oct 2005 15:23:41 +0100
Hi Jon,

Windows XP
FOP
Saxon parser
RTF documents using my own RTF to XSL converter (still in development). 

Below is an example of the xslfo I am ouputting:

<fo:block font-family="Helvetica" font-size="11" text-align="left">128   P</fo:block><fo:block font-family="Helvetica" font-size="11" text-align="left">129   P</fo:block><fo:block font-family="Helvetica" font-size="11" text-align="left">130   b</fo:block><fo:block font-family="Helvetica" font-size="11" text-align="left">131   Q</fo:block><fo:block font-family="Helvetica" font-size="11" text-align="left">132   b</fo:block><fo:block font-family="Helvetica" font-size="11" text-align="left">133   b&</fo:block><fo:block font-family="Helvetica" font-size="11" text-align="left">134   b </fo:block><fo:block font-family="Helvetica" font-size="11" text-align="left">135   b!</fo:block><fo:block font-family="Helvetica" font-size="11" text-align="left">136   b,</fo:block><fo:block font-family="Helvetica" font-size="11" text-align="left">137   b0</fo:block><fo:block font-family="Helvetica" font-size="11" text-align="left">138   P	</fo:block>

And follow is the text extracted from the resulting pdf when the above xslfo is run through fop:

128 ?
129 ?
130 ?
131 ?
132 ?
133 ?
134 ?
135 ?
136 ?
137 ?
138 ?

The numbers on the left obviously represent the extended ascii table code.

When I ouput the following xslfo:
<fo:block font-family="Symbol" font-size="11" text-align="left">abcdefghijklmnopqrstuvwxyz</fo:block>

The pdf outputs ##########################

Apologies if I'm still not giving you the info you need.  I don't fully understand the process involved here.  I assumed that if pdf supports arial etc it would support the extended ascii codes.  Is someone able to advise me what is wrong with my xslfo code?

Thanks,

Mark

> -----Original Message-----
> From: Jon Gorman [mailto:jonathan.gorman@xxxxxxxxx] 
> Sent: Thursday, October 13, 2005 2:43 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Winddings, symbol etc
> 
> Might also want to look into embedding the font.  This list 
> isn't too active with the XSL-FO side of XSL, so I don't know 
> how much help you can get there.  I'd check out the manual 
> for whatever you're using (FOP, XEP) as these issues are 
> pretty common.  It can be a pain dealing with character 
> sets/fonts but perhaps someone else has better info.  As 
> Geert mentioned, you are best off using the Unicode characters.
> 
> Of course, might be more helpful if you described the process 
> and told us things like system environment, character sets of 
> input, character sets of outputs,  documents, fonts tried, 
> and xsl-fo processor used.
> 
> 
> Jon Gorman
> 
> --~------------------------------------------------------------------
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
> --~--

Current Thread