[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] anuj-distance-field 13cbf3d 65/95: [sdfb] Removed Module.
From: |
Anuj Verma |
Subject: |
[freetype2] anuj-distance-field 13cbf3d 65/95: [sdfb] Removed Module. |
Date: |
Sun, 2 Aug 2020 01:10:37 -0400 (EDT) |
branch: anuj-distance-field
commit 13cbf3d345eac86b8ef1a6b489f1803791e5a8d9
Author: Anuj Verma <anujv@iitbhilai.ac.in>
Commit: Anuj Verma <anujv@iitbhilai.ac.in>
[sdfb] Removed Module.
Remove sdfb module. Instead of a new module
simply create a new renderer in the `sdf'
module for converting bitmaps to SDF.
---
[GSoC]ChangeLog | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
src/sdf/ftsdf.c | 1 -
src/sdf/ftsdf.h | 2 +-
src/sdf/rules.mk | 2 ++
4 files changed, 52 insertions(+), 2 deletions(-)
diff --git a/[GSoC]ChangeLog b/[GSoC]ChangeLog
index 7a2f7c2..dcdfd72 100644
--- a/[GSoC]ChangeLog
+++ b/[GSoC]ChangeLog
@@ -1,3 +1,52 @@
+2020-07-18 Anuj Verma <anujv@iitbhilai.ac.in>
+
+ [sdfb] Removed Module.
+
+ Remove sdfb module. Instead of a new module
+ simply create a new renderer in the `sdf'
+ module for converting bitmaps to SDF.
+
+2020-07-18 Anuj Verma <anujv@iitbhilai.ac.in>
+
+ [sdfb] Fix GNU Make build.
+
+ * src/sdfb/rules.mk (SDFB_DRV_H): Fix name of
+ the module specific error file `ftsdfberrs.h'.
+
+ * src/sdf/ftsdf.h (Optimizations): Fix warning.
+ `warning: comma at end of enumerator list [-Wpedantic]'
+
+ * src/sdf/ftsdf.c (sdf_generate_coarse_grid): Remove
+ unused variable `cindex', causes warning.
+ `warning: unused variable 'cindex' [-Wunused-variable]'
+
+2020-07-17 Anuj Verma <anujv@iitbhilai.ac.in>
+
+ [sdfb] Added new module to generate SDF from bitmap.
+
+ * src/sdfb/sdfb.c, src/sdfb/ftsdfbrend.c,
+ src/sdfb/ftsdfb.c, src/sdfb/ftsdfbrend.h,
+ src/sdfb/ftsdfb.h, src/sdfb/ftsdfberrs.h:
+ Added files required by the `sdfb' renderer module.
+
+ * src/sdfb/rules.mk, src/sdfb/module.mk: Added
+ files required to build the `sdfb' module using
+ the default build system.
+
+ * CMakeLists.txt (BASE_SRCS): Add `src/sdfb/sdfb.c'
+ to the variable.
+
+ * include/freetype/config/ftmodule.h: Added `sdfb'
+ module declaration so that the module can be compiled
+ when not compiling with GNU make.
+
+ * modules.cfg (RASTER_MODULES): Include `sdfb' module
+ to the default rasterizer module list.
+
+ * include/freetype/ftmoderr.h: sdfb module error define
+
+ * src/sdf/rules.mk: Add EOF.
+
2020-07-17 Anuj Verma <anujv@iitbhilai.ac.in>
[sdf] Added memory tracker.
diff --git a/src/sdf/ftsdf.c b/src/sdf/ftsdf.c
index ae3445c..5651fa7 100644
--- a/src/sdf/ftsdf.c
+++ b/src/sdf/ftsdf.c
@@ -2913,7 +2913,6 @@
{
for ( i = 0; i < CG_DIMEN; i++ )
{
- FT_Int cindex = j * CG_DIMEN + i;
SDF_Contour* cont = contours;
SDF_Edge* edge;
SDF_Edge* relevant_list;
diff --git a/src/sdf/ftsdf.h b/src/sdf/ftsdf.h
index 475393a..d06f59a 100644
--- a/src/sdf/ftsdf.h
+++ b/src/sdf/ftsdf.h
@@ -22,7 +22,7 @@ FT_BEGIN_HEADER
OPTIMIZATION_NONE = 0, /* default: check all points against all edges */
OPTIMIZATION_BB = 1, /* use bounding box to check nearby grid points */
OPTIMIZATION_SUB = 2, /* subdivide then use bounding box */
- OPTIMIZATION_CG = 3, /* use coarse grid to only check relevant edges */
+ OPTIMIZATION_CG = 3 /* use coarse grid to only check relevant edges */
} Optimizations;
/* --------- */
diff --git a/src/sdf/rules.mk b/src/sdf/rules.mk
index efc8ac5..214725e 100644
--- a/src/sdf/rules.mk
+++ b/src/sdf/rules.mk
@@ -56,3 +56,5 @@ $(OBJ_DIR)/%.$O: $(SDF_DIR)/%.c $(FREETYPE_H) $(SDF_DRV_H)
#
DRV_OBJS_S += $(SDF_DRV_OBJ_S)
DRV_OBJS_M += $(SDF_DRV_OBJ_M)
+
+# EOF
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] anuj-distance-field 13cbf3d 65/95: [sdfb] Removed Module.,
Anuj Verma <=