summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-26 23:35:38 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-26 23:35:38 +0000
commit731eb4282fc1dd8e2ac054879db16647757a766a (patch)
tree8a644accab8c63bab045589c9e1cc3a3af85b489
parent942475447fb7036d56d2befdf1ff4a4201f8923f (diff)
Modify FontConfig call to allow italic/bold synthesis.
-rw-r--r--src/lib/render_text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/render_text.cc b/src/lib/render_text.cc
index 7ae7d9152..fafed3d82 100644
--- a/src/lib/render_text.cc
+++ b/src/lib/render_text.cc
@@ -158,7 +158,7 @@ render_line (list<StringText> subtitles, list<shared_ptr<Font> > fonts, dcp::Siz
Cairo::RefPtr<Cairo::Context> context = Cairo::Context::create (surface);
if (!fc_config) {
- fc_config = FcConfigCreate ();
+ fc_config = FcInitLoadConfig ();
}
FontFiles font_files;