Docs say that Context::set_antialias does not affect text.
authorCarl Hetherington <cth@carlh.net>
Tue, 4 Sep 2018 22:04:06 +0000 (23:04 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 4 Sep 2018 22:04:06 +0000 (23:04 +0100)
src/lib/render_text.cc

index cbc19efc950300e784cd07a14d4515722de2f808..28482f6e14a0e692c00230cd65497016549b155b 100644 (file)
@@ -244,7 +244,6 @@ render_line (list<StringText> subtitles, list<shared_ptr<Font> > fonts, dcp::Siz
        layout->set_alignment (Pango::ALIGN_LEFT);
 
        context->set_line_width (1);
-       context->set_antialias (Cairo::ANTIALIAS_GRAY);
        Cairo::FontOptions fo;
        context->get_font_options (fo);
        fo.set_antialias (Cairo::ANTIALIAS_GRAY);