java.lang.IllegalArgumentException: U+0105 is not available in this font's encoding: WinAnsiEncoding

Stack Overflow | Matt | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    National/Polish characters in PDAcroForm using Apache PDFBox 2.0.2

    Stack Overflow | 7 months ago | Matt
    java.lang.IllegalArgumentException: U+0105 is not available in this font's encoding: WinAnsiEncoding

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      U+0105 is not available in this font's encoding: WinAnsiEncoding

      at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.encode()
    2. Apache PDFBox
      PlainText$Paragraph.getLines
      1. org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.encode(PDTrueTypeFont.java:368)[pdfbox-2.0.2.jar:2.0.2]
      2. org.apache.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:286)[pdfbox-2.0.2.jar:2.0.2]
      3. org.apache.pdfbox.pdmodel.font.PDFont.getStringWidth(PDFont.java:315)[pdfbox-2.0.2.jar:2.0.2]
      4. org.apache.pdfbox.pdmodel.interactive.form.PlainText$Paragraph.getLines(PlainText.java:169)[pdfbox-2.0.2.jar:2.0.2]
      4 frames