Skip to content

Commit 2c97823

Browse files
committed
FSUI: Disable SVGinOT support
We use COLRv0 fonts now
1 parent fbcb949 commit 2c97823

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

3rdparty/imgui/include/imconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
// - plutosvg is currently easier to install, as e.g. it is part of vcpkg. It will support more fonts and may load them faster. See misc/freetype/README for instructions.
9494
// - Both require headers to be available in the include path + program to be linked with the library code (not provided).
9595
// - (note: lunasvg implementation is based on Freetype's rsvg-port.c which is licensed under CeCILL-C Free Software License Agreement)
96-
#define IMGUI_ENABLE_FREETYPE_PLUTOSVG
96+
//#define IMGUI_ENABLE_FREETYPE_PLUTOSVG
9797
//#define IMGUI_ENABLE_FREETYPE_LUNASVG
9898

9999
//---- Use stb_truetype to build and rasterize the font atlas (default)

cmake/SearchForStuff.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ find_package(Zstd 1.5.5 REQUIRED)
1818
find_package(LZ4 REQUIRED)
1919
find_package(WebP REQUIRED) # v1.3.2, spews an error on Linux because no pkg-config.
2020
find_package(SDL3 3.2.6 REQUIRED)
21-
find_package(Freetype 2.12 REQUIRED)
21+
find_package(Freetype 2.10 REQUIRED) # 2.10 is the first with COLRv0 support, which we need for rendering emoji
2222
find_package(plutovg 1.1.0 REQUIRED)
2323
find_package(plutosvg 0.0.7 REQUIRED)
2424

0 commit comments

Comments
 (0)