ResourcePackConverter icon indicating copy to clipboard operation
ResourcePackConverter copied to clipboard

Create a tool to migrate the old image fonts to a ttf font

Open tixcode opened this issue 3 years ago • 8 comments

I converted PVP resourcepack from 1.8 to 1.17.1 and used on 1.18.2. Don't tell me that resource pack must be corrupted, it's absolutely not. All not-English fonts are corrupted.

tixcode avatar Sep 01 '22 14:09 tixcode

No you are absolutely right, there is no conversion between the old image system and ttf files.

CoryBorek avatar Sep 01 '22 22:09 CoryBorek

Wish I had the pack they are using with the font, so I can test stuff.

There may have not been a change in the files, but changes with rendering ingame.

lowercasebtw avatar Mar 01 '24 03:03 lowercasebtw

can you please give the pack, i have a assumption as to why it doesnt work

lowercasebtw avatar Mar 16 '24 04:03 lowercasebtw

bump

lowercasebtw avatar May 02 '24 22:05 lowercasebtw

I know why the font is broken and there is no need for a conversion to TTF as that would be too much work for this

lowercasebtw avatar Jul 01 '24 02:07 lowercasebtw

It has to do with alpha pixels

lowercasebtw avatar Jul 01 '24 02:07 lowercasebtw

Minecraft has a alpha threshold it supports before the font breaks (not alpha pixels used in the font, just stray ones)

Optifine ups this threshold

lowercasebtw avatar Jul 01 '24 02:07 lowercasebtw

The fix would be to loop through the pixels of the image and remove any pixels with the alpha below the threshold

lowercasebtw avatar Jul 01 '24 02:07 lowercasebtw