From: Carl Hetherington Date: Sat, 26 Jan 2019 23:35:38 +0000 (+0000) Subject: Modify FontConfig call to allow italic/bold synthesis. X-Git-Tag: v2.13.110~1 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=731eb4282fc1dd8e2ac054879db16647757a766a;p=dcpomatic.git Modify FontConfig call to allow italic/bold synthesis. --- 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 subtitles, list > fonts, dcp::Siz Cairo::RefPtr context = Cairo::Context::create (surface); if (!fc_config) { - fc_config = FcConfigCreate (); + fc_config = FcInitLoadConfig (); } FontFiles font_files;