getExentOfChar

rm <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
hi,

why can i not get the extent of a space  (" ") character that is alone by itself in a text node? i am getting this:

Caused by: org.w3c.dom.DOMException: 
	at org.apache.batik.dom.AbstractNode.createDOMException(AbstractNode.java:411)
	at org.apache.batik.dom.svg.SVGTextContentSupport.getExtentOfChar(SVGTextContentSupport.java:57)
	at org.apache.batik.dom.svg.SVGOMTextContentElement.getExtentOfChar(SVGOMTextContentElement.java:219)

the background for this is - since i was having kerning problems, and i can actually do without kerning at all, 
so i thought i could just do the positioning manually. but if place the glyphs one by one, i cannot figure out
the extent of spaced (aside from breaking all kinds of scripts, i.e. korean wouldnt work like this, i guess).

so … any suggestions? how can i place glyphs AND know WHERE EXACTLY they are? 

.rm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.