The encoding has nothing to do with the way the fonts are displayed. All the encoding used in iText allow for text extraction, maybe the problem is in the viewer (if it's not Acrobat). I suppose you are using a recent iText version and not simulating bold and embedding the fonts. The usual advice is to post the problematic PDFs for inspection, that is, if you want some kind of informed answer.
Paulo On Sun, Jun 23, 2013 at 5:18 PM, "Matthias Bühlmann" <gene...@gmx.ch> wrote: > 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@lists.sourceforge.net > 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 ------------------------------------------------------------------------------ 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@lists.sourceforge.net 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