PDFsharp add private/installed font

蓝咒 提交于 2019-12-01 08:38:38

When using fonts with PDFsharp, make sure the font is a TrueType font (not a PostScript font).

Also make sure you write the font name correctly - as shown by the Font applet of Windows or as shown by Word.

You can use a private font collection to use fonts that are not installed on the computer. This should solve your "problem" with Windows Server 2008. Use the WPF build of PDFsharp.

The PDFsharp source package includes a full working sample that uses private fonts.
A code snippet can be seen here:
http://pdfsharp.net/wiki/PrivateFonts-sample.ashx

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!