Alignment is a trip, let me tell you...
While I've played around with Inkscape, I'm definitely on the "writing XML" side of the fence in order to create what I need.
Alignment is a trip, let me tell you...
While I've played around with Inkscape, I'm definitely on the "writing XML" side of the fence in order to create what I need.
I know there is text anchor: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/t...
And someone suggested the foreignObject tag that might be useful here: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/for...
Recently, I've been using Standard Ebooks' toolkit to convert my Master's Defense into EPUB. SE uses SVG as its image format for covers - along with a few scaled JPGs. Unsurprisingly, all of this starts out as text and there is extensive use of text-anchor to get the alignment right.
Although they use XHTML as the primary input format, foreignObject is a concept I haven't encountered before, might be worth checking out...
https://standardebooks.org/contribute/producing-an-ebook-ste...
[0] GitHub link in profile.
Inkscape's alignment functions works for me. For things where I needed more precision, what I do is press ctrl+shift+x and type in the coordinates there. (Inkscape's XML editor seem to crash very often for me, but it's workable if I remember to save after every edit).
I know people use it and like it, but in trying to get something done in a way that would save time, this approach didn't really click for me.