Search found 1 match
- Tue Jul 28, 2015 2:49 am
- Forum: JFreeSVG
- Topic: FontMetrics' getHeight() doesn't behave accurately
- Replies: 1
- Views: 30017
FontMetrics' getHeight() doesn't behave accurately
I would like to layout a string in an SVG image. FontMetrics' getHeight() method allows me to compute the height of a character in my string and the stringWidth() method allows me to compute the total width. Using these values, it is straightforward to compute the height of the drawing area needed, ...