touchHLE
touchHLE copied to clipboard
Poor quality text rendering: overlapping letters (particularly W and A) cut eachother off
You can notice this especially in some of the tutorial and instruction screens in Super Monkey Ball.
This happens because of how cg_bitmap_context.rs
, ui_font.rs
and font.rs
interact. In short: there's no blending done, so transparent pixels (strictly speaking, texels) in one character's rectangle can obscure opaque pixels from an overlapping one.
A quick fix would be to add blending in cg_bitmap_context.rs
, and that definitely should be done eventually, but I bet that falls down if you want to do stuff like rendering text with semi-transparency. Although to be fair, I've no idea if iPhone OS itself can do that correctly.