* @return The TTF as an object, null if the font is incompatible.
* @throws IOException In case of an I/O problem
*/
- public TTFFile loadTTF(String fileName, String fontName, boolean useKerning, boolean useAdvanced) throws IOException {
+ public TTFFile loadTTF(String fileName, String fontName, boolean useKerning, boolean useAdvanced)
+ throws IOException {
TTFFile ttfFile = new TTFFile(useKerning, useAdvanced);
log.info("Reading " + fileName + "...");
InputStream stream = new FileInputStream(fileName);
} else if (dictionary.getDictionaryType() != PDFDictionaryType.Dictionary) {
this.returnedObject = new PDFDictionaryAttachment(dictionary);
} else {
- throw new SAXException(new IllegalStateException("generic dictionary not permitted at outer level"));
+ throw new SAXException(
+ new IllegalStateException("generic dictionary not permitted at outer level"));
}
} else {
throw new SAXException(new IllegalStateException("collections stack is empty or not a dictionary"));