Ticket #39080

DTXMania shutdowns unexpectedly when go to CONFIGURATION

오픈 날짜: 2019-03-23 13:08 마지막 업데이트: 2019-03-23 13:28

Reporter:
소유자:
Type:
Status:
Open [Owner assigned]
Component:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

DTXMania shutdowns unexpectedly when go to CONFIGURATION.

PrivateFont() causes IndexOutOfRangeException().

Ticket History (3/3 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
  • Resolution Update from None to Fixed
댓글 올리기

Fixed in the Rev. 2daebb8af3f00b5dd9b92209f63f8499d91bd27.

Attachment File List

No attachments

Edit

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