[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.
This commit is contained in:
parent
80ba40341c
commit
c09257f0dd
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
/* --------- */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue