dotnet / dotnet/wpf

There is no SemiLight FontWeight in FontWeights, and because of this it displays as '350'

Open
#5,660 0 comments 0 reactions 0 assignees View on GitHub
Enhancement Requested
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://developercommunity2.visualstudio.com/t/There-is-no-SemiLight-FontWeight-in-Font/1179606)._

---

There is no System.Windows.FontWeights.SemiLight, and because of this it displays as '350' when use ToString() method of System.Windows.FontWeight instance in my WPF project.

Also I cannot manually get instance of SemiLight FontWeight.

The only way to get this font weight (as I know) is to use FontFamily.GetTypefaces() with font which contains typeface with this FontWeight.

Image:file?name=B15c4139d9cae407f827754804af56ef1637494522074110250_qy9xu.png&tid=15c4139d9cae407f827754804af56ef1637494522074110250

Additinal information:


  • .NET Framework 4.6.2 used

---
### Original Comments

#### Feedback Bot on 9/10/2020, 03:43 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.

#### Feedback Bot on 1/19/2021, 00:08 AM:

I detected that this issue hasn’t received a lot of activity, votes, or comments in the past 90 days. Based on this, the issues severity and affected area, it’s my experience that this issue is unlikely to get fixed. To improve the situation, consider following best practices for quality problem reports, and giving us more details on how this issue is impacting you.

---
### Original Solutions
(no solutions)

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.