任务单 #39080

DTXMania shutdowns unexpectedly when go to CONFIGURATION

开放日期: 2019-03-23 13:08 最后更新: 2019-09-01 00:14

报告人:
属主:
类型:
状态:
关闭
组件:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

DTXMania shutdowns unexpectedly when go to CONFIGURATION.

PrivateFont() causes IndexOutOfRangeException().

任务单历史 (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
评论

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. » 登录名