Justifying text cuts off part of the letters on the right side
Environment/Versions
- GIMP version: 2.10.30 and 2.99.8
- Package: Gimp.org installer
- Operating System: Windows 10
Description of the bug
Justifying text makes it place the rightmost letter partly outside the text box, cutting it off. Only apparent on some fonts such as Trajan Pro.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Make a new image
- Use the text tool to write a paragraph or two. (text with several lines improves the odds of the bug visualizing)
- Change the Text tool option to Justify.
…
Expected result: All text and letters fit fully inside the text box
Actual result: Some letters on the far right extend beyond the text box, cutting them off.
Additional information
The issue seems to become easier to detect when using Italic fonts.
Above: Text with left alignment, all letters look correct. (Trajan Font)
Above: Engaging Justified text moves the R on the right too far, moving it party outside the text box and cutting it off.
Above: Zoomed on the R.
Above: Same effect seen on Serif_Bold_Italics font.