Thanks for your help Rainer. I'm fairly dumb when it comes to fonts. My problem is that I don't control the source of the character and I would expect that in most cases the characters that are a problem are in ANSI set from 127-255. From what you're saying I'll have to pre-parse the string and replace it with the matching character in Adobe. Is that right? Is there another way?
Cheers Tim -----Original Message----- From: Rainer Garus [mailto:[EMAIL PROTECTED] Sent: Monday, 4 February 2002 4:30 To: [EMAIL PROTECTED] Subject: RE: Displaying characters in PDF If the standard fonts of FOP (Helvetica, Times, Courier, Symbol and ZapfDingbats) contains the character, then you do not use additional fonts. FOP use unicode. So you must insert the unicode value (code point) of the character in your fo file. If you mean with slanted apostrophe the character with the adobe font name quoteright the code point is 2019. This is a hexadezimal value. Using the iso-8859-1 encoding you have to insert the numeric character reference in your fo file, for example: <fo:block font-family="Helvetica">‘text’</fo:block> To find the code point of a character of the Helvetica font, you can search the adobe font name of the character in chapter C.1 of the pdf reference manual http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf and then use the adobe glyph list http://partners.adobe.com/asn/developer/type/glyphlist.txt Rainer Garus ************************************************************************ The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. ************************************************************************
