Skip to content

MenuItem header text: Japanese characters are rendered lower than Latin characters when mixed #18881

Closed
@Cheesecake2960

Description

@Cheesecake2960

Describe the bug

When Japanese characters (Hiragana, Katakana, Kanji) are used together with Latin characters in a MenuItem's Header, only the Japanese characters are rendered slightly lower. This creates a visual misalignment within the same string, affecting the consistency of the menu appearance.

To Reproduce

  1. Create a MenuItem and set its Header to a string that includes both Japanese and Latin characters (e.g., "File(ファイル)", "編集 (Edit)").
  2. Run the application on macOS.
  3. Observe that only the Japanese characters appear slightly lower than the Latin characters in the same line.

Bug-Screenshot

Expected behavior

Japanese and Latin characters should be vertically aligned consistently when used together in the same Header.

Avalonia version

11.3.0

OS

macOS

Additional context

OS (no issue observed): Windows 11

(I can't speak English. I'm using translator.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions