https://issues.apache.org/bugzilla/show_bug.cgi?id=50723
--- Comment #2 from Jeremias Maerki <[email protected]> 2011-02-10 11:49:05 EST --- It's a bit of both actually. See my comment on TTFFile.determineAscDesc(). I've had to come up with some tricks to determine the best possible values for most fonts. But Alexander now has some fonts where this doesn't work. I've spent hours trying to improve this and I don't know if there's a better solution. If anyone has one, I'm thankful but please do extensive tests with as many fonts as possible! The part that is a FOP issue is the determination of the underline position (and thickness). We currently use a formula based on the baseline, ascender and descender. See AbstractPathOrientedRenderer.renderTextDecoration(). Some fonts (TrueType and Type 1) provide the desired position and thickness of the underline (but not strike and overline). Ideally, we would of course use that. If these values are reliable is, of course, another question again. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
