Try no anti-aliasing when rendering subtitles.
authorCarl Hetherington <cth@carlh.net>
Tue, 4 Sep 2018 22:48:26 +0000 (23:48 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 4 Sep 2018 22:48:26 +0000 (23:48 +0100)
src/lib/render_text.cc

index 28482f6e14a0e692c00230cd65497016549b155b..2619b5d0db969fd49ea4a7c9038388a6cab14a3f 100644 (file)
@@ -246,7 +246,7 @@ render_line (list<StringText> subtitles, list<shared_ptr<Font> > fonts, dcp::Siz
        context->set_line_width (1);
        Cairo::FontOptions fo;
        context->get_font_options (fo);
-       fo.set_antialias (Cairo::ANTIALIAS_GRAY);
+       fo.set_antialias (Cairo::ANTIALIAS_NONE);
        context->set_font_options (fo);
 
        /* Compute fade factor */