freetype2/src
Anuj Verma 1d51c5ef7b [sdf] Added interface functions for `bsdf' converter.
* src/base/ftobjs.c (FT_Render_Glyph_Internal): Remove
  the bitmap check which prevent calling renderers
  if the glyph is already a bitmap. The `bsdf' renderer
  requires a bitmap for conversion.

* src/base/ftobjs.c (ft_add_renderer): Remove the glyph
  format check which ensures that the glyph format for
  a renderer is `FT_GLYPH_FORMAT_OUTLINE', again the `bsdf'
  renderer has `FT_GLYPH_FORMAT_BITMAP' as a glyph format,
  so we need to remove the condition to initialize the
  renderer properly.

* src/sdf/ftbsdf.c (*): Added a rasterizer for the
  `bsdf' renderer and created necessary functions.

* src/sdf/ftbsdf.h: Add forward declaration of the
  rasterizer.

* src/sdf/ftsdfrend.c (ft_bitmap_sdf_renderer_class):
  Define the new `bsdf' rendere and add the
  `FT_Renderer_RenderFunc' function, the rest is
  same as the `sdf' renderer.

* src/sdf/ftsdfrend.h: Add forward declaration of the
  renderer.

* src/sdf/rules.mk (SDF_DRV_SRC): Add the new `ftbsdf.c'
  file to the compile list.

* src/sdf/sdf.c: Inclue the `ftbsdf.c' file if making
  single object.
2020-08-02 16:33:20 +05:30
..
autofit Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
base [sdf] Added interface functions for `bsdf' converter. 2020-08-02 16:33:20 +05:30
bdf Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
bzip2 Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
cache Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
cff Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
cid Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
gxvalid [build] Really fix multi and C++ builds. 2020-07-07 06:51:09 +02:00
gzip Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
lzw [build] Really fix multi and C++ builds. 2020-07-07 06:51:09 +02:00
otvalid Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
pcf Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
pfr Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
psaux Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
pshinter Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
psnames Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
raster Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
sdf [sdf] Added interface functions for `bsdf' converter. 2020-08-02 16:33:20 +05:30
sfnt Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
smooth Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
tools Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
truetype Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
type1 Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
type42 Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
winfonts Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00