From 1ddb7ba952919c496693ca75c6cb8f7b17543eff Mon Sep 17 00:00:00 2001 From: Robo Date: Tue, 6 Aug 2024 14:54:21 +0900 Subject: [PATCH] fix: disable core text font matching on macOS (#224913) --- src/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 041d9d60037..94c05171e0f 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