Subject: RE: [xsl] character dagger From: "Dudley, Mark" <Mark.Dudley@xxxxxxxxxxxxx> Date: Tue, 11 Jun 2002 15:49:12 -0400 |
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: [xsl] 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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] character dagger, Dunning, John | Thread | [xsl] Name function and namespaces , Snow, Corey |
RE: [xsl] character dagger, Dunning, John | Date | Re: [xsl] Flat file to hierarchy?, Wendell Piez |
Month |