How to enable the font for installing clickOnce

Is there any way to include the font in the clickOnce installation of the winforms application in visual studio. The program we are developing requires a font that is not installed by default on Windows.

+4
source share
3 answers

You can download the font to the res file and download it without installing it on your computer. See http://msdn.microsoft.com/en-us/library/ms753303.aspx and http://www.bobpowell.net/embedfonts.htm

+1
source

You can create an installation and deployment project to install the font and deploy it as a prerequisite for the ClickOnce application. You can turn it into a regular prerequisite using the Bootstrapper manifest generator to create a package of the necessary components, copy it to the VS package folder and it will appear in Visual Studio as a prerequisite.

+2
source

For those who stumble upon this in the future: there is a similar topic with more modern and more detailed answers to this problem - Embedding / deploying a custom font in a .NET application

0
source

Source: https://habr.com/ru/post/1299208/


All Articles