Browse Source

Merge branch 'dev' of git.kdan.cc:Windows/PDFOffice_Windows_exe into dev

ZhouJieSheng 1 year ago
parent
commit
0de2523d57
1 changed files with 10 additions and 1 deletions
  1. 10 1
      PDF Office/Model/PropertyPanel/AnnotPanel/FontStyleItem.cs

+ 10 - 1
PDF Office/Model/PropertyPanel/AnnotPanel/FontStyleItem.cs

@@ -361,7 +361,16 @@ namespace PDF_Master.Model.PropertyPanel.AnnotPanel
                 {
                 {
                     content = "Informal Roman";
                     content = "Informal Roman";
                 }
                 }
-                if (itemFam.Equals("Marlett"))
+                //屏蔽 SDK暂时无效的字体
+                if (itemFam.Equals("Marlett") || itemFam.Equals("MT Extra")
+                 || itemFam.Equals("Symbol") || itemFam.Equals("HoloLens MDL2 Assets")
+                 || itemFam.Equals("Wingdings") || itemFam.Equals("Wingdings 2")
+                 || itemFam.Equals("Wingdings 3") || itemFam.Equals("Webdings")
+                 || itemFam.Equals("ZWAdobeF") || itemFam.Equals("Algerian")
+                 || itemFam.Equals("Bookshelf Symbol 7") || itemFam.Equals("Castellar")
+                 || itemFam.Equals("MS Outlook") || itemFam.Equals("MS Reference Specialty")
+                 || itemFam.Equals("Segoe Fluent Icons") || itemFam.Equals("Segoe MDL2 Assets")
+                 || itemFam.Equals("Stencil"))
                 {
                 {
                     continue;
                     continue;
                 }
                 }