projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fadcfcf
)
Use freetype for OS X font rendering.
v2.13.115
author
Carl Hetherington
<cth@carlh.net>
Sat, 9 Feb 2019 00:30:26 +0000
(
00:30
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 9 Feb 2019 00:30:26 +0000
(
00:30
+0000)
src/lib/util.cc
patch
|
blob
|
history
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index fe8b193d6f8778d4e149863e97f16cc9c706dbd2..544045bcb555e528156d01954ee1b7cad7b19b1f 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-366,6
+366,11
@@
dcpomatic_setup ()
putenv (String::compose("FONTCONFIG_PATH=%1", shared_path().string()).c_str());
#endif
+#ifdef DCPOMATIC_OSX
+ setenv ("PANGOCAIRO_BACKEND", "fontconfig", 1);
+ setenv ("FONTCONFIG_PATH", shared_path().string().c_str(), 1);
+#endif
+
Pango::init ();
dcp::init ();