File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 3333 [--build-dir BUILD_DIR] [--cef-build-dir CEF_BUILD_DIR]
3434 [--ninja-jobs JOBS] [--gyp-generators GENERATORS]
3535 [--gyp-msvs-version MSVS]
36+ [--use-system-freetype USE_SYSTEM_FREETYPE]
3637 automate.py (-h | --help) [type -h to show full description for options]
3738
3839Options:
6162 By default set to cpu_count / 2.
6263 --gyp-generators=<gen> Set GYP_GENERATORS [default: ninja].
6364 --gyp-msvs-version=<v> Set GYP_MSVS_VERSION.
65+ --use-system-freetype Use system Freetype library on Linux (Issue #402)
6466
6567"""
6668
@@ -103,6 +105,7 @@ class Options(object):
103105 ninja_jobs = None
104106 gyp_generators = "ninja" # Even though CEF uses now GN, still some GYP
105107 gyp_msvs_version = "" # env variables are being used.
108+ use_system_freetype = False
106109
107110 # Internal options
108111 depot_tools_dir = ""
@@ -878,6 +881,10 @@ def getenv():
878881 if Options .release_build and not Options .fast_build :
879882 env ["GN_DEFINES" ] += " is_official_build=true"
880883
884+ # Isssue #402 - Blurry font rendering on Linux
885+ if Options .use_system_freetype :
886+ env ["GN_DEFINES" ] += " use_system_freetype=true"
887+
881888 # GYP configuration is DEPRECATED, however it is still set in
882889 # upstream Linux configuration on AutomatedBuildSetup wiki page,
883890 # so setting it here as well.
You can’t perform that action at this time.
0 commit comments