I recently changed my PDF creating code to using the Times New Roman font in
the Windows\Fonts folder so that the font can embedded to make the PDF
output PDF/A compliant. I was using the iTextSharp Times Roman. Now my PDF
output shows all fields smaller unless I put focus into the field, or turn
on the Field Highlighting from Adobe Reader. 

Would this be something I need to fix with the font, with the chunk, the
paragraph, etc.? I would really appreciate some direction. Thanks.

Old way of defining font:
    Regular = FontFactory.GetFont(FontFactory.TIMES_ROMAN, 12f, 0);             
   

New way:
    BaseFont bf = BaseFont.CreateFont("c:\\windows\\fonts\\times.ttf",
BaseFont.WINANSI, true);  
    Regular = new Font(bf, 12f, Font.NORMAL);


-- 
View this message in context: 
http://www.nabble.com/Text-Fields-changes-size-when-Hightlight-Fields-is-on-off-in-Adobe-Reader-tp22296416p22296416.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to