DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39389>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39389





------- Additional Comments From [EMAIL PROTECTED]  2006-04-25 09:53 -------
Hi

I found what is wrong.
If you deal with symbolic fonts like Wingdings you need to set the correct
character set.
This is the important setting. 

I added the required modifiers to org.apache.poi.hssf.usermodel.HSSFFont. 

So if you work with Wingdings  you need to set the charset as follows:

 HSSFFont hssfFont = wb.createFont();
 hssfFont.setFontName("Wingdings");
 hssfFont.setCharSet(HSSFFont.SYMBOL_CHARSET); //this is the important setting!
 
After I applied this change I could see the correct glyphs. 
It works both for text in cells and in text box in escher graphics.

Regards, Yegor Kozlov

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to