I believe I’ve found a bug regarding text rendering in Dorico.
When using OpenType features to enable proportional width (such as palt/Proportional Alternate Widths) in Font Styles, Dorico incorrectly adds an extra, unwanted space at the very end of the Japanese text string.
Thank you for your reply. I have attached the project file, though it might not be fully meaningful on its own, so please use the following steps to reproduce the issue from scratch:
Open the Edit Font Styles dialogue and set the font for Horizontal Line Font to a Japanese font (e.g., ‘Noto Sans JP’). Leave the OpenType Features blank for now.
Add a horizontal line to the score and input some Japanese text (Hiragana or Katakana) in the line text. If you don’t have a Japanese input environment, please copy ううううう.
Reopen the Edit Font Styles dialogue and enable ‘Proportional Alternate Widths’ (palt) in the OpenType features for Horizontal Line Font.
The characters will now become proportional and narrower, but the overall bounding box/width of the text string remains unchanged, causing the text to look shifted to the left (leaving an extra space at the end):