vertical upright text (text-anchor middle/end) rendered at wrong position
I never see vertical text rendered by any program I used so far (Firefox, IE, Edge, electron) at the position I placed it in Inkscape. To illustrate it I created a simple svg-file in Inkscape and opened it with various SVG renderer (see attached file)
Steps to reproduce
- open minimal file test_text.svg in Inkscape
Steps to recreate minimal file
- open Inkscape
- draw a horizontal line and two vertical lines
- write some sample text
- edit style in XML editor: add
text-anchor:middle;text-align:center
ortext-anchor:end;text-align:center
- change x and y coordinate of the text to the crossing of the horizontal and the first vertical line
- duplicate text
- edit style in XML editor: add "writing-mode:tb-rl;text-orientation:upright"
- change x and y coordinate of the text to the crossing of the horizontal and the second vertical line
What happened?
The text anchor of the vertical text is displayed in Inkscape but not where it is specified by the given coordinates. All other renderers I tried so far place the text right on the two crossing lines.
Browser (svg) | 0.92.5 | 1.0 |
---|---|---|
Inkscape Version and Operating System:
- Inkscape Version: 1.0 (4035a4fb, 2020-05-01, appImage)
- Operating System: Linux
- Operating System version: openSUSE 15.1
Edited by Nathan Lee