Java Mailing List Archive

http://www.junlu.com/

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

genesys

2013-06-23

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?
 
Thanks
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions

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: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
©2008 junlu.com - Jax Systems, LLC, U.S.A.