From dfdb7a0430e0f31ca39ca4dc0b90d5853253f5e6 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Tue, 20 Feb 2024 17:33:46 +0100 Subject: [PATCH] Iconbrowser test: use the variable font on Android It's the font with the highest priority in the engine, and allows us to test variants by setting a variable axis. Change-Id: I44bd3a63eef8d6cb999eaa372c29abbf445f401b Reviewed-by: Friedemann Kleint Reviewed-by: Eskil Abrahamsen Blomfeldt --- tests/manual/iconbrowser/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/manual/iconbrowser/CMakeLists.txt b/tests/manual/iconbrowser/CMakeLists.txt index f6793beaf46..b0fefba5db1 100644 --- a/tests/manual/iconbrowser/CMakeLists.txt +++ b/tests/manual/iconbrowser/CMakeLists.txt @@ -29,14 +29,14 @@ target_link_libraries(iconbrowser PRIVATE endif() if (ANDROID) - set(font_filename "MaterialIcons-Regular.ttf") + set(font_filename "MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].ttf") if (QT_ALLOW_DOWNLOAD) include(FetchContent) FetchContent_Declare( MaterialIcons URL - "https://github.com/google/material-design-icons/raw/master/font/${font_filename}" + "https://github.com/google/material-design-icons/raw/master/variablefont/${font_filename}" DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR} DOWNLOAD_NAME "${font_filename}" DOWNLOAD_NO_EXTRACT TRUE