是否可以在Azure应用服务上安装字体? [英] Is it possible to install fonts on an Azure App Service?
问题描述
我们使用的是MigraDoc/PDFsharp GDI +,它依赖于将字体安装到系统上才能进行渲染.我们已经尝试嵌入字体,但是MigraDoc的GDI +版本似乎不支持此字体.
We are using MigraDoc/PDFsharp GDI+ which depends on having fonts installed to the system in order to render. We have tried embedding the fonts but the GDI+ version of MigraDoc does not seem to support this.
当尝试将此组件移动到Azure应用服务时,它找不到字体.有没有一种方法可以将字体本地安装"到App Service,以便GDI可以看到它们?
When trying to move this component to an Azure App Service, it cannot find the fonts. Is there a way to "install" the fonts locally to the App Service so that they would be visible to GDI?
推荐答案
我知道,依赖GDI API的组件可能无法在Azure Web APP上运行.我们可以在以下位置找到此已知问题: https://social.msdn.microsoft.com/Forums/en-US/6ed5c738-390a-4ca7-81d0-370124a4fc88/azure-websites-faq?forum=windowsazurewebsitespreview .目前,请尝试改用Azure Web角色或Azure VM.另请投票这个想法在Azure反馈论坛上.
As I know, Components rely on GDI API may not work on Azure Web APP. We could find this known issue at: https://social.msdn.microsoft.com/Forums/en-US/6ed5c738-390a-4ca7-81d0-370124a4fc88/azure-websites-faq?forum=windowsazurewebsitespreview. At currently, please try to use Azure Web role or Azure VM instead. Please also vote this idea on Azure feedback forum.
这篇关于是否可以在Azure应用服务上安装字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!