mirror of
https://github.com/Microsoft/vscode
synced 2024-08-24 11:36:01 +00:00
fix: disable CoreText font matching on macOS (#214601)
This commit is contained in:
parent
5422f5f940
commit
bab3a9fdcb
|
@ -294,6 +294,13 @@ function configureCommandlineSwitchesSync(cliArgs) {
|
||||||
`CalculateNativeWinOcclusion,${app.commandLine.getSwitchValue('disable-features')}`;
|
`CalculateNativeWinOcclusion,${app.commandLine.getSwitchValue('disable-features')}`;
|
||||||
app.commandLine.appendSwitch('disable-features', featuresToDisable);
|
app.commandLine.appendSwitch('disable-features', featuresToDisable);
|
||||||
|
|
||||||
|
// Blink features to configure.
|
||||||
|
// `FontMatchingCTMigration` - Siwtch font matching on macOS to CoreText (Refs https://github.com/microsoft/vscode/issues/214390).
|
||||||
|
// TODO(deepak1556): Enable this feature again after updating to Electron 30.
|
||||||
|
const blinkFeaturesToDisable =
|
||||||
|
`FontMatchingCTMigration,${app.commandLine.getSwitchValue('disable-blink-features')}`;
|
||||||
|
app.commandLine.appendSwitch('disable-blink-features', blinkFeaturesToDisable);
|
||||||
|
|
||||||
// Support JS Flags
|
// Support JS Flags
|
||||||
const jsFlags = getJSFlags(cliArgs);
|
const jsFlags = getJSFlags(cliArgs);
|
||||||
if (jsFlags) {
|
if (jsFlags) {
|
||||||
|
|
Loading…
Reference in a new issue