Skip to content

Commit

Permalink
fix: disable core text font matching on macOS (microsoft#224914)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 authored and zongou committed Aug 13, 2024
1 parent 1115de5 commit 1a37ebd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a37ebd

Please sign in to comment.