Thanks, Chuck, for the reply.

I'm sorry, I forgot to mention the fop version we are using, it's 0.20.2.
We haven't upgraded to 0.20.3 for the fear of breaking something else.
Fortunately i could find some work around to get the degree symbol
displayed with 0.20.2, it's strange but it's the following.

The element "tempAmbientMax" value is "25.0degC".
<xsl:value-of select="concat(substring-before(tempAmbientMax, 'deg'), '
&#x00B0;', substring-after(tempAmbientMax, 'deg'))" />

if i don't use concat function, the degree symbol was not displayed(the
string '&#x00B0;' displays), everything is fine if use concat.

Thanks for the help.

Vishnu.


                                                                                
                                                         
                      Chuck Paussa                                              
                                                         
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]     
                                                  
                      ms.dhl.com>                cc:                            
                                                         
                                                 Subject:  Re: degree symbol in 
pdf                                                      
                      06/21/2002 11:53 AM                                       
                                                         
                      Please respond to                                         
                                                         
                      fop-user                                                  
                                                         
                                                                                
                                                         
                                                                                
                                                         




[EMAIL PROTECTED] wrote:

>Hi,
>
>I'm unable to get the degree symbol('&#xB0;') to be displayed properly in
>the pdf while displaying a temparature value,  whereas i get the "cubed"
>symbol('&#xB3') correctly displayed while showing a flow value such as
>meter cubed per hr.
>
>We have been sucessfully using FOP over the past six months  for
>transforming xml into pdfs using fo transformations in websphere3.5.4
>servlet environment
>and the browser as ie5.x.
>
>Any help is greatly appreciated.
>
>
>
I was able to get the degree symbol just fine with fop0.20.3. Here's my fo

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
   <fo:layout-master-set>
      <fo:simple-page-master master-name="page-first"
page-height="8.5in" page-width="11in">
         <fo:region-body margin-top="5cm" margin-bottom=".5in"
margin-left=".5in" margin-right=".5in"/>
         <fo:region-before extent="6cm"/>
      </fo:simple-page-master>
   </fo:layout-master-set>
   <fo:page-sequence master-reference="page-first">
      <fo:flow flow-name="xsl-region-body">
          <fo:block font-family="Edwardian Script ITC">&#xB0; -
&#xB3;</fo:block>
          <fo:block font-family="Viner Hand ITC">&#xB0; - &#xB3;</fo:block>
          <fo:block font-family="Georgia">&#xB0; - &#xB3;</fo:block>
          <fo:block font-family="Bookman Old Style">&#xB0; -
&#xB3;</fo:block>
          <fo:block font-family="Book Antiqua">&#xB0; - &#xB3;</fo:block>
          <fo:block font-family="Helvetica">&#xB0; - &#xB3;</fo:block>
          <fo:block font-family="Times-Roman">&#xB0; - &#xB3;</fo:block>
          <fo:block>- This font set does not have these
glyphs</fo:block><fo:block font-family="ZapfDingbats">&#xB0; - &#xB3;
</fo:block>
          <fo:block font-family="Courier">&#xB0; - &#xB3;</fo:block>
      </fo:flow>
   </fo:page-sequence>
</fo:root>







Reply via email to