From 17c0ee9e913526972692fc5f937ce1f07271930f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 23 Dec 2021 03:07:18 +0100 Subject: [PATCH] Allow user to add .ttc font files. --- src/wx/fonts_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/fonts_dialog.cc b/src/wx/fonts_dialog.cc index e61055ad7..d4cc27049 100644 --- a/src/wx/fonts_dialog.cc +++ b/src/wx/fonts_dialog.cc @@ -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) { -- 2.30.2