فهرست منبع

don't filter out non-monospace fonts - fixes #5544

Eugene Pankov 3 سال پیش
والد
کامیت
8e00761b0c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      tabby-electron/src/services/platform.service.ts

+ 1 - 1
tabby-electron/src/services/platform.service.ts

@@ -152,7 +152,7 @@ export class ElectronPlatformService extends PlatformService {
 
 
     async listFonts (): Promise<string[]> {
     async listFonts (): Promise<string[]> {
         if (this.hostApp.platform === Platform.Windows || this.hostApp.platform === Platform.macOS) {
         if (this.hostApp.platform === Platform.Windows || this.hostApp.platform === Platform.macOS) {
-            let fonts = await new Promise<any[]>((resolve) => fontManager.findFonts({ monospace: true }, resolve))
+            let fonts = await new Promise<any[]>((resolve) => fontManager.findFonts({}, resolve))
             fonts = fonts.map(x => x.family.trim())
             fonts = fonts.map(x => x.family.trim())
             return fonts
             return fonts
         }
         }