<!--
See our full bug reporting guidelines at https://inkscape.org/contribute/report-bugs/
Writing a good bug report will ensure we'll be able to help efficiently. 🙂
-->
#### Summary:
<!-- Summarize the issue/suggestion concisely: -->
In 1.4.3 right-aligned text appeared all the way at the right end of the text box, in 1.4.4 there's a gap for all lines that have a "line" after them, even if it's only a newline character.
#### Steps to reproduce:
<!-- Describe what you did (step-by-step) so we can reproduce: -->
- Open Inkscape
- Create a text box (T tool) that is tall and skinnyish
- Set alignment to right-aligned
- Type 1, 2, 3, 4 on separate lines
#### What happened?
The text is correctly positioned until the enter key is hit, then it moves to the left.
#### What should have happened?
The text should stay all the way to the right as it did in 1.4.3
Sample attachments:
<!-- Attach the sample file(s) highlighting the issue, if appropriate. -->
{width=311 height=574}
SVG example:
{width=464 height=600}
#### Version info
<!--
Open 'Help > About' and click on the little bug icon in the bottom right corner that copies the debug information to your clipboard. For command line users, run 'inkscape --debug-info'.
For Inkscape 1.0.2 and older, please manually add the Inkscape Version and Operating System Version. The Inkscape version is listed in the About dialog. For command line users, run 'inkscape -V'
Paste the information in the empty space between the apostrophes below:
-->
```
Inkscape 1.4.4 (dcaf3e7, 2026-05-05)
Compile (Run)
GLib version: 2.86.3
GTK version: 3.24.51 (3.24.51)
glibmm version: 2.66.8
gtkmm version: 3.24.10
libxml2 version: 2.15.1
libxslt version: 1.1.45
Cairo version: 1.18.4 (1.18.4)
Pango version: 1.56.4 (1.56.4)
HarfBuzz version: 12.2.0 (12.2.0)
OS version: Windows 10 22H2
```
<!--
❤️ Thank you for filling in a new bug report, we appreciate the help! ❤️
Please be patient while we try to find the time to look into your issue.
Remember that Inkscape is developed by volunteers in their spare time, we'll try our best to respond to all reports.
-->
<!--
Please be careful when/after writing # for example in logs, code, or versions of linux
- use inline code span - single backticks (`) before and after it, like this - `#1618`
- use multi-line code block - triple backticks (```) to fence/enclose console logs
- attach long logs as a text file.
-->






















