27 Jul
2006
27 Jul
'06
6:21 p.m.
Does anyone have an idea how I could get the exact glyph positions used by libnrtype to render glyphs? [I could only come up with crazy ideas like calling Layout::show with a prepared nr_arena and then extracting the glyphs later from that nr_arena]
Is Layout::characterAnchorPoint() (http://inkscape.modevia.com/doxygen/html/classInkscape_1_1Text_1_1Layout.php...) what you're after?
If not, could you describe more accurately which position you do want?
You may have noticed that the current printing support is built in to the Layout class (Layout::print()), so I wouldn't be at all surprised if there isn't enough information available on the outside to do what you're trying to do.
Richard.