表情符号
表情符号总是由操作系统按原样呈现。
它们的本质是在不同操作系统之间有所不同:
🌐 Emojis are always rendered as-is by the operating system.
By nature, they are different across different OS:
- Windows 表情符号集
- macOS 和 iOS 表情符号集
- 不同的 Linux 发行版有不同的表情符号集合,或者根本没有。
Linux 和 Docker 上的表情符号
🌐 Emojis on Linux and in Docker
在云端渲染或一般的 Linux 系统中,你不会得到与桌面上相同的表情符号。
你可以为你的操作系统安装开源表情符号字体:
🌐 When rendering in the cloud or in Linux in general, you will not get the same emojis as on your Desktop.
You can install open source emoji fonts for your operating system:
Debian/Ubuntu:
🌐 Debian/Ubuntu:
apt-get install fonts-noto-color-emoji亚马逊 Linux 2023:
🌐 Amazon Linux 2023:
yum install google-noto-emoji-color-fontsRemotion Lambda 上的表情符号
🌐 Emojis on Remotion Lambda
Noto Color Emoji 已默认安装在 Remotion Lambda 上。
你可以 启用 Apple 表情符号。
🌐 You can enable Apple Emojis.
通过自定义 Remotion Lambda可以替换表情符号。
🌐 Replacing Emojis is possible by customizing Remotion Lambda.
苹果表情符号是苹果公司的知识产权。
你对在项目中使用苹果表情符号负责。
不可用的表情符号
🌐 Unavailable emojis
由于 Lambda 运行时只能有 250MB,并且空间必须与 Chrome 和其他字体共享,我们不得不从字体中移除一些表情符号。 移除的表情符号如下:
🌐 Since the Lambda runtime can only be 250MB, and the space has to be shared with Chrome and other fonts, we had to remove some emojis from the font.
The following emojis are removed:
- 所有现有表情符号中“面向右”的表情符号:“🏃➡️”面向右奔跑的人不可用,但“🏃”奔跑的人是可用的
- 所有跨种族情侣和家庭表情符号,例如“👩🏼❤️👩🏿 爱心情侣:女性,女性,中浅肤色,深肤色”
我们排除了这些表情符号组,因为它会减少超过800个图片的表情符号集合,并且它们有可用的中性备用选项。
🌐 We excluded these emoji groups because it reduces the set of emojis by more than 800 images and they have neutral fallbacks available.
你需要确保这些表情符号不会被渲染,以避免渲染问题。 考虑从你的表情符号选择器中移除这些表情符号,或者退回使用中性表情符号(例如使用“💑 爱心情侣”而不是“👩🏼❤️👩🏿 爱心情侣:女性,女性,中浅肤色,深肤色”)
🌐 You need to ensure those emojis are not rendered in order to avoid rendering issues.
Consider removing those emojis from your emoji picker or falling back to the neutral emojis (e.g. "💑 Couple with Heart" instead of "👩🏼❤️👩🏿 Couple with Heart: Woman, Woman, Medium-Light Skin Tone, Dark Skin Tone")