List of usage examples for com.itextpdf.text.pdf BaseFont getCodePagesSupported
public String[] getCodePagesSupported()
From source file:book.pdfabc.chapter05.C0505_SupportedEncoding.java
public void listEncodings(BaseFont bf) { System.out.println(bf.getPostscriptFontName()); String[] encoding = bf.getCodePagesSupported(); for (String enc : encoding) { System.out.print('\t'); System.out.println(enc);// w w w . j a v a2 s .c om } }