简体   繁体   English

如何在Azure App Service中安装自定义字体

[英]how to install custom font in azure app service

We are using asp.net web api for converting MS word to pdf which are using custom fonts 我们正在使用asp.net Web API将MS Word转换为使用自定义字体的pdf

and these asp.net web api had to be deployed in azure app service. 而这些asp.net Web API必须部署在azure应用服务中。

How this can be feasible? 这怎么可行?

Apps deployed in App Service run in a sandbox with limited access to the OS so it's not possible to install fonts as you would do on your desktop. 在App Service中部署的应用程序在沙箱中运行,并且对操作系统的访问权限受到限制,因此无法像在台式机上那样安装字体。 Also, keep in mind that many PDF libraries don't work because they rely on GDI functions that are not available in the sandbox. 另外,请记住,许多PDF库无法使用,因为它们依赖于沙箱中不可用的GDI功能。 The solution is to use a VM. 解决方案是使用VM。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM