macroquad icon indicating copy to clipboard operation
macroquad copied to clipboard

Pixel perfect display support for pixelated fonts

Open Roxfall opened this issue 4 years ago • 1 comments

load_ttf_font_from_bytes function should have a variant that exposes Nearest filtering and the default glyph size (15 is not always the best) to give user more control over blurring and other distortions.

Either that or make get_context public, which is probably not ideal for good reasons I don't understand yet.

Thank you for your time and patience.

Roxfall avatar Nov 06 '21 19:11 Roxfall

@not-fl3 ~~Can we have a load_ttf_font_from_bytes_ex function that exposes FilterMode (or maybe some other parameters)? Would be willing to contribute.~~

Edit: Nevermind, I just found out Font has a set_filter method defined for it.

kotx avatar Mar 13 '24 18:03 kotx