xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm <ruben.malc...@googlemail.com>
Subject getExentOfChar
Date Thu, 08 Nov 2012 00:30:03 GMT


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? 


View raw message