如何从系统中检索动态字体 [英] How to retrieve dynamic fonts from the system

查看:105
本文介绍了如何从系统中检索动态字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试很清楚地陈述我的问题.

我想检索一组字体.在系统的默认字体目录中找不到它们,并且它们的路径未在注册表中写入或设置.但是它们仍然显示在任何编辑器的字体对话框中.实际上,为了查看具有这些字体的文档,必须在Internet Explorer中安装Bitstream的播放器插件.只要打开页面,字体就会显示在字体对话框中,但是在IE窗口关闭时消失.我可以将这些字体嵌入到pdf文件中,但不能完全嵌入,而是作为一个子集.我需要获取那些字体.

有谁有主意吗?

我再说一遍,那些字体是由IE中的activex控件显示的.它们是动态字体.在网页中,它们的链接以PFR文件的形式给出.但我想将它们用作ttf.

I am trying to state my problem very clearly.

I want to retrieve a set of fonts. They are not found in the System''s default font directory, and also their path is not written or set in the registry. But still they are displayed in the font dialog box of any editor. Actually, in order to view documents with those fonts, one must install Bitstream''s player plugin in Internet Explorer. As long as the page is open the font is shown in the font dialog, but disappears when IE window is closed. I can embed those fonts in a pdf file, but not fully, but as a subset. I need to get those fonts.

Does any one have any idea?

I repeat, those fonts are displayed by an activex control in IE. They are dynamic fonts. In the webpage, their links are given as PFR files. But I want to use them as ttf.

推荐答案

尝试使用此类:

System.Drawing.Text.InstalledFontCollection
try to use this class:

System.Drawing.Text.InstalledFontCollection


这篇关于如何从系统中检索动态字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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