fix: disable core text font matching on macOS (#224913)

This commit is contained in:
Robo
2024-08-06 14:54:21 +09:00
committed by GitHub
parent 568f4eedc3
commit 1ddb7ba952
+2 -1
View File
@@ -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