加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

如何使资源DLL描述设备字体?

发布时间:2020-12-14 02:18:27 所属栏目:Windows 来源:网络整理
导读:我正在构建的目标驱动程序不是本机驱动程序,而是使用Microsoft Universal Pinter Driver的微型驱动程序 根据DDK: Descriptions of these items [fonts in my case] are placed in a resource DLL,as described in the Platform SDK documentation. 然后继续
我正在构建的目标驱动程序不是本机驱动程序,而是使用Microsoft Universal Pinter Driver的微型驱动程序

根据DDK:

Descriptions of these items [fonts in my case] are
placed in a resource DLL,as described
in the Platform SDK documentation.

然后继续说:

In the printer’s resource DLL,specify
.ufm files by using the RC_UFM
resource type,and specify .ifi files
by using the RC_FONT resource type.

尽管引用了SDK,但没有关于如何在资源dll中实际放置.ifi字体信息的信息.

任何人都可以指出一种方法来做到这一点?

编辑

是的,打印机包含常驻字体,我需要创建一个描述它们的资源文件.

到目前为止,我遇到了另一个障碍,因为显然你必须编译到你的资源dll的字体描述文件是.ifi(即使DDK说他们可以),他们只是不工作.但它可以找到.ufm字体描述文件.
问题是我们只有ifi文件描述设备字体但没有umf …

有什么建议?

解决方法

转到ufm文件,使用print MDT(窗口DDK)构建ufm并将其条目放入资源文件中

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读