Java Mailing List Archive

Home » Post all your questions about iText here »

[iText-questions] font too fat with WINANSI encoding and cannot be
copy pasted with IDENTITY_H encoding



Replies: Find Java Web Hosting

Author LoginPost Reply
I have a problem with the PDF's I generate using iText.
If I use BaseFont.WINANSI Encoding, then the fonts appear too bold in the generated PDF. If i use BaseFont.IDENTITY_H encoding, then the fonts look right in the PDF viewer, but when I select text and want to copy paste it, I get only square boxes in any application I paste the text into (copy pasting works fine with WINANSI encoding).
How can I solve that? make fonts not look too bold but still be able to copy paste text out of the generated PDF?
This email is sponsored by Windows:

Build for Windows Store.
iText-questions mailing list

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book:
Please check the keywords list before you ask for examples:
©2008 - Jax Systems, LLC, U.S.A.