summaryrefslogtreecommitdiff
path: root/hacks/text.sh
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-22 23:34:20 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-23 00:00:48 +0000
commitd702ba9f67da8a08277f83ec692bf6b90736b243 (patch)
tree8061b8d35204fe1d178021a385cd08a00ed6f63b /hacks/text.sh
parent360db7a7d5429c3bcf7c5c0e39e29a94a74d8f8a (diff)
Try to improve font rendering on Windows by using freetype for pango/cairo.v2.13.105
Diffstat (limited to 'hacks/text.sh')
-rw-r--r--hacks/text.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hacks/text.sh b/hacks/text.sh
new file mode 100644
index 000000000..f24e9be5c
--- /dev/null
+++ b/hacks/text.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+g++ -o text text.cc `pkg-config --cflags --libs cairomm-1.0 glibmm-2.4 pangomm-1.4`
+docker run -u $USER -w $(pwd) -v $(pwd):$(pwd) -e PKG_CONFIG_PATH=/opt/mxe/usr/x86_64-w64-mingw32.shared/lib/pkgconfig -it windows /bin/bash text-win.sh