There's a really simple solution here.  Render your word document as a
PDF and use PdfStamper to Add Stuff.

 

To address your question directly, lets first ass-u-me that you're using
100% zoom.

 

1) In PDF, we always use 72 DPI (dots per inch).

2) In windows, you can have a variety of DPIs, though 96 seems pretty
standard.

 

As such, I'd expect a point difference of 25% to match (15 point, not
13).  So this might not be the issue at all.

 

--Mark Storer

  Senior Software Engineer

  Cardiff.com

 

import legalese.Disclaimer;

Disclaimer<Cardiff> DisCard = null;

 

________________________________

From: Lu, Tao (MOH) [mailto:[email protected]] 
Sent: Wednesday, June 16, 2010 11:59 AM
To: [email protected]
Subject: [iText-questions] Compare font size with Word

 

Hi, Guys, 

Business gives me a Word template, I am supposed to produce a similar
PDF document using iText. The font size used in the Word is 12. 

If I similarly use font 12 in iText, the font size in the generated PDF
looks slightly smaller than the font size in Word document. It matches
better if I use font size 13 in iText. 

Anyone has any clue? 

Many thanks in advance! 

Regards, 
Tao 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.829 / Virus Database: 271.1.1/2937 - Release Date: 06/15/10
23:35:00


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to