projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
838d036
)
Allow user to add .ttc font files.
author
Carl Hetherington
<cth@carlh.net>
Thu, 23 Dec 2021 02:07:18 +0000
(
03:07
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 25 Dec 2021 19:18:43 +0000
(20:18 +0100)
src/wx/fonts_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/fonts_dialog.cc
b/src/wx/fonts_dialog.cc
index e61055ad7f69e794d2588e86163b62ff6b25d358..d4cc270494fc61762e273fc244a6bad81b8cd8af 100644
(file)
--- 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) {