截图
介绍
Glyphix
A mod to improve font support for Minecraft.
Features
- 100% client side. Anyone who has this mod will see emojis as properly rendered.
- Full twemoji support by default
- Proper width calculations. Because emojis are multiple characters, Minecraft has a hard time dealing with width, but
- Different emoji atlases
- Fast. This mod does not improve vanilla speed, but even with more features it does not slow down. If I can think of a way to speed up vanilla that will definitely get added to this mod.
This mod is still in beta because overhauling Minecraft’s font is super finicky. If there are any bugs, please report them to the issue tracker.
How to use emojis
Just copy and paste the raw emoji. In unicode.org it’s the browser column. Anything in the twitter column should work by default.
Planned Features
- Ligature support from
.ttffonts. Emojis are essentially just ligatures so it probably won’t be too hard to add more support. - Use an actual bold font when rendering bold. Currently Minecraft just renders text twice when it is supposed to be bold, I want to add support for a specified bold font.
- Use an actual italic font when rendering italic. Currently minecraft just slices text.
- Fix some weird
.ttfbugs. There are some inaccuracies with spacing and.ttffont. Another goal of the project is to make it render correctly. - Text box weirdness with emojis. Textboxes uses string length and not glyph length for some calculations which can make rendering weird. Fixing these will require a bit of work, but should improve usability.
- Chat hooks to automatically convert strings like
:grinning_face:-> 😀 for incoming and outgoing messages. - Other built in emoji fonts
Changing Emoji Atlas
There is a script ./scripts/emoji_atlas.py that will convert a directory of emojis into an atlas with JSON file specifying locations. The emojis name has to be <unicode>.png with multi-character emojis as <unicode>-<unicode>.png and so on. It shouldn’t be too hard to modify the python script to change the names if there is a different naming scheme for whatever emojis you choose.
The script will generate 2 files. emoji_atlas.png and emoji_positions.png. Put these into a resourcepack under assets/glyphix/emoji/. Reload texturepacks and the new emojis should render correctly.
Currently, emojis have to be square for them to render correctly.
常见问题
Glyphix 支持哪些 Minecraft 版本?
Glyphix 支持 Minecraft Java 版 1.19.2,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
Glyphix 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
DarkKronicle 的其他作品
查看全部 →
AxolotlClient – Customizable HUD & Client QoL Features
最具可配置性的HUD模组,结合你游玩所需的一切——为你带来最佳PvP体验的模组。
KronHUD
一款 Minecraft HUD 模组。包含按键显示、CPS、FPS、延迟、护甲、箭矢和药水效果等模块。
KronHUD
A HUD mod for Minecraft
DarkKore
A library mod for DarkKronicle's mods
评论
登录后评论和评分