检测字形出现在任何字体 [英] Detecting glyphs occurrences in any fonts

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

问题描述

我正在写一个小的.NET应用程序,可以产生SWF文件,我需要支持统一code字型。我不知道它和字体渲染的东西好,我是这么理解而写我的应用程序,我做了一些失误:安装在我的Windows不支持统一code字符的字体,所以我可以看到空心广场改为只字形。我的猜想是使用适当的字体替换,而渲染SWF文件可能包含嵌入的字形。首先,我必须确定字形是否是present在必要的字体。我发现一个<一个href="http://stackoverflow.com/questions/103725/is-there-a-way-to-programatically-determine-if-a-font-file-has-a-specific-uni$c$c">partial这里这样的测试解决方案,但它似乎并没有成为我想要实现的,因为样品的操作统一code中的东西只不等。但我关注的Windows字符映射应用程序:它可以隐藏缺少的字形。我试图探讨如何字符映射不带的Dependency Walker检查,以分析其导入表,但我没有发现任何东西,而不是一些GDI +的字体功能。我不知道该怎么办,我很困惑。 :(

I'm writing a small .NET application that can produce SWF files, and I need to support Unicode fonts. I don't know the things on it and font rendering well, so I understand that I've made some blunders while writing my application: many fonts installed on my Windows don't support Unicode characters so I can see hollow squares only instead of the glyphs. My supposition is using of proper font substitution while rendering the SWF files that could contain embedded glyphs. First of all, I must determine whether a glyph is present in the necessary font. I've found a partial solution of such test here, though it doesn't seem to be the thing I want to achieve because the sample operates for Unicode ranges only. But I've paid attention on Windows' Charmap application: it can hide missing glyphs. I tried to explore how charmap does the check with Dependency Walker to analyze its import table, but I didn't find anything instead of some GDI++ font functions. I don't know what to do and I'm very confused. :(

请建议的方向,我应该看在了。这可能是一个WinAPI的或.NET 2.0(即使不是.NET 3.0)的建议。谢谢你。

Please suggest the direction I should look in for. It could be a WinAPI or .NET 2.0 (not even .NET 3.0) suggestion. Thanks.

推荐答案

其实我已经找到了解决方案的的 $ C $的CProject 自己。

Actually I've found the solution at the CodeProject myself.

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

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