Skip to content
Permalink
Browse files

Fix font metrics and switch to windows subsystem

Currently fonts are using incorrect metrics and the app uses the console
subsystem. This patch adds aliases so that font metrics are found and
instructs the linker to use the windows subsystem.
  • Loading branch information
metajack committed Jul 26, 2016
1 parent d6266c7 commit ca8b375656428ee8c1bbae1b25519778ac90c746
Showing with 737 additions and 1 deletion.
  1. +3 −0 python/servo/build_commands.py
  2. +734 −1 support/windows/fonts.conf
@@ -236,6 +236,9 @@ def build(self, target=None, release=False, dev=False, jobs=None,

cargo_binary = "cargo" + BIN_SUFFIX

if sys.platform == "win32" or sys.platform == "msys":
env["RUSTFLAGS"] = "-C link-args=-Wl,--subsystem,windows"

status = call(
[cargo_binary, "build"] + opts,
env=env, cwd=self.servo_crate(), verbose=verbose)

0 comments on commit ca8b375

Please sign in to comment.
You can’t perform that action at this time.