What I said is valid for 1 point font. It must be multiplied with the font size to get the final result. My answer was incomplete.
Paulo ----- Original Message ----- From: "mister bean" <[email protected]> To: <[email protected]> Sent: Monday, July 13, 2009 7:55 PM Subject: Re: [iText-questions] fixed width units for font > > Paulo: > > Are you sure this is right? Here's an excerpt from Bruno's book, (p. 229): > > "In glyph space, 1000 units corresponds with 1 unit in text space. For > instance, for a 12-point font, 1000 units corresponds with 12 pts." > > Thanks in advance for any clarification. > > ---mr. bean > > > Paulo Soares-3 wrote: >> >> 1000 units corresponds to 1 unit in text space. 1 unit in text space is >> 1/72 inch. >> >> Paulo >> >>> -----Original Message----- >>> From: p_repetti [mailto:[email protected]] >>> Sent: Monday, July 13, 2009 2:49 PM >>> To: [email protected] >>> Subject: [iText-questions] fixed width units for font >>> >>> >>> Hello >>> >>> I am looking at the "Fixed Font Width" example presented in >>> the web site >>> tutorial. I just can't figure out what the value assigned to >>> the width array >>> stands for (1000). I guess it can't be in PDF units, since it >>> would then >>> result into 1000/72=13.88 inches and that looks absurd when >>> looking at the >>> resulting PDF. >>> In what units is it expressed ? >>> >>> Thanks >>> Pierangelo ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/
