forked from minhngoc25a/freetype2
Revert "[sdfb] Fix GNU Make build."
This reverts commit 0d9179f4e8cdb02986f5d01f178364e3f2b8dc07.
This commit is contained in:
parent
fca2ed969c
commit
f4918e139c
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
/* --------- */
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue