安装字体 [英] install fonts

查看:94
本文介绍了安装字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装/运行应用程序时,是否有一种简单的方法来安装自己的字体?我正在使用ClickOnce安装/运行该应用程序.

我会使用privatefontcollection,但我有50-100个控件,我必须为其设置自定义字体,并且该选项对我的应用程序不是最有效的(除非有更简单的方法).

Is there an easy way to install your own fonts when installing/running an app? I am using ClickOnce to install/run the app.

I would use privatefontcollection but i have 50-100 controls i would have to set custom fonts for and that option isn''t the most efficient for my app (unless there''s an easier way).

推荐答案

如果您使用WiX创建MSI安装程序,则可以 ^ ]或如果您想在程序中执行此操作,请查看
If you are using WiX to create MSI installer you could do this[^] or if you want to do it from within your program look at this[^].


这篇关于安装字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆