How do I Embed a font with my C# application? (using Visual Studio 2005)

后端 未结 4 1225
刺人心
刺人心 2020-11-30 09:11

What is the best way to embed a truetype font within the application i\'m developing? Basically i want to make sure a particular font is available to my application when ins

4条回答
  •  [愿得一人]
    2020-11-30 09:42

    This blog post should help you.

    Basically you add the font as an embedded resource then load it into a PrivateFontCollection object.

提交回复
热议问题