Printing Chinese characters in pdfbox
问题 I'm using the following set-up: Java 11.0.1 pdfbox 2.0.15 Objective: Rendering a pdf that contains Chinese characters Problem: java.lang.IllegalArgumentException: U+674E is not available in this font's encoding: WinAnsiEncoding I already tried: Using different fonts for Chinese character support. The latest one is NotoSansCJKtc-Regular.ttf Set font to unicode as described here: Java: Write national characters to PDF using PDFBox, however the used loadTTF method is deprecated. Using Arial