Skip to content

Commit

Permalink
fix: disable core text font matching on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Aug 6, 2024
1 parent 477cb27 commit 68f7bf7
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 68f7bf7

Please sign in to comment.