Skip to content

Chinese font glyph incorrectly rendered in MenuFlyout #10805

@HO-COOH

Description

@HO-COOH

Describe the bug

Using this xaml

    <Button>
        关闭
        <Button.ContextFlyout>
            <MenuFlyout>
                <MenuFlyoutItem
                    FontSize="20"
                    FontWeight="Bold"
                    Text="关闭" />
            </MenuFlyout>
        </Button.ContextFlyout>
    </Button>

Produce a super weird “关” in the MenuFlyout, compared with what is correctly rendered in Button
Image

Changing it to the same font size does not solves this issue.
Image

It's just seems to me that they are using a different glyph rendering path.

Why is this important?

Because font rendering is essential to look.

Steps to reproduce the bug

As OP.

Actual behavior

No response

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.8.1: 1.8.250916003

Windows version

Windows 11 (24H2): Build 26100

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageIssue needs to be triaged by the area owners

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions