ChatUI
ChatUI copied to clipboard
[Optifine] Problem with font
Optifine calculates width of chars with floating point values and because of that users which installed optifine and have alternative font textures have gui incorrectly displayed. Can you add option in settings to select alternative way of width calculation(Optifine way)?
Is this only an issue when you override the defaults with optifine installed?
According to the font documentation (https://github.com/sp614x/optifine/blob/master/OptiFineDoc/doc/hd_fonts.txt) optifine will look for an ascii.png
file. This is no different from when a resource pack is used in vanilla, I have addressed this in the documentation: https://ore.spongepowered.org/simon816/Chat-UI-Library#font-data
Optifine also has overrides in ascii.properties
, this could be added, mind you it'd be tedious to keep the properties synchronised between a player's overrides and Chat UI's counterpart config.