unicode字体 [英] unicode font

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

问题描述

大家好,

现在,我正在开发unicode应用程序.它可以显示多国语言

默认情况下,VC6使用"MS Sans Serif"字体.某些字符在德语Windows中无法正确显示.但是在我的中文XP中,它可以正确显示.

有谁知道在所有本地化Windows中常见的unicode字体吗?


Hi All,

Now I am developing an unicode application. It can display multi-language

By default, VC6 use "MS Sans Serif" font. Some of characters cannot display correctly in German Windows. But in my Chinese XP , it can display correctly.

Does anyone know which unicode font are common in all localized Windows ?


Thanks!

推荐答案

字体是一组gliph绘制指令,用于以给定样式绘制某些字符集.

Unicode字符规范实际上扩展到21位(2''097''151个代码点).本地化很难显示任何内容.

通常,本地化安装的字体文件仅包含该语言本身和某些常用辅助语言"所需的字形.
通过在每个本地化安装中安装其他语言包",可以扩展每种字体.

如果要同时显示德语和中文,则需要一台同时安装了德语和中文语言包的PC.

而且-通常-对于具有系统交互作用的内容(例如对话框),请避免自己指定字体.只需使用系统提供的功能,因为每个用户可能指定了不同的首选项.

在您的系统上,显示是正确的,因为(显然)您拥有中文包,其中还包含"Latin-1"子集,这对于德语来说是必需的. (并且您也需要编程...)
但是(除非有人明确安装它),否则德国PC上没有安装Chines软件包.
A font is a set of gliph drawing instruction for painting certain set of character in a given style.

The unicode character specification actually extends to 21 bits (2''097''151 codepoints). It is quite hard that a localization can display anything.

Typically localized installation have fonts files that contains only the glyphs that are needed for the language itself and for some commonly used "collateral languages".

Each font can be extended by installing on every localized installation other "language pack".

If you want to display both German and Chinese, you need a PC that has both the German and Chinese language packs installed.

Also -in general- for things that have system interactions (like dialog boxes) avoid to specify yourself a font. Just use the one the system gives you, since each user may have specified different preferences.

On your system the display is correct because you have the Chinese pack (obviously) that also contains the "Latin-1" subset, that is required for German. (And is also required by you to program ...)
But (unless someone explicitly installed it) a German PC doesn''t have the Chines pack on it.


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

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