You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by jc...@grenat.com on 2000/09/08 17:57:49 UTC
String width with any font and size
Hi,
I develop a class which creates some svg nodes in a Document. Some of them
are "svg:text".
The attribute style is set with any font and size.
I need to know if there is a mean to get the width of a string for
positionning it correctly.
Of course the width must care of font and size.
Is it possible to get that information programmatically and how ?
Have you got some example ?
Thanks in advance.