Hi,
I was just trying out an example on FixedWidthFont from
http://itextdocs.lowagie.com/tutorial/.
This is the snippet from the code.
BaseFont bf = BaseFont.createFont("Helvetica", "winansi", false, false,
null, null);
int widths[] = bf.getWidths();
for (int k = 0; k < widths.length; ++k) {
if (widths[k] != 0)
widths[k] = 1000;
}
bf.setForceWidthsOutput(true);
I dont understand how/where the int array "widths" is used after it is assigned
values.Can anyone tell me where the modified "widths" array is used?
Thanks,
Praneeth
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/