diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-22 23:34:20 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-23 00:00:48 +0000 |
| commit | d702ba9f67da8a08277f83ec692bf6b90736b243 (patch) | |
| tree | 8061b8d35204fe1d178021a385cd08a00ed6f63b /src/lib/util.cc | |
| parent | 360db7a7d5429c3bcf7c5c0e39e29a94a74d8f8a (diff) | |
Try to improve font rendering on Windows by using freetype for pango/cairo.v2.13.105
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index cd2d2e753..ac1c96f97 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -358,6 +358,11 @@ dcpomatic_setup () set_terminate (terminate); +#ifdef DCPOMATIC_WINDOWS + putenv ("PANGOCAIRO_BACKEND=fontconfig"); + putenv (String::compose("FONTCONFIG_PATH=%1", shared_path().string()).c_str()); +#endif + Pango::init (); dcp::init (); |
