描述
此模组会平滑地绘制所有字体(包括资源包中的字体),以便在所有缩放比例下都能获得更好的可读性。此外,你还可以使用电脑上安装的任意字体。Smooth Font 是我的模组 Unicode Font Extension 的继任者。不过,此模组不仅对 unicode 字体有效,对默认的 MC 字体也同样有效,并且许多功能都得到了改进。

主要功能
通常情况下,在以下情况中字符无法清晰显示。不过,此模组即使在这些情况下也能清晰显示字符。
- 缩小显示(尤其是 unicode 字体)
- 非整数倍缩放(例如 x0.75、x1.25 等)
- 斜视角
只需安装此模组即可实现这些功能,基本上无需任何设置。此外,此模组还具有以下附加功能。
- 可以使用电脑上安装的任意字体。
- 在 unicode 字体模式下启用大 GUI 缩放。
- 仅优化模式。此模式可提升标准字体渲染器的部分性能。[v1.16~]
而且,此模组在设计上应当对许多其他模组的大多数文本都有效。
与大 GUI 及 x0.5 缩放字符的对比:
提升极小文本的可读性:
斜视角下告示牌上的文本:
更好的提示框文本可读性:
“仅优化”模式的性能:
使用方法
默认情况下,按下 [HOME] 键会打开配置 GUI。
外部字体文件的使用方法
自 v1.15 起,除了系统中安装的字体外,还可以使用特定文件夹中的外部字体文件。默认情况下,位于“<minecraft 文件夹>/fontfiles”文件夹中的字体文件可以被识别,这些字体会列在 GUI 的字体选择列表中。(<minecraft 文件夹> 指的是包含“mods”文件夹和“config”文件夹等的文件夹。)字体文件夹路径可在配置文件中配置。大多数 TrueType、OpenType 和 Type1 字体文件都可以被识别。
例如:如果你在配置文件的“externalFontsPaths”中添加“font”,那么“font”文件夹也能被 SmoothFont 识别。
S:externalFontsPaths < fontfiles font
默认情况下“fontfiles”文件夹并不存在,如果你要使用外部字体文件功能,需要自行创建“fontfiles”文件夹。如果你将字体文件包含在整合包中,请注意字体的权限和许可。
相较 Unicode Font Extension 的改进
- 支持默认 MC 字体,包括资源包字体。
- 更美观的字符缩放。
- 减少插值低分辨率字体的模糊。
- 支持更大的字体尺寸。
- 自动亮度调整。
- 更快的纹理加载选项。
- 通过多核 CPU 更快地生成字体图像。
- 减少内存占用。
- 更好的模组兼容性。
- 通过优化提升性能。
- 使用外部字体文件。
- 质量或性能优先模式。[v1.16~]
- 仅优化模式。[v1.16~]
兼容性配置 / 命令
- /sfont renderers
打印由 Smooth Font 管理的字体渲染器类。
- /sfont precision <high | normal | vanilla> <font renderer id>
为指定的字体渲染器设置字体宽度精度模式。更改的同时会保存到配置文件。高精度:字体宽度的最佳质量。普通精度:中等质量,字符串宽度计算的兼容性更好。原版精度:与原版相当的质量,unicode 字体字符串宽度计算的最大兼容性。
- /sfont <disable | enable> <font renderer id>
临时禁用或启用指定字体渲染器的平滑字体功能。禁用后几乎可以完全绕过目标字体渲染器的平滑字体功能。这是临时更改,不会保存到配置文件。若要永久更改,请手动将字体渲染器类添加到配置文件的“unaffectedClasses”中。
注意事项
- 这是客户端模组,因此无需安装在服务器上。
- 不要同时使用 Unicode Font Extension 和 Smooth Font。这两个模组自然会冲突。
- 目前 MC1.8.9 版本无法与 optifine 一起使用。=> 已在 v1.6 中解决!!
- 如果你想在 MC1.7.10 上将此模组与 FastCraft 一起使用。请在 FastCraft.ini 中指定“enableFontRendererTweaks=false”。
关于内存占用
由于 1.14.1 及之后的版本在使用平台字体时大幅减少了内存占用,如果你正在更换字体,强烈建议更新到最新版本。
- ~v1.12:
使用平台字体时,分辨率越高,保存预渲染字形图像所需的内存就越多。更高的分辨率和更大的尺寸设置需要数百兆字节的内存。
- v1.13.x:
字形图像默认转换为灰度,因此内存占用减少到了 1/4。
- v1.14.1~:
字形图像默认转换为灰度并压缩,因此内存占用大幅减少。(在 32px+20% 设置下,保存字形图像的总内存占用约为 15MB。)当然,与之前的版本相比,对性能几乎没有影响。
顺便一提,如果你使用的是 MC 默认字体或资源包字体,则不会有保存字形图像的额外内存消耗,因为字形图像是按需从文件中读取的,不会保存在内存中。
整合包
欢迎在任何整合包中使用此模组。
特别感谢
- 感谢 SuperExboom 提供简体中文翻译。
- 感谢 LastLife919 提供俄语翻译。
- 感谢 EnderDragonEP 提供繁体中文翻译。
如何安装 Smooth Font
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.12.2 on Forge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Forge
The loader must match the game version of the mod file, for example Minecraft 1.12.2. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file SmoothFont-mc1.12.2-2.1.4.jar (277 KB) for your game version.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: Smooth Font should be in the list.
Minecraft 1.12.2 runs on Java 8: with a different Java version the game may close right after launch.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.12.2 | Forge | SmoothFont-mc1.12.2-2.1.4.jar277 KB 2 | ||
| 1.12.2 | — | SmoothFont-mc1.12.2-2.1.jar276 KB | ||
| 1.12.2 | — | SmoothFont-mc1.12.2-2.0-alpha-11.jar271 KB | ||
| 1.12.2 | — | SmoothFont-1.12.2-1.16-b3.jar223 KB |
常见问题
Which Minecraft versions does Smooth Font work on?
Only Minecraft 1.12.2: there are no files for other versions.
Is Smooth Font for Forge or Fabric?
Only for Forge: 1.12.2. There are no files for Fabric or NeoForge: a mod for another loader will not start.
Does Smooth Font need other mods?
The author lists no required dependencies: the Forge loader is enough.
Which Java does Smooth Font need?
Minecraft 1.12.2 runs on Java 8. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download Smooth Font safely?
On this page: the file SmoothFont-mc1.12.2-2.1.4.jar (277 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 4c1c41c82f5868f8ae48b0303f619c65ba1218fe.
评价
成为第一个评价 Smooth Font 的人

