diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-12-23 03:07:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-12-25 20:21:15 +0100 |
| commit | 8547687a7202cdcc166e6b1d28d382af1a8b720c (patch) | |
| tree | c45f182c2ac32294bbc8ace94fcc6bcf3e059405 /src | |
| parent | cf65fc50de34028b463825ec4cd6ab4b5bf46279 (diff) | |
Allow user to add .ttc font files.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/fonts_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
