summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/render_subtitles.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/render_subtitles.cc b/src/lib/render_subtitles.cc
index 5f587c313..ad2c10a06 100644
--- a/src/lib/render_subtitles.cc
+++ b/src/lib/render_subtitles.cc
@@ -238,6 +238,11 @@ render_line (list<SubtitleString> subtitles, list<shared_ptr<Font> > fonts, dcp:
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);
+ context->set_font_options (fo);
/* Compute fade factor */
float fade_factor = 1;