2020-06-20 07:00:39 +02:00
|
|
|
2020-06-20 Anuj Verma <anujv@iitbhilai.ac.in>
|
|
|
|
|
|
|
|
[sdf] Implemented a few functions required by a renderer
|
|
|
|
module.
|
|
|
|
|
|
|
|
* src/sdf/ftsdf.c (sdf_TRaster_): Added new structure to hold
|
|
|
|
the memory allocator `FT_Memory'.
|
|
|
|
|
|
|
|
* src/sdf/ftsdf.c (ft_sdf_raster): Implemented a few essential
|
|
|
|
functions required by `FT_Raster'.
|
|
|
|
|
|
|
|
* src/sdf/ftsdfrend.c (ft_sdf_renderer_class): Implemented a few
|
|
|
|
essential functions required by `FT_Renderer'.
|
|
|
|
|
|
|
|
* src/sdf/ftsdfrend.c (ft_sdf_render): Added functionality to
|
|
|
|
compute shift and padding before rendering the outline.
|
|
|
|
|
2020-06-19 13:20:24 +02:00
|
|
|
2020-06-19 Anuj Verma <anujv@iitbhilai.ac.in>
|
|
|
|
|
|
|
|
* include/freetype/ftimage.h (FT_Render_Mode_): Added new
|
|
|
|
pixel mode `FT_PIXEL_MODE_GRAY16' which will be used
|
|
|
|
to represent signed values while rendering to SDF bitmap.
|
|
|
|
|
2020-06-19 05:56:41 +02:00
|
|
|
2020-06-19 Anuj Verma <anujv@iitbhilai.ac.in>
|
|
|
|
|
|
|
|
* include/freetype/freetype.h (FT_Render_Mode_): Added new
|
|
|
|
rendermode `FT_RENDER_MODE_SDF' which will be used by the
|
|
|
|
`sdf' module to generate signed distance fields from glyph's
|
|
|
|
outline.
|
|
|
|
|
|
|
|
* src/sdf/ftsdfrend.h, src/sdf/module.mk, src/sdf/rules.mk:
|
|
|
|
Add a new line at the end of files.
|
|
|
|
|
2020-06-18 06:46:40 +02:00
|
|
|
2020-06-18 Anuj Verma <anujv@iitbhilai.ac.in>
|
|
|
|
|
|
|
|
[sdf] Added the structure of a new module to render
|
2020-06-18 06:54:13 +02:00
|
|
|
signed distance fields.
|
2020-06-18 06:46:40 +02:00
|
|
|
|
|
|
|
* src/sdf/sdf.c, src/sdf/ftsdfrend.c, src/sdf/ftsdf.c,
|
|
|
|
src/sdf/ftsdfrend.h, src/sdf/ftsdf.h, src/sdf/ftsdferrs.h:
|
|
|
|
Added files required by the `sdf' renderer module and added
|
|
|
|
the basic structure and functions required.
|
|
|
|
|
|
|
|
* src/sdf/rules.mk, src/sdf/module.mk: Added files required to
|
|
|
|
build the `sdf' module using the default build system.
|
|
|
|
|
2020-06-20 07:00:39 +02:00
|
|
|
* CMakeLists.txt (BASE_SRCS): Add `src/sdf/sdf.c' to the variable.
|
2020-06-18 06:46:40 +02:00
|
|
|
|
|
|
|
* include/freetype/config/ftmodule.h: Added `sdf' module
|
2020-06-18 06:54:13 +02:00
|
|
|
declaration so that the module can be compiled when not compiling
|
2020-06-18 06:46:40 +02:00
|
|
|
with GNU make.
|
|
|
|
|
|
|
|
* modules.cfg (RASTER_MODULES): Include `sdf' module to the default
|
|
|
|
rasterizer module list.
|
|
|
|
|
2020-06-18 06:54:13 +02:00
|
|
|
* include/freetype/ftmoderr.h: sdf module error define
|