[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] anuj-distance-field f4918e1 63/93: Revert "[sdfb] Fix GNU Ma
From: |
Anuj Verma |
Subject: |
[freetype2] anuj-distance-field f4918e1 63/93: Revert "[sdfb] Fix GNU Make build." |
Date: |
Sun, 2 Aug 2020 07:04:24 -0400 (EDT) |
branch: anuj-distance-field
commit f4918e139c99f2fe4033d02f05cafaf0c569518b
Author: Anuj Verma <anujv@iitbhilai.ac.in>
Commit: anujverma <anujv@iitbhilai.ac.in>
Revert "[sdfb] Fix GNU Make build."
This reverts commit 0d9179f4e8cdb02986f5d01f178364e3f2b8dc07.
---
[GSoC]ChangeLog | 14 --------------
src/sdf/ftsdf.c | 1 +
src/sdf/ftsdf.h | 2 +-
src/sdfb/rules.mk | 4 ++--
4 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/[GSoC]ChangeLog b/[GSoC]ChangeLog
index b1ab116..19f3392 100644
--- a/[GSoC]ChangeLog
+++ b/[GSoC]ChangeLog
@@ -1,17 +1,3 @@
-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.
diff --git a/src/sdf/ftsdf.c b/src/sdf/ftsdf.c
index 5651fa7..ae3445c 100644
--- a/src/sdf/ftsdf.c
+++ b/src/sdf/ftsdf.c
@@ -2913,6 +2913,7 @@
{
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 d06f59a..475393a 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/sdfb/rules.mk b/src/sdfb/rules.mk
index be3abe3..b17b008 100644
--- a/src/sdfb/rules.mk
+++ b/src/sdfb/rules.mk
@@ -16,13 +16,13 @@ SDFB_COMPILE := $(CC) $(ANSIFLAGS)
\
# sdf bitmap driver sources (i.e., C files)
#
SDFB_DRV_SRC := $(SDFB_DIR)/ftsdfbrend.c \
- $(SDFB_DIR)/ftsdfb.c
+ $(SDFB_DIR)/ftsdfb.c
# sdf bitmap driver headers
#
SDFB_DRV_H := $(SDFB_DRV_SRC:%.c=%.h) \
- $(SDFB_DIR)/ftsdfberrs.h
+ $(SDFB_DIR)/ftsdferrs.h
# sdf bitmap driver object(s)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] anuj-distance-field f4918e1 63/93: Revert "[sdfb] Fix GNU Make build.",
Anuj Verma <=