Allow user to add .ttc font files.
[dcpomatic.git] / src / wx / fonts_dialog.cc
index e61055ad7f69e794d2588e86163b62ff6b25d358..d4cc270494fc61762e273fc244a6bad81b8cd8af 100644 (file)
@@ -162,7 +162,7 @@ FontsDialog::edit_clicked ()
         default_dir = "/System/Library/Fonts";
 #endif
 
-       auto d = new wxFileDialog (this, _("Choose a font file"), default_dir, wxT(""), wxT("*.ttf;*.otf"), wxFD_CHANGE_DIR);
+       auto d = new wxFileDialog (this, _("Choose a font file"), default_dir, wxT(""), wxT("*.ttf;*.otf;*.ttc"), wxFD_CHANGE_DIR);
        int const r = d->ShowModal ();
 
        if (r != wxID_OK) {