insert unicode character U9679 (=25cf) in xsf-fo to pdf

Here should go questions about transforming XML with XSLT and FOP.
lelangue
Posts: 1
Joined: Tue Jun 27, 2006 12:22 pm
Location: MONS,BELGIUM

insert unicode character U9679 (=25cf) in xsf-fo to pdf

Post by lelangue »

Hello

I am using Oxygen 6.0 and generating pdf doc using xsl-fo and the built-in (Apache FOP) processor.

I would like to insert unicode caracter U9679 (big black circle) in my pdf document but i cannot find out how.

inserting blank space using   is working
inserting ● seems ok syntaxically (accepted by oxygen) but give a "#" character in the pdf doc instead of the expected black circle.

A method to insert any unicode caracter would be appreciated.

I don't know if this is important but my XSF-FO begins with the begining :

<?xml version="1.0" encoding="UTF-16"?>

remark:
if i generate the big black circle using ALT+9679 in word and cut/paste it in Oxygen, the big blac circle is correctly displayed in oxygen xsl-fo editor windows but after generation only a '#' is visible in generated pdf doc.

thank you

Bertrand
Bertrand Lelangue
Hôpital Ambroise Paré
7000 MONS
BELGIUM
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

You have to set a font to Apache FOP able to display the Unicode character, for example Arial Unicode MS, as described in the article "How to Add a Font to the <oXygen/> Built-in FOP" available on the Documentation page. This font will be set in the PDF result of the transformation and will be used by the PDF reader application (for example Acrobat Reader) to display the characters of the PDF document.

Regards,
Sorin
Post Reply