List widths = new ArrayList(maxWidths);
Integer zero = new Integer(0);
Iterator iter = listmetric.iterator();
while (iter.hasNext())
{
CharMetric m = (CharMetric) iter.next();
int n = m.getCharacterCode();
if (n > 0)
{
firstchar = Math.min(firstchar, n);
lastchar = Math.max(lastchar, n);
if (m.getWx() > 0)
{
float width = m.getWx();
widths.add(new Float(width));
}
else
{
widths.add(zero);