Add woff2 font format support.

Try again luck with the test that it's failing in macOS...
This commit is contained in:
Martín Lucas Golini
2026-04-09 00:54:22 -03:00
parent b43508b106
commit 7d09138bb0
41 changed files with 15084 additions and 9 deletions

View File

@@ -447,7 +447,7 @@ void App::openFontDialog( std::string& fontPath, bool loadingMonoFont, bool term
UIFileDialog* dialog = UIFileDialog::New(
UIFileDialog::DefaultFlags |
( mConfig.ui.nativeFileDialogs ? UIFileDialog::UseNativeFileDialog : 0 ),
"*.ttf; *.otf; *.wolff; *.otb; *.bdf; *.ttc",
"*.ttf; *.otf; *.woff; *.woff2; *.otb; *.bdf; *.ttc",
FileSystem::fileRemoveFileName( absoluteFontPath ) );
if ( dialog->getMultiView() ) {
ModelIndex index = dialog->getMultiView()->getListView()->findRowWithText(