collinsmith / riiablo

Diablo II remade using Java and LibGDX
http://riiablo.com
Apache License 2.0
884 stars 101 forks source link

Some bitmap fonts appear to cut off parts of characters #43

Closed collinsmith closed 5 years ago

collinsmith commented 5 years ago

A couple of the smaller fonts have a hard time rendering some characters. This typically manifests itself with some letters seemingly missing the rightmost pixels, notably d and g appear to be missing their right pixels in font6 and ReallyTheLastSucker. Larger fonts may also be affected, but it isn't noticeable.

collinsmith commented 5 years ago

Turns out the fix was just to increase the character width a bit and keep the same advance. Because the characters are padded now, the increased size is no problem.