Hi, I am trying to use iText v0.98, for PDF document generation. I am using Graphics2D feature for rendering. My requirement is that, I should be able to generate the PDF even in the absense of X11 server on Linux platform. I made few changes to the source code, so as to stop instantiation of java.awt.Font and FontMetrics. Instead I have added dummy classes, that will be asked for this information in the absense of X11 server. I have used BaseFont.getWidth(String text) API in the absense of X11 server and it worked just fine. But now I am stuck with APIs related to height calculations like getAscent(), getDescent(), getHeight(). While going through the code, I found that a lot of handling is present for width calculations, involving some hmtx table in TrueTypeFont. So, I want to know how to get the height related information from the font file, something similar to hmtx table maybe? Thanks, Nikhil Khedkar
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions