Improved text with bitmap fonts : Works great with 'Get brush colors' (F11) to import the exact font colors.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1708 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2011-02-05 19:43:51 +00:00
parent 065503ef64
commit 57a1bda6de
4 changed files with 59 additions and 21 deletions

View File

@@ -4857,7 +4857,7 @@ void Button_Text(void)
new_brush = Render_text(preview_string, selected_font_index, font_size, antialias, is_bold, is_italic, &new_width, &new_height, text_palette);
if (new_brush)
{
if (is_truetype&&antialias)
if (!is_truetype || (is_truetype&&antialias))
{
// Display brush in remapped form.
byte *remapped_brush;