I'm developing an application using wxWidgets 3.1.6 in Visual Studio 2022 on Windows 10. I have no plans on making the app cross-platform, so Windows-only solutions are fine.
My app uses a custom font that most likely won't be available on the end-user's system, so I'm distributing it with the app. I know I can deploy it alongside the executable and use wxFont::AddPrivateFont() to make it available to the application. However, I'd like to embed the font into the executable using the RC file. Is it possible to load the embedded font and make it available to the application?
Thanks.
Possible to load font defined in .rc file?
-
- Experienced Solver
- Posts: 74
- Joined: Sat May 06, 2017 1:40 pm