From 1df094bd7ab231c2302d4410a6be5aa7c59c1f1d Mon Sep 17 00:00:00 2001 From: Anuj Verma Date: Thu, 20 Aug 2020 08:28:14 +0530 Subject: [PATCH] [sdf] Added `sdf' module to non gnumake build systems. * include/freetype/config/ftmodule.h (*): Add both the renderers to the list of modules. This allows build systems other than GNU Make to use the renderers. * CMakeLists.txt (BASE_SRCS): Add the `sdf' module single object to the list of source files. --- CMakeLists.txt | 1 + include/freetype/config/ftmodule.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c9befb421..e10895b0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -353,6 +353,7 @@ set(BASE_SRCS src/type1/type1.c src/type42/type42.c src/winfonts/winfnt.c + src/sdf/sdf.c ) if (UNIX) diff --git a/include/freetype/config/ftmodule.h b/include/freetype/config/ftmodule.h index b5c4b1ee5..2b4600940 100644 --- a/include/freetype/config/ftmodule.h +++ b/include/freetype/config/ftmodule.h @@ -26,5 +26,7 @@ FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class ) FT_USE_MODULE( FT_Module_Class, sfnt_module_class ) FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class ) FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class ) +FT_USE_MODULE( FT_Renderer_Class, ft_sdf_renderer_class ) +FT_USE_MODULE( FT_Renderer_Class, ft_bitmap_sdf_renderer_class ) /* EOF */