dotnet / dotnet/wpf

WPF UI not rendering font to correct font weight and italicising unexpectedly

Open
#10,473 5 comments 0 reactions 0 assignees View on GitHub
:mailbox_with_no_mail: waiting-author-feedback Needs minimal repro project
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/WPF-UI-not-rendering-font-to-correct-fon/10851396)._

---
[severity:It bothers me. A fix would be nice]
Hello. I am trying to add font weight on text in a TextBlock but whenever I make it Bold in the <Style> the UI shows it as a regular italics font for some reason. I even tried using the bold ttf file and it still repeats this behaviour. Please help.

---
### Original Comments

#### Feedback Bot on 18/2/2025, 10:26 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.