projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4227af1
)
Try no anti-aliasing when rendering subtitles.
author
Carl Hetherington
<cth@carlh.net>
Tue, 4 Sep 2018 22:48:26 +0000
(23:48 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 4 Sep 2018 22:48:26 +0000
(23:48 +0100)
src/lib/render_text.cc
patch
|
blob
|
history
diff --git
a/src/lib/render_text.cc
b/src/lib/render_text.cc
index 28482f6e14a0e692c00230cd65497016549b155b..2619b5d0db969fd49ea4a7c9038388a6cab14a3f 100644
(file)
--- a/
src/lib/render_text.cc
+++ b/
src/lib/render_text.cc
@@
-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 */