freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] GSoC-2020-anuj 1df094b 2/2: [sdf] Added `sdf' module to non


From: Anuj Verma
Subject: [freetype2] GSoC-2020-anuj 1df094b 2/2: [sdf] Added `sdf' module to non gnumake build systems.
Date: Wed, 19 Aug 2020 22:58:39 -0400 (EDT)

branch: GSoC-2020-anuj
commit 1df094bd7ab231c2302d4410a6be5aa7c59c1f1d
Author: Anuj Verma <anujv@iitbhilai.ac.in>
Commit: Anuj Verma <anujv@iitbhilai.ac.in>

    [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 c9befb4..e10895b 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 b5c4b1e..2b46009 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 */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]