Trying to embed custom font in WinForms project
I'm currently trying to embed the 'Rubik' font onto a WinForms project following the steps on the correct answer in this SO post: https://stackoverflow.com/questions/556147/how-do-i-embed-my-own-fonts-in-a-winforms-app
I include the font non the Resource Explorer of the project and then mark the generated .ttf on resource as an Embedded Resource but then the project doesn't build due to the error 'Could not find a part of the path
D:\Documents\Workspace - C#\FactuCrossing\FactuCrossing\Properties\Resources\Rubik-VariableFont_wght.ttf
and why is this?Stack Overflow
How do I embed my own fonts in a WinForms app?
I want to embed fonts in my WinForms application so that I don't have to worry about them being installed on the machine. I've searched a bit on the MSDN site and found a few hints about using native
1 Reply
I just moved the
Resources
folder onto Properties and it worked