Open nodenotjs opened 2 years ago
Which resource pack is using fonts with negative height?
i am using my own resourcepack. it uses an almost completely transparent 8x8 image and uses negative height to make the space negative. Download Link of my resourcepack
How do you use it, steps to reproduce?
Which resource pack is using fonts with negative height?
@sp614x , Next to any resource pack with custom UIs uses negative font height. Take a look at the Spigot resource, section "Custom GUIs - Using The Minecraft Fontrenderer To Render Backgrounds".
The resourcepack usually relies on a custom font json: assets/minecraft/font/default.json
:
{
"providers": [
{
"type": "bitmap",
"file": "some-spacer.png",
"ascent": -32768,
"height": -3, // <<- here
"chars": [
"\uE000"
]
}
]
}
Also, bump.
at the time I didn't use github much and I had to respond. sorry guys any future questions, I am willing to answer
Description of Issue
Setting the height property of a custom font does not work. Text is rendered as if the height were 0 As it should be: https://imgur.com/a/zlY4Jro) As it is: https://imgur.com/a/tSh7A1S
Steps to Reproduce
OptiFine Version
1.18 H3
Installation Method
Installing with jar file
F3 Debug Screenshot
https://imgur.com/a/Gjjglkm
Prior Testing
This works normally in minecraft vanilla.