SSRS 2019未显示最近在Windows Server 2019中导出到PDF时安装的字体类型
目前,当导出模板/报告服务器中的PDF时,我的面向字体类型无法正确显示。
我在Windows Server 2019中安装了SSRS 2019,并在服务器中安装了新字体。
但是,当SSRS 2019中的模板/报告导出时,新字体不会正确显示。 我还通过在Windows 10中的本地设置SSRS 2019进行比较,当导出相同的模板/报告到PDF时,没有问题。
有人对此有任何想法吗?
提前致谢。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
删除c-> windows-> fonts中的已安装的.ttf文件..右键单击下载的.ttf文件.. select install for All Users.restart .. Restart系统
单击此处
delete the installed .ttf file in c->windows->fonts.. Right click on downloaded .ttf file ..select install for all users..restart the system
click here
当应用以下条件时,将字体嵌入PDF文件中:
字体嵌入特权由字体作者授予。安装的字体包括一个属性,该属性指示字体作者是否打算允许嵌入文档中的字体。如果属性值embed_noembedding,则该字体未嵌入PDF文件中。有关更多信息,请参见msdn.microsoft.com上的“ ttgetembeddingtype”。
该字体是trueType。
报告中可见项目引用字体。如果将隐藏属性设置为true的项目引用字体,则不需要字体显示渲染的数据,并且不会包含在文件中。仅在需要显示渲染报告数据时才嵌入字体。
如果为字体满足所有这些条件,则字体嵌入到PDF文件中。如果未满足其中一个或多个条件,则该字体未嵌入PDF文件中。
https://learn.microsoft.com/en-us/sql/reporting-services/report-builder/report-builder/exporting-to-porting-to-a-pdf-file-report-report-report-report-report-builder-builder---和ssrs?view = sql-server-ver15
Fonts are embedded in the PDF file when the following conditions apply:
Font embedding privileges are granted by the font author. Installed fonts include a property that indicates whether the font author intends to allow embedding a font in a document. If the property value is EMBED_NOEMBEDDING, the font is not embedded in the PDF file. For more information, see "TTGetEmbeddingType" on msdn.microsoft.com.
The Font is TrueType.
Fonts are referenced by visible items in a report. If a font is referenced by an item that has the Hidden property set to True, the font is not needed to display rendered data and will not be included in the file. Fonts are embedded only when they are needed to display the rendered report data.
If all of these conditions are met for a font, the font is embedded in the PDF file. If one or more of these conditions is not met, the font is not embedded in the PDF file.
https://learn.microsoft.com/en-us/sql/reporting-services/report-builder/exporting-to-a-pdf-file-report-builder-and-ssrs?view=sql-server-ver15