为什么标2不会出现在Windows XP上? [英] Why does subscript 2 not appear on Windows XP?

查看:142
本文介绍了为什么标2不会出现在Windows XP上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在一个.NET应用程序的静态文本控件中显示的二氧化碳,但在某些Windows XP系统,下标-2(UNI code 2082)显示为一个正方形)。我怀疑,因为它出现在某些Windows XP系统,但不是在所有可能的字体问题。它始终显示在Windows 7和Vista。它适用于MS哥特字体。理念非常欢迎。

I am trying to display CO2 in a static text control on a .NET application, but on some Windows XP system, the subscript-2 (unicode 2082) appears as a square). I suspect that it may be a font issue as it appears on some Windows XP systems but not on all. It always displays on Windows 7 and Vista. It's available on MS Gothic font. Ideas very welcome.

推荐答案

宋体的不包含统一code字符U + 2082,因此字形将只呈现为广场。为了解决这个问题,你需要使用的字符,其中U + 2082是可用的。

MS Sans Serif doesn't contain Unicode character U+2082, therefore the glyph will only be rendered as a square. To solve the problem you need to use a character where U+2082 is available.

您可以检查窗口的CHARMAP.EXE程序中的所有可用的字符。 MS UI哥特的例如含有这种性格,还有的的Segoe UI 宋体统一code MS 的。

You can check all available characters with Window's charmap.exe utility. MS UI Gothic for instance contains this character, as well as Segoe UI or Arial Unicode MS.

这篇关于为什么标2不会出现在Windows XP上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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