待辦事項 #39080

DTXMania shutdowns unexpectedly when go to CONFIGURATION

啟用日期: 2019-03-23 13:08 最後更新: 2019-09-01 00:14

回報者:
負責人:
類型:
狀態:
關閉
元件:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

細節

DTXMania shutdowns unexpectedly when go to CONFIGURATION.

PrivateFont() causes IndexOutOfRangeException().

Ticket History (3/4 Histories)

2019-03-23 13:08 Updated by: yyagi
  • New Ticket "DTXMania shutdowns unexpectedly when go to CONFIGURATION" created
2019-03-23 13:17 Updated by: yyagi
  • Details Updated
評語

Cannot repro in Windows10, but repro (at least) Win8.1 x64.

It seems that Win8.1 causes IndexOutOfRangeException here;

//var fontpath = "/foo/bar/fontfile.TTF";   // It's OK
var fontpath = "/foo/bar/";                 // no font filename

var pfc = new System.Drawing.Text.PrivateFontCollection();

pfc.AddFontFile(fontpath);                  // success, but _pfc.Families.Length become 0
var fontfamily = pfc.Families[0];           // IndexOutOfException
2019-03-23 13:28 Updated by: yyagi
  • 處理結果 Update from to 修正
評語

Fixed in the Rev. 2daebb8af3f00b5dd9b92209f63f8499d91bd27.

2019-09-01 00:14 Updated by: yyagi
  • 狀態 Update from 開啟 to 關閉
評語

Fix has been included in Release115.

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入