[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: character dagger
You can also include a font that contains the character you are looking to display. FOP has facilities to embed fonts that are not part of the default distribution. Make sure the license for the font does not restrict embedding and take a look at http://xml.apache.org/fop/fonts.html to see how to do it. Mark Dudley Xerox, Corp. -----Original Message----- From: Dunning, John [mailto:JDunning@xxxxxxxxx] Sent: Tuesday, June 11, 2002 3:35 PM To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: RE: character dagger For HTML output, use encoding UTF-8; for PDF you will need to set the font-family of the container to the name of the font you are embedding (e.g., <fo:block font-family="foo">†</fo:block>) and use the numeric character reference for it; see the FOP docs about embedding fonts. Also, there is a list of Acrobat supported glyphs at http://www.w3.org/Style/XSL/TestSuite/contrib/FOP/fonts.pdf. HTH, John -----Original Message----- From: normbishop1@xxxxxxxxxxxx [mailto:normbishop1@xxxxxxxxxxxx] Sent: Tuesday, June 11, 2002 2:59 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: character dagger I am using FOP 0.20.3 I do see the dagger symbol (†) in the xml file (using nodepad). Once I apply the syle sheet † becomes ?, and in PDF † is #. I realize that † is not present in iso-8859-1. There are other characters I am using are in iso-8859-1(such as ± ). How can I make this happen? Thanks Oleg Tkachenko wrote: normbishop1@xxxxxxxxxxxx wrote: > I am using 'iso-8859-1' encoding. Everything is working well except for the character '†'. In the pdf file I have generated using xslt/fo displays '†' as '#'. In my xml file that has been generated by java application shows '†' as '?'. > > What can I do to make '†' displays correctly? Probably font your fo processor uses to output that chracter doesn't have such glyph. Which fo processor are you using and which font? -- Oleg Tkachenko Multiconn International Ltd XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|