From c6f394bf7d94b5a4d662bda68e9ed1c4310803c1 Mon Sep 17 00:00:00 2001 From: Anuj Verma Date: Thu, 20 Aug 2020 08:28:14 +0530 Subject: [PATCH] [sdf] Add 'sdf' module to non-gnumake build systems. * include/freetype/config/ftmodule.h: Add both the 'sfd' and 'bsfd' renderers to the list of modules. * CMakeLists.txt (BASE_SRCS): Add 'sdf' single-object module. --- CMakeLists.txt | 1 + ChangeLog | 9 +++++++++ include/freetype/config/ftmodule.h | 2 ++ 3 files changed, 12 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ed55aad7..f59779451 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -347,6 +347,7 @@ set(BASE_SRCS src/pshinter/pshinter.c src/psnames/psnames.c src/raster/raster.c + src/sdf/sdf.c src/sfnt/sfnt.c src/smooth/smooth.c src/truetype/truetype.c diff --git a/ChangeLog b/ChangeLog index 4bb3a20d7..d959aa800 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2020-08-20 Anuj Verma + + [sdf] Add 'sdf' module to non-gnumake build systems. + + * include/freetype/config/ftmodule.h: Add both the 'sfd' and 'bsfd' + renderers to the list of modules. + + * CMakeLists.txt (BASE_SRCS): Add 'sdf' single-object module. + 2020-08-20 Anuj Verma [sdf] Added basic overlapping contour support. 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 */