diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-09-21 23:48:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-09-21 23:48:25 +0100 |
| commit | cfcb2aa619498187509481527ba55f7715fd81e8 (patch) | |
| tree | 79ec0310051b76f1f325a3fdcc008e8d071ebd65 /platform/windows/wscript | |
| parent | 3d76d307d46286c803db20f52ac335606f2f8fe8 (diff) | |
Try to fix subtitle rendering on Windows by installing a pango.modules.
Diffstat (limited to 'platform/windows/wscript')
| -rw-r--r-- | platform/windows/wscript | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/windows/wscript b/platform/windows/wscript index 9c3517fe3..6d2c59410 100644 --- a/platform/windows/wscript +++ b/platform/windows/wscript @@ -104,6 +104,7 @@ File "%static_deps%/bin/ssleay32.dll" File "%static_deps%/bin/libzip-2.dll" File "%static_deps%/bin/libcairomm-1.0-1.dll" File "%static_deps%/bin/libpangomm-1.4-1.dll" +File "%static_deps%/bin/pango-querymodules.exe" File "%cdist_deps%/bin/asdcp-libdcp-1.0.dll" File "%cdist_deps%/bin/kumu-libdcp-1.0.dll" @@ -123,6 +124,12 @@ File "%cdist_deps%/bin/ffprobe.exe" File "%binaries%/src/wx/dcpomatic2-wx.dll" File "%binaries%/src/lib/dcpomatic2.dll" +SetOutPath "$INSTDIR\\lib" +File "%static_deps/lib/pango/1.8.0/modules/pango-arabic-lang.dll" +File "%static_deps/lib/pango/1.8.0/modules/pango-basic-win32.dll" +File "%static_deps/lib/pango/1.8.0/modules/pango-indic-lang.dll" + +SetOutPath "$INSTDIR\\bin" # I don't know why, but sometimes it seems that # delegates.xml must be in with the binaries, and # sometimes in the $PROFILE. Meh. @@ -165,6 +172,10 @@ WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic2" "UninstallString" "$INSTDIR\\Uninstall.exe" WriteUninstaller "$INSTDIR\\Uninstall.exe" +ReadEnvStr $0 COMSPEC +SetOutPath "$INSTDIR" +nsExec::ExecToLog '$0 /C bin\pango-querymodules.exe > etc\pango\pango.modules' + SectionEnd Section "DCP-o-matic" SEC_MASTER |
