NOTE: Font widths are grouped in one of the following formats [PDF:1.6:5.6.3]:
1. startCID [glyphWidth1 glyphWidth2 ... glyphWidthn]
2. startCID endCID glyphWidth
*/
int startCID = ((PdfInteger)iterator.next()).getRawValue();
PdfDirectObject glyphWidthObject2 = iterator.next();
if(glyphWidthObject2 instanceof PdfArray) // Format 1: startCID [glyphWidth1 glyphWidth2 ... glyphWidthn].
{
int cID = startCID;
for(PdfDirectObject glyphWidthObject : (PdfArray)glyphWidthObject2)
{glyphWidths.put(cID++,((PdfInteger)glyphWidthObject).getRawValue());}