I had the same problem and realized that using IDENTITY_H for encoding works fine. For instance:
java.awt.Font f =...; Font font = FontFactory.getFont(f.getName(),BaseFont.IDENTITY_H)
I do not understand why this does not work with BaseFont.WINANSI. Winansi is the standard Windows Cp1252 character set used by my JVM. So, if char displays correctly in Java, why doesn't this apply to PDF?
source share