Ticket #39080

DTXMania shutdowns unexpectedly when go to CONFIGURATION

Eröffnet am: 2019-03-23 13:08 Letztes Update: 2019-09-01 00:14

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
Keine
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-Verlauf (3/4 Historien)

2019-03-23 13:08 Aktualisiert von: yyagi
  • New Ticket "DTXMania shutdowns unexpectedly when go to CONFIGURATION" created
2019-03-23 13:17 Aktualisiert von: yyagi
  • Details Updated
Kommentar

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 Aktualisiert von: yyagi
  • Lösung Update from Keine to Gefixt
Kommentar

Fixed in the Rev. 2daebb8af3f00b5dd9b92209f63f8499d91bd27.

2019-09-01 00:14 Aktualisiert von: yyagi
  • Status Update from Offen to Geschlossen
Kommentar

Fix has been included in Release115.

Dateianhangliste

Keine Anhänge

Bearbeiten

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