protected void CreateCharset(OffsetItem charsetRef,int nglyphs){
  OutputList.addLast(new MarkerItem(charsetRef));
  OutputList.addLast(new UInt8Item((char)2));
  OutputList.addLast(new UInt16Item((char)1));
  OutputList.addLast(new UInt16Item((char)(nglyphs - 1)));
}

protected void CreateCharset ( OffsetItem charsetRef , int nglyphs ) { OutputList . addLast ( new MarkerItem ( charsetRef ) ) ; OutputList . addLast ( new UInt8Item ( ( char ) 2 ) ) ; OutputList . addLast ( new UInt16Item ( ( char ) 1 ) ) ; OutputList . addLast ( new UInt16Item ( ( char ) ( nglyphs - 1 ) ) ) ; }
function creates new charset for non - cid fonts . the charset built uses a single range for all glyphs
