Custom font on signs is cropped
Felix14-v2 opened this issue ยท 5 comments
During the development of the map for Realms, I noticed that the image of the text with custom font is cropped in a strange way:
Is it possible to fix that behavior? As I understand from #48 , sign optimization works with great limitations in relation to custom fonts.
Like you linked with #48, this entire feature assumes vanilla signs and fonts. Adding support for HD fonts or really unusual use cases like this one is not really planned.
Maybe, as a fallback, it is possible to add settings for changing the maximum resolution and offset of the text outside the sign? Custom fonts are quite often used in maps and minigames.
Well, if you do not plan to change something in this area, feel free to close the issue. Thank you for your time anyway!
For people that play maps like that, they should just turn off the feature or remove the mod. Increasing the resolution doesn't sound like a good idea, since it would eat a ton more gpu memory. Rather, I'd like to decrease the texture size to actually fit the sign where vanilla does render to. Right now it's about 50% too big.
As a background: I can't know how "high res" the font is, or how much custom hacky fonts render outside of the intended sign area. So it's not really possible(without a ton of dirty tricks/assumptions) to do this right. That's why I just limit the scope to vanilla use-cases, without odd resource packs/mods.