Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4174156 By: fmtn07
The problem is the font used. First you need to make sure you have unicode truetype fonts on your computer, (I'm running opensuse 10.2 and had to do an online update and manually select to download the MS TT fonts). Then you have to download and alter the displaytag source (or create a new class that extends the one in the displaytag source and override the appropriate methods) by changing the font, wherever it's used in your exporter class, to one that supports BaseFont.IDENTITY_H. I got it to work by changing smallFont = FontFactory.getFont(FontFactory.HELVETICA, 7, Font.NORMAL, new Color(0, 0, 0)); to: smallFont = FontFactory.getFont("ComicSansMS", BaseFont.IDENTITY_H, 10, Font.NORMAL, new Color(0x00, 0x00, 0x00)); (after I first registered these new fonts with the FontFactory class, by doing: FontFactory.register("/usr/share/fonts/truetype/comic.ttf"); .. Hope this helps.. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=249317 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user