在AWS Lamba上安装新字体 [英] Install a new font on AWS Lamba

查看:113
本文介绍了在AWS Lamba上安装新字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在AWS Lambda上安装Imagemagick,看来Imagemagick通常使用的字体未预安装,如何添加其他字体?

I'm installing Imagemagick on AWS Lambda and it appears that the fonts that Imagemagick normally uses aren't preinstalled, how can I add additional fonts?

推荐答案

您不能.

您甚至可以在Lambda上使用Imagemagick的原因是因为AWS Lambda团队已在其容器上预安装了该库.

The reason you can even use Imagemagick with your lambda is because AWS Lambda team had pre-installed this library on their containers.

对于在NodeJS上运行的Lambda来说,这是正确的-它具有在您的OS上安装的Imagemagick的运行库,但不能自行运行.

This is true for Lambda's running on NodeJS - which has libraries for operating the Imagemagick installed on your OS but not running it itself.

您应该使用C#/Java运行时进行检查-它可能具有可以添加到Lambda的Imagemagick库(对此不确定).

You should examine using C# / Java runtimes - which might have the Imagemagick library that you can add to your Lambda (not sure about that).

这篇关于在AWS Lamba上安装新字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆