Re: [iText-questions] fixed width units for font
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:pierangelo.repe...@gmail.com] Sent: Monday, July 13, 2009 2:49 PM To: itext-questions@lists.sourceforge.net 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 Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. -- 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 iText-questions@lists.sourceforge.net 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/
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:pierangelo.repe...@gmail.com] Sent: Monday, July 13, 2009 2:49 PM To: itext-questions@lists.sourceforge.net 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 Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. -- 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 iText-questions@lists.sourceforge.net 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/ -- View this message in context: http://www.nabble.com/fixed-width-units-for-font-tp24462059p24467315.html Sent from the iText - General mailing list archive at Nabble.com. -- 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 iText-questions@lists.sourceforge.net 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/
Re: [iText-questions] fixed width units for font
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 abinst...@pacificdataworks.com To: itext-questions@lists.sourceforge.net 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:pierangelo.repe...@gmail.com] Sent: Monday, July 13, 2009 2:49 PM To: itext-questions@lists.sourceforge.net 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 iText-questions@lists.sourceforge.net 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/