summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-04-05 20:26:53 (GMT)
committerTobias Markmann <tm@ayena.de>2016-04-25 12:44:15 (GMT)
commitb58ad7f4b01623a8807b8c268208bd9c8496f4e2 (patch)
treebc2f61eb97c80db81b2eaa9e26db5209cc1d99dc /BuildTools
parentef341e4762b1017047555c37dac1dfdc6ba2489d (diff)
downloadswift-b58ad7f4b01623a8807b8c268208bd9c8496f4e2.zip
swift-b58ad7f4b01623a8807b8c268208bd9c8496f4e2.tar.bz2
Add Lato font and use it in chat view theme
The font has been imported from the TTF version available from http://www.latofonts.com/lato-free-fonts/ . This commit also adds default parameters to all Qt resource compiler calls, so that files that compress by more than 5% are compressed with the highest compression level. Ideally this will lead to smaller resource C++ source code files that will require less runtime memory when compiled. VS's cl.exe is particular resource hungry. Test-Information: Started Swift and verified the new font is used correctly in chat views. Change-Id: I0b450819b0f50041e768deca6e0ef5619b45d7bf
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/SCons/Tools/qt4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/SCons/Tools/qt4.py b/BuildTools/SCons/Tools/qt4.py
index ec33b97..1d03c00 100644
--- a/BuildTools/SCons/Tools/qt4.py
+++ b/BuildTools/SCons/Tools/qt4.py
@@ -285,7 +285,7 @@ def generate(env):
QT4_UICFLAGS = CLVar(''),
QT4_MOCFROMHFLAGS = CLVar(''),
QT4_MOCFROMCXXFLAGS = CLVar('-i'),
- QT4_QRCFLAGS = '',
+ QT4_QRCFLAGS = '--compress 9 --threshold 5',
# suffixes/prefixes for the headers / sources to generate
QT4_UISUFFIX = '.ui',