From fd7e849877604ba96f67cb784fd78784a1b9d066 Mon Sep 17 00:00:00 2001 From: Robo Date: Tue, 6 Aug 2024 21:40:48 +0900 Subject: [PATCH] fix: disable core text font matching on macOS (#224914) --- src/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 041d9d6003754..94c05171e0f5d 100644 --- a/src/main.js +++ b/src/main.js @@ -324,8 +324,9 @@ function configureCommandlineSwitchesSync(cliArgs) { app.commandLine.appendSwitch('disable-features', featuresToDisable); // Blink features to configure. + // `FontMatchingCTMigration` - Siwtch font matching on macOS to Appkit (Refs https://github.com/microsoft/vscode/issues/224496#issuecomment-2270418470). const blinkFeaturesToDisable = - `${app.commandLine.getSwitchValue('disable-blink-features')}`; + `FontMatchingCTMigration,${app.commandLine.getSwitchValue('disable-blink-features')}`; app.commandLine.appendSwitch('disable-blink-features', blinkFeaturesToDisable); // Support JS Flags