浏览代码

CPack/WIX: Use language en-US, font Consolas, size 14

Improve rendering of text from `CPACK_RESOURCE_FILE_LICENSE`.

Fixes: #22228
Jason Erb 4 年之前
父节点
当前提交
a50db66bbd
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx

+ 3 - 3
Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx

@@ -79,7 +79,7 @@ void cmWIXRichTextFormatWriter::WriteHeader()
   ControlWord("ansi");
   ControlWord("ansicpg1252");
   ControlWord("deff0");
-  ControlWord("deflang1031");
+  ControlWord("deflang1033");
 
   WriteFontTable();
   WriteColorTable();
@@ -94,7 +94,7 @@ void cmWIXRichTextFormatWriter::WriteFontTable()
   StartGroup();
   ControlWord("f0");
   ControlWord("fswiss");
-  ControlWord("fcharset0 Arial;");
+  ControlWord("fcharset0 Consolas;");
   EndGroup();
 
   EndGroup();
@@ -130,7 +130,7 @@ void cmWIXRichTextFormatWriter::WriteDocumentPrefix()
   ControlWord("uc1");
   ControlWord("pard");
   ControlWord("f0");
-  ControlWord("fs20");
+  ControlWord("fs14");
 }
 
 void cmWIXRichTextFormatWriter::ControlWord(std::string const& keyword)