Skip to content

Commit ed01703

Browse files
authored
fix: disable core text font matching on macOS (#224914)
1 parent 477cb27 commit ed01703

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,9 @@ function configureCommandlineSwitchesSync(cliArgs) {
324324
app.commandLine.appendSwitch('disable-features', featuresToDisable);
325325

326326
// Blink features to configure.
327+
// `FontMatchingCTMigration` - Siwtch font matching on macOS to Appkit (Refs https://github.com/microsoft/vscode/issues/224496#issuecomment-2270418470).
327328
const blinkFeaturesToDisable =
328-
`${app.commandLine.getSwitchValue('disable-blink-features')}`;
329+
`FontMatchingCTMigration,${app.commandLine.getSwitchValue('disable-blink-features')}`;
329330
app.commandLine.appendSwitch('disable-blink-features', blinkFeaturesToDisable);
330331

331332
// Support JS Flags

0 commit comments

Comments
 (0)