跳到正文

Glomphosche

作者:StartsMercury

View composed glyphs or ligatures in Minecraft. (Alpha)

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Glomphosche

Glomphosche is a simple mod that visually ligates or compose supported character or Unicode code point sequences into supported ligatures.

Alpha Usage

This mod is currently in Alpha testing. The composition system is already
working, though needing polishing and possibly improved capabilities that can be
built on top with.

Characters

| Item | Pre-composed Unicode | Unifont Extension | Custom Font | Notes |
|:—:|:—:|:—:|:—:|:—|
| Tagalog Block | N/A | WIP | ✅ | Since 0.1.0. To display characters with vowel markers, viramas, and pamudpod, a custom font is used. The base characters are also replaced, overriding the default from Unifont. |
| Modern Hangul Jamo | ✅ | TBD | ❌ | Since 0.2.0. Visually handles valid jamo sequence as pre-composed syllable, which the in-game Unifont supports. |
| Hanuno’o Block | N/A | WIP | ✅ | Since 0.2.1. Custom font relacement and to support displaying vowel markers and pamudpod. |

Technicals

The internals are still being polished. You can check the first few lines of
the GlomphoscheImpl class and even the mentioned Node classes there that you
may find of interest.

import io.github.startsmercury.glomphosche.impl.client.GlomphoscheImpl;
import io.github.startsmercury.glomphosche.impl.client.node.DiscreteNode;
import io.github.startsmercury.glomphosche.impl.client.node.hangul_jamo.composable.ComposableHangulJamoNode;
import net.minecraft.network.chat.FontDescription;

class Example
{

void initialize()
{
// register modern Hangul Jamo handler, or your own handler
// for a different use, if you implemented one
GlomphoscheImpl.ROOT
    .inner()
    .add(new ComposableHangulJamoNode());

// the letter 'f'
DiscreteNode node1 = GlomphoscheImpl.LOOKUP.withDiscrete('f');
// the theoretical glyph 'fi'
DiscreteNode node2 = node1.withDiscrete('i');
// register the font that retextures 'f' as the glyph representing 'fi'
node2.fontOverride(FontDescription.DEFAULT); // replace with your own

// This one is for 'ffi' by retexturing 'f'
GlomphoscheImpl.ROOT
    .withDiscrete('f')
    .withDiscrete('f')
    .withDiscrete('i')
    // replace with your own
    .fontOverride(FontDescription.DEFAULT);
}

}

The shortest path to test with an editable text box is through the Add Server
screen found in Title Screen > Multiplayer > Add Server.

常见问题

Glomphosche 支持哪些 Minecraft 版本?

Glomphosche 支持 Minecraft Java 版 1.21.10,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Glomphosche 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

StartsMercury 的其他作品

查看全部 →