|
I'm using Batik directly in a Java program to
create charts and graphs via SVG and transcoding them into PNG files.
However, one of the problems I constantly face is how to determine the exact
size of a text string. For instance, when drawing a legend, I need to know
the size of the legend in order to properly size the graph next to
it.
How do I solve this problem? Is there a way
to do it directly in SVG? Is there an API in Batik that I can call to get
the width of a string in a given font and size?
Any help would be much appreciated!
Scott
|
- Re: Text size Scott Moore
- Re: Text size Vincent Hardy
- RE: Text size Scott Moore
- Re: Text size Vincent Hardy
- Re: Text size Chris Lilley
- Re: Text size Scott Moore
- Re: Text size Chris Lilley
- Re: Text size Chris Lilley
- RE: Text size Scott Neufeld
- Re: Text size Bill Haneman
- RE: Text size Scott Moore
