如何在不同的计算机上维护Windows应用程序的字体 [英] How to maintain font for Windows Application on different machines

查看:91
本文介绍了如何在不同的计算机上维护Windows应用程序的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的笔记本电脑中,我制作了一个Windows窗体应用程序并使用了Digital-7字体样式。这个应用程序是在Visual Studio 2010上制作的。接下来我使用名为Advanced Installer的软件创建了我的应用程序的.msi文件。当我在我的电脑上安装应用程序并以.exe运行时,字体样式完全改变。



这是图像



这是图片在我的电脑里。



我的问题是如何解决这个问题对于不同的操作系统和机器?

In my laptop , I have made a windows form application and used "Digital-7" font style.This app is made on Visual Studio 2010.Next I created a .msi file of my app using a software called "Advanced Installer".When i installed the app in my computer and run it as .exe the font style is completely changed.

This is the form image in my laptop.

This is the form image in my pc.

My question is that how do i resolve this for different OS and machines?

推荐答案

Digital-7不能是字体样式。可能这是一些字体。



永久安装字体会过于干扰,即使你在安装过程中这样做并在安装过程中删除,因为某些用户可能会使用你的字体。您最好在应用程序中嵌入字体。



例如,请参阅此CodeProject文章:将字体嵌入资源 [ ^ ]。



-SA
"Digital-7" cannot be a "font style". Probably, this is some font.

Installing a font permanently would be too intrusive, even if you do it in your setup and remove during your installation, because some user may use your font. You should better embed a font in your application.

See, for example, this CodeProject article: Embedding Font To Resources[^].

—SA

这篇关于如何在不同的计算机上维护Windows应用程序的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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