summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-04-30 22:20:57 +0100
committerCarl Hetherington <cth@carlh.net>2015-04-30 22:20:57 +0100
commita5e87b6f0f496f4ed71d9129d40a5baebb68495f (patch)
treea9f7dcf6a2020e986e1d709f24ce46e51d238ca2 /platform
parent895e908f7dcc8deb9e6a333d3d6b3a92aec2dc09 (diff)
Various bits related to subtitle font handling, particularly copying fonts to the DCP.
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/make_dmg.sh1
-rw-r--r--platform/windows/wscript3
2 files changed, 4 insertions, 0 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh
index 4e46606bd..e97274766 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -137,6 +137,7 @@ cp $ROOT/32/src/dcpomatic/icons/kdm_email.png "$WORK/$resources"
cp $ROOT/32/src/dcpomatic/icons/servers.png "$WORK/$resources"
cp $ROOT/32/src/dcpomatic/icons/tms.png "$WORK/$resources"
cp $ROOT/32/src/dcpomatic/icons/keys.png "$WORK/$resources"
+cp $ROOT/32/src/dcpomatic/LiberationSans-Regular.ttf "$WORK/$resources"
# i18n: DCP-o-matic .mo files
for lang in de_DE es_ES fr_FR it_IT sv_SE nl_NL; do
diff --git a/platform/windows/wscript b/platform/windows/wscript
index 8d48bd707..efe250e10 100644
--- a/platform/windows/wscript
+++ b/platform/windows/wscript
@@ -191,6 +191,9 @@ File "%binaries%/src/lib/mo/nl_NL/libdcpomatic2.mo"
File "%binaries%/src/wx/mo/nl_NL/libdcpomatic2-wx.mo"
File "%binaries%/src/tools/mo/nl_NL/dcpomatic2.mo"
File "%static_deps%/share/locale/nl/LC_MESSAGES/wxstd.mo"
+
+SetOutPath "$INSTDIR"
+File "%resources%/../../LiberationSans-Regular.ttf"
""", file=f)
if debug: