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 mustard-mh committed Sep 2, 2024
1 parent 18e945a commit fd7e849
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 fd7e849

Please sign in to comment.