in general, it is best to instruct the rendering engine to decide how to align objects, rather than to compute the exact coordinates yourself.
"text-anchor" (start, middle, end) should take care of horizontal align in <text>, but vertical align is going to be difficult since 4D does not support "dominant-baseline" or "alignment-baseline". if you decide to go down the "y" or "dy" route, well, I guess it's going to be an uphill struggle. have you considered using <TextArea> instead of <text>? you have "display-align" (before, center, after) for vertical align and "text-align" (start, center, end) for horizontal align. p.s. I love how they say start/end, before/after instead of left/right (because of right to left scripts) and decisively use middle instead of center with respect to the subject (align or anchor)... 2017/03/25 10:21、truegold via 4D_Tech <[email protected]<mailto:[email protected]>> のメール: If so then yes it is one of the parameters being sent into SVG_New_text command. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

