calref / cboe

Classic Blades of Exile
http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/
Other
168 stars 41 forks source link

Blurry bold-italic name of the current active character in the party window #231

Open x-qq opened 4 years ago

x-qq commented 4 years ago

blur

Blurriness is caused by the application of SFML's sf::Text::Italic, and there does not seem to be a way to make antialising go away currently.

The proposed solution is to stop using sf::Text::Italic and instead use a premade bold italic font when one is needed.

clort81 commented 4 years ago

I think antialiasing looks fine when applied to ClortSans-11.bdf.

I increased letter spacing a bit when italicized to prevent them running together in line 99 of render_text.cpp. boe-italicspacing

if ((options.style.italic!=false) && (options.style.font!=FONT_BOLD)) str_to_draw.setLetterSpacing(1.46);