summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-xamiga/plotters.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index 9d86fdeb2..dc0ae2f64 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -548,8 +548,13 @@ bool ami_text(int x, int y, const char *text, size_t length,
LOG(("[ami_plotter] Entered ami_text()"));
#endif
+ bool aa = true;
+
+ if((nsoption_bool(font_antialiasing) == false) || (palette_mapped == false))
+ aa = false;
+
ami_plot_setapen(fstyle->foreground);
- ami_unicode_text(glob->rp, text, length, fstyle, x, y, !palette_mapped);
+ ami_unicode_text(glob->rp, text, length, fstyle, x, y, aa);
return true;
}