解決方案
某些字體在當地語系 OS 的 LabVIEW 中無法正常工作。問題似乎只發生在某些在地化的 Windows OS 上。您可以通過在 ini 檔案中手動指定字體的字碼頁(Code page)來防止強制執行到作業系統字碼頁(Code page)支援的字體。在
C:\Program Files (x86)\National Instruments\LabVIEW 201X\LabVIEW.ini 文件中增加一行句子,如下所示:
FontCodePageList=Font name,Code Page Identifier如果要使用多種字體,按照以下方式將句子加到 ini 文件:
FontCodePageList=Font Name1,Code Page Identifier;Font Name2,Code Page Identifier;Font Name3,Code Page Identifier下表定義了 Window 中可用的字碼頁識別項(Code page identifiers)。
Identifier | .NET Name | Additional Information |
1250 | window-1250 | ANSI Central European; Central European (Windows) |
1251 | window-1251 | ANSI Cyrillic; Cyrillic (Windows) |
1252 | window-1252 | ANSI Latin 1; Western European (Windows) |
1253 | window-1253 | ANSI Greek; Greek (Windows) |
1254 | window-1254 | ANSI Turkish; Turkish (Windows) |
1255 | window-1255 | ANSI Hebrew; Hebrew (Windows) |
1256 | window-1256 | ANSI Arabic; Arabic (Windows) |
1257 | window-1257 | ANSI Baltic; Baltic (Windows) |
1258 | window-1258 | ANSI/OEM Vietnamese; Vietnamese (Windows) |
注意:Windows Code page 1252 (通常用於英語和其他西歐語言) 是基於美國國家標準協會 (ANSI) 草案。如果您想了解更多 code page identifiers,請參閱
External Link: MSDN: Code Page Identifiers。