document-builder icon indicating copy to clipboard operation
document-builder copied to clipboard

unicode symbols in pdf (error)

Open rocketsan opened this issue 6 years ago • 0 comments

def builder = new PdfDocumentBuilder(new File('example.pdf'))
builder.create {
  document {
    paragraph "ПРИВЕТ"
  }
}

Exception thrown

java.lang.IllegalArgumentException: U+041F ('Pecyrillic') is not available in this font's encoding: WinAnsiEncoding

rocketsan avatar Nov 07 '19 08:11 rocketsan