S
S
skvoshiz2016-03-22 05:50:44
Programming
skvoshiz, 2016-03-22 05:50:44

Why are fonts not rendered by WPF?

Hello, I ran into this problem:
I want to use the "Roboto" fonts in the program, I added them to the resources, I designate them in the FontFamily,
03cfc4ee9f8448888d2506649f7dce66.PNG
but they are not displayed in the constructor.
But if you compile the program, then everything is OK:
26b84038526c4193ba7e08f154a7d86e.PNG
How to make these fonts displayed in the designer?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
skvoshiz, 2016-03-22
@skvoshiz

I understood what was the matter.
Fonts with the property "Font embeddability = Editable" are displayed in the constructor, but any others are not.
Because I have a font file with the property "Font embeddability = Installable" then they are not displayed.

N
Nikita, 2016-03-22
@Smiz001

I can assume that your font is not standard and most likely for this reason it does not show changes, with standard fonts everything changes normally in the designer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question