Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong font for unpackaged WinUI 3 apps on Japanese systems #8360

Open
enitimeago opened this issue Apr 4, 2023 · 2 comments
Open

Wrong font for unpackaged WinUI 3 apps on Japanese systems #8360

enitimeago opened this issue Apr 4, 2023 · 2 comments
Labels
bug Something isn't working team-Markup Issue for the Markup team

Comments

@enitimeago
Copy link

enitimeago commented Apr 4, 2023

Describe the bug

Running an unpackaged WinUI 3 app on Windows 10 and Windows 11 set to Japanese does not use Segoe UI for rendering English text.

When running as packaged, English text uses Segoe UI as expected.

Steps to reproduce the bug

  1. Set system default language to Japanese
  2. Clone and open the Sample.WinUI project in https://github.com/enitama/XamlPlus.WinUI
  3. Run "Sample.WinUI (Packaged)", notice English text renders using Segoe UI
  4. Run "Sample.WinUI (Unpackaged)", notice English text renders using a different font (possibly Meiryo UI?)

Expected behavior

App when unpackaged should still use Segoe UI for English text.

Screenshots

Packaged:
スクリーンショット 2023-04-04 022525

Unpackaged:
スクリーンショット 2023-04-04 234837

NuGet package version

WinUI 3 - Windows App SDK 1.2.5: 1.2.230313.1

Windows version

Windows 10 (20H2): Build 19042
Windows 11 (22H2): Build 22621.1413

Additional context

No response

@enitimeago enitimeago added the bug Something isn't working label Apr 4, 2023
@enitimeago enitimeago changed the title Unpackaged WinUI 3 app on Japanese system not using Segoe UI Wrong font for unpackaged WinUI 3 apps on Japanese systems Apr 5, 2023
@enitimeago
Copy link
Author

enitimeago commented Apr 8, 2023

I've reproduced this issue on Windows 11 22H2 as well, updated the details above.

@sotanakamura
Copy link

sotanakamura commented Apr 10, 2023

Packaged app uses Segoe UI, packaged app with "Language=jp" uses Yugothic UI, unpackaged app uses Meiryo UI, and self contained unpackaged app uses YuGothic UI.

@bpulliam bpulliam added the team-Markup Issue for the Markup team label Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team-Markup Issue for the Markup team
Projects
None yet
Development

No branches or pull requests

3 participants