From 1f6acc101fa1e496b6ced5650fda6ce1ce037580 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 12 Jan 2023 11:37:19 +0100 Subject: [PATCH] feat: Allow OTF fonts to be selected --- plugins/builtin/source/content/settings_entries.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/settings_entries.cpp b/plugins/builtin/source/content/settings_entries.cpp index c3d6323bb..71fd4c6f3 100644 --- a/plugins/builtin/source/content/settings_entries.cpp +++ b/plugins/builtin/source/content/settings_entries.cpp @@ -400,7 +400,7 @@ namespace hex::plugin::builtin { ImGui::SameLine(); if (ImGui::IconButton(ICON_VS_FOLDER_OPENED, ImGui::GetStyleColorVec4(ImGuiCol_Text))) { - return fs::openFileBrowser(fs::DialogMode::Open, { {"TTF Font", "ttf"} }, + return fs::openFileBrowser(fs::DialogMode::Open, { { "TTF Font", "ttf" }, { "OTF Font", "otf" } }, [&](const std::fs::path &path) { fontPath = hex::toUTF8String(path); setting = fontPath;