From 8030de7af2f5858e4d723fb78714baf2b9f3aaad Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 28 Mar 2024 22:15:30 +0100 Subject: [PATCH] fix: Icons not being fractionally scaled anymore --- plugins/fonts/source/fonts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/fonts/source/fonts.cpp b/plugins/fonts/source/fonts.cpp index 1cf3c2c18..13671c0ed 100644 --- a/plugins/fonts/source/fonts.cpp +++ b/plugins/fonts/source/fonts.cpp @@ -18,13 +18,13 @@ namespace hex::fonts { * efficient when packing the glyphs into the font atlas and therefor make the atlas much smaller. */ - ImHexApi::Fonts::loadFont("Blender Icons", romfs::get("fonts/blendericons.ttf").span(),{ { ICON_MIN_BI, ICON_MAX_BI } }, { -1_scaled, -1_scaled }, 0, 13); + ImHexApi::Fonts::loadFont("Blender Icons", romfs::get("fonts/blendericons.ttf").span(),{ { ICON_MIN_BI, ICON_MAX_BI } }, { -1_scaled, -1_scaled }); ImHexApi::Fonts::loadFont("VS Codicons", romfs::get("fonts/codicons.ttf").span(), { { ICON_MIN_VS, ICON_MAX_VS } }, - { -1_scaled, -1_scaled }, 0, 13); + { -1_scaled, -1_scaled }); ImHexApi::Fonts::loadFont("Unifont", romfs::get("fonts/unifont.otf").span(), {}, {}, 0, 16); }