Skip to content

Font Family Import not Working #3124

Open
@hamzaanjum

Description

@hamzaanjum

I have added Montserrat font in my project. I have tried every possible way to import the font (all variants as a single resource, so I can use font weight property later on).

<FontFamily x:Key="Montserrat">Montserrat*,Montserrat Alternates*,ms-appx:///Fonts/Montserrat-Regular.ttf#Montserrat</FontFamily>

Only the last method (with the full URI to a single font file) worked, but this isn't something I want. Because when I use this FontFamily in any TextBlock control, then the FontWeight Property is not working anymore.

Metadata

Metadata

Assignees

Labels

Pri3support-requestA support-style question where the customer needs help solving a problem.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions