[iText-questions] Font size and width between characters

2007-02-21 Thread David Allen
Hi all, I have 2 questions. Is there a way to convert the font size in mm to pt. I have a pdf file that has font size of 2.55mm and I need to know the equivalent in the pt system. Also, i am using the futura font and one of the requirements is that for a particular heading at the top of the

Re: [iText-questions] Font size and width between characters

2007-02-21 Thread porcupine
if you assume a dpi value for your document eg 72 dpi you can calculate your font pt size, you would get 7.23pt As for tracking, if you place text in a template you can set template.setCharacterSpace(x) This shows you how to use a template

Re: [iText-questions] Font size and width between characters

2007-02-21 Thread mister bean
With just slightly more detail: there are 72 points per inch and 25.4 mm per inch. So, each mm = 2.83 points and your 2.55mm is 7.23 pt as porcupine points out. ---Mister Bean porcupine wrote: if you assume a dpi value for your document eg 72 dpi you can calculate your font pt size, you