182183184185186187188189190191192
app.setFont( PDType1Font.getStandardFont( args[i] )); } else if( args[i].equals( "-ttf" )) { i++; PDTrueTypeFont font = PDTrueTypeFont.loadTTF( doc, new File( args[i])); app.setFont( font ); } else if( args[i].equals( "-fontSize" )) { i++;