java.io.IOException: Cannot create font as /SubType is not set.

Coderanch | giuseppe gio | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    PDFbox, exception on fonts

    Stack Overflow | 3 years ago | giozh
    java.io.IOException: Cannot create font as /SubType is not set.
  2. 0

    PDFBox filling form exception

    Coderanch | 3 years ago | giuseppe gio
    java.io.IOException: Cannot create font as /SubType is not set.
  3. 0

    Saved Text Field value is not displayed properly in PDF generated using PDFBOX

    Stack Overflow | 2 years ago | Nirav Patel
    java.io.IOException: Error: Don't know how to calculate the position for non-simple fonts
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.io.IOException

      Cannot create font as /SubType is not set.

      at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont()
    2. Apache PDFBox
      PDVariableText.setValue
      1. org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:88)
      2. org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:203)
      3. org.apache.pdfbox.pdmodel.interactive.form.PDAppearance.getFontAndUpdateResources(PDAppearance.java:439)
      4. org.apache.pdfbox.pdmodel.interactive.form.PDAppearance.setAppearanceValue(PDAppearance.java:268)
      5. org.apache.pdfbox.pdmodel.interactive.form.PDVariableText.setValue(PDVariableText.java:131)
      5 frames
    3. prove
      Prove.main
      1. prove.Prove.main(Prove.java:37)
      1 frame