Hi Andreas,

Thanks for your patience! :-)

Taking into account what you said, I did the following test:

1) In my customization area, I added:

<xsl:param name="symbol.font.family">ZapfDingbats</xsl:param>

2) Installed ZapfDingbats font on my system and registered it in fop conf:

          <font-triplet name="ZapfDingbats" style="normal" weight="bold"/>
          <font-triplet name="ZapfDingbats" style="italic" weight="normal"/>
          <font-triplet name="ZapfDingbats" style="italic" weight="bold"/>


3) Compiled the PDF (XML file with 
<listitem> 
  <ZapfDingbats symbol code> <space> <phone number>
 </listitem>
...

And nothing happened - I still get #. I am close to tears ;-(.

Best regards,
Nancy


Andreas Delmelle-2 wrote:
> 
> On 04 Jun 2009, at 14:33, nancy_b wrote:
> 
> Hi Nancy
> 
>> So you mean that if Symbol is the first font, FOP will pick it up,  
>> fail to
>> produce the phone symbol, and won't fall back to  ZapfDingbats?
> 
> For FOP 0.95 or earlier, the answer is unfortunately: Yes.
> As mentioned, FOP Trunk will effectively use the first font-family  
> that has a glyph for the desired character. In case of complete words,  
> it uses (IIRC) the first font-family that covers all glyphs (or the  
> largest number), so if the phone symbol is embedded in other text, you  
> may still see the missing glyph character (#). As soon as the symbol  
> is separated from the surrounding text by spaces, then ZapfDingbats  
> will be used. (zero-width spaces would be OK too, if you don't want to  
> see a space in the output)
> 
> 
> Regards
> 
> Andreas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/FOP-0.95-fails-to-compile-large-PDF-files---java-heap-space-tp23816647p23869576.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to