How to create custom font and use? #353
Answered
by
qwerty1874
qwerty1874
asked this question in
Q&A
-
I tried reading Microsoft's samples. I don't know cpp and I don't know if this is the right thing to do.
But the result is wrong. This font must be installed? |
Beta Was this translation helpful? Give feedback.
Answered by
qwerty1874
Aug 31, 2022
Replies: 1 comment
-
When I read msdn again, I found that I should use the created font collection, not system font collection. I used to think Correct about this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
qwerty1874
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I read msdn again, I found that I should use the created font collection, not system font collection. I used to think
CreateTextFormat
could search all font collection, only need toAddFontFile
.Correct about this: