Compatibility
Minecraft: Java Edition
24w36a
1.21.x
1.20.x
1.19.2–1.19.4
1.18.2
Platforms
Fabric
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published last year
Updated yesterday
Changelog
This is a major update to Caxton.
Lazy glyph uploading
This release changes the way glyphs are uploaded to the GPU. Previously, all glyphs would be put in a texture atlas and uploaded to VRAM eagerly during loading, which was wasteful for large fonts. This version uploads each glyph if and when it is needed.
Note that MTSDF calculation is still done eagerly, as it takes about 50 ms per glyph.
Cached glyph storage
MTSDF calculations are now done in parallel, using all available CPUs. The file format for this information has also been changed.
Other additions
/caxtondumpatlas
command to dump the dynamic texture atlasdebugRefcountChanges
global optionfont_scale
option to font provider- This sets the scale at which the font should be drawn relative to the default
caxton_providers
key in font JSON- Acts like
providers
but will be ignored when Caxton is not installed.
- Acts like
Changes and fixes
margin
now defaults torange
in font metadatarange
now has a hard limit of 255- Underlines and strikethroughs now draw with at least 1 pixel of thickness
- Text fields now draw placeholder text in the 1.19.3 version
- Add fixes for multi-line edit boxes (1.19.2 and later)
- Fix compatibility with TweakerMore’s
disableSignTextLengthLimit
feature - Fix a bug where line-wrapping certain text containing RTL scripts would return the text in the wrong order
- Fix various layout-related crashes
Dependencies
Files
Metadata
Release channel
ReleaseVersion number
0.3.0+1.19.2Loaders
Game versions
1.19.2Downloads
167Publication date
February 3, 2023 at 10:35 AMPublisher
flirora
Owner