Bootstrap

The CMap com/itextpdf/io/font/cmap/UniGB-UTF16-H was not found 异常信息

<dependency>

<groupId>com.itextpdf</groupId>

<artifactId>itext-asian</artifactId>

<version>5.2.0</version>

</dependency>

<dependency>

<groupId>com.itextpdf</groupId>

<artifactId>font-asian</artifactId>

<version>7.1.7</version>

</dependency>

参考网上的代码,最终确定要进入这两个包,以下两个字体问题解决。

The CMap com/itextpdf/io/font/cmap/UniGB-UTF16-H was not found 异常信息

itext 处理中文问题 Font 'STSong-Light' with 'UniGB-UCS2-H' is not recognized 版本问题

;