How can I use custom font in DirectWrite?

thebluetropics 1,046 Reputation points
2022-11-12T10:42:04.733+00:00

I need to put a font inside my executable and use it with DirectWrite, in short, how can I use custom font in DirectWrite?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,715 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,834 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 86,501 Reputation points
    2022-11-12T11:59:24.023+00:00

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.