I'm attempting to underline some text. >From what I can see, PDF itself doesn't have too much to offer in the region. InDesign and other applications seem to simply draw a line underneath the word. Doing this is a bit of a hassle, but certainly doable with a little work.
What I don't see is how to determine where the underline should be positioned relative to the baseline and what the thickness should be. Peeking around the source I saw that the PostScriptTable class has getUnderlinePosition and getUnderlineThickness methods to which sound promising but I can't figure out how to get there from PDTrueTypeFont. In short, how do I draw underlines? Thanks