On 30/06/2011 16:52, Michael O'Donovan wrote:
> perfect thanks. Using GetFont and it giving me the font names, albeit pretty
> cryptic. Now just need to figure how to get font size (which seems pretty
> hidden to me).
That's because the font size that is defined in the PDF syntax may not 
be the font size that is shown.

Why not?
Because the graphics state has an impact on the size of the glyphs.
If the CTM is defined in a way that all glyphs are scaled to 50%,
and the font size is defined as 18pt, than the actual font size is 9pt.

So...
To have an idea about the font size, you need to make a guess
based on the values for the baseline, ascender and descender.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to