How could I change the traditional Chinese font widths? My source code is as the following: BaseFont bf = BaseFont.createt("/dir1/dir2/kaiu.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); int widths[] = bf.getWidths(); for (int k = 0; k < widths.length; ++k) { if (widths[k] != 0) widths[k] = 1000; } bf.setForceWidthsOutput(true); document.add(new Paragraph("A big text to show Helvetica with fixed width.", new Font(bf))); } catch (Exception de) {de.printStackTrace(); } document.close();
But it does not work ,the widths remain the same. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions