Inkscape.org
Beginners' Questions Improper Positioning of Vertical Text
  1. #1
    bluentity bluentity @bluentity

    I'm trying to make an .svg that incorporates text with a vertical block progression; it involves no external sources.  The position of the text appears differently in Inkscape and in a browser.  The text is Chinese, although the problem appears regardless of language.  I'm using Inkscape 1.2.2 on Windows x64.  The upgrade was recent (an attempt to see if this fixed my problem) but I had 1.1 installed for about two years previously.

    The problem is that the position of vertical text shown in the Inkscape editor does not match browser rendering.  I have attached a .svg showing the problem: the text appears inside the red rectangle in Inkscape, but not when displayed in a browser.  I have tried Edge, Firefox, and Chrome; they all give the same result.  Am I missing something, or is this a bug?  I've been a casual Inkscape user for a few years.  I'm currently using v1.2.2 but upgraded from a v1.1 version to see if this fixed my problem.

    I have found some issues related to browser text rendering in documentation and on this forum, but they propose two solutions: unflow the text (doesn't work) and text to path (this does work, but isn't acceptable for what I'm doing).  Align controls don't work either.  I can still go into an external editor and manually change the xy positions of the text boxes to put them in the right place, but...this is very tedious, and obviously not the intended functionality. Changing header information in Inkscape (saving as plain or optimized) doesn't matter either.

    I've attached an svg that displays the issue; all of the text should be inside the red box.  It's intended to show that the problem is reliant only on the text block progression, not the character set.  Note that the Chinese and Latin vertical text uses vertical-rl and vertical-lr progression respectively; the unintended browser offset is the same in either case.  As mentioned, using flow boxes or not didn't alter this behavior either.

     

    Texttest
  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    As it currently stands, whenever a different version of Inkscape is installed, the preferences should be reset and Inkscape re-launched.

    https://inkscape.org/forums/questions/getting-back-to-square-one-and-starting-over-its-easy/

  3. #3
    bluentity bluentity @bluentity

    I did reset and re-launch, the problem persists even when I re-created a file from scratch.

    Texttest2
  4. #4
    Tyler Durden Tyler Durden @TylerDurden

    It seems to work as expected if the SVG2 flow text is disabled in the preferences. New text must be created, the existing text does not seem to be affected.

  5. #5
    bluentity bluentity @bluentity

    It didn't work at first, but when I completely restarted Inkscape this did seem to do the trick.  It looks like there might still be a slight offset from the centered alignment but it's acceptable. 

    Texttest4
Inkscape Inkscape.org Inkscape Forum Beginners' Questions Improper Positioning of Vertical Text