List of usage examples for org.apache.pdfbox.pdmodel.font PDFont toString
@Override
public String toString()
From source file:org.qi4j.envisage.print.PDFWriter.java
License:Apache License
private void setFont(PDFont font, float fontSize) { curFont = font;/*w w w . j a v a 2s . c o m*/ curFontSize = fontSize; try { curContentStream.setFont(curFont, curFontSize); } catch (IOException e) { throw new PrintingException("Unable to set font: " + font.toString() + ", " + fontSize + "pt", e); } }