Try to improve font rendering on Windows by using freetype for pango/cairo.
[dcpomatic.git] / src / lib / render_text.cc
index 28482f6e14a0e692c00230cd65497016549b155b..7ae7d91524ddd3d6a03b2eb90cac8d4f8507172f 100644 (file)
@@ -244,10 +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);
-       Cairo::FontOptions fo;
-       context->get_font_options (fo);
-       fo.set_antialias (Cairo::ANTIALIAS_GRAY);
-       context->set_font_options (fo);
 
        /* Compute fade factor */
        float fade_factor = 1;