]> git.eshelyaron.com Git - emacs.git/commit
Introduce the rudiments of a new font rasterizer
authorPo Lu <luangruo@yahoo.com>
Sun, 17 Dec 2023 12:51:54 +0000 (20:51 +0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 21 Dec 2023 20:52:37 +0000 (21:52 +0100)
commita85c5bfab5d1df2f6fa9dc0cd13598b13b99a2c8
tree6457d410faa8a04f711abffa905f3befa7ad4a50
parent244c78f44d3aef47d49413936e9c4f67ac3a4882
Introduce the rudiments of a new font rasterizer

* src/sfnt.c (xzalloc): New function.
(sfnt_poly_edges): Remove redundant statement.
(sfnt_add, sfnt_sub, sfnt_mul): Move macro definitions above the
new scaler.
(sfnt_build_outline_fedges, sfnt_insert_raster_step)
(sfnt_fedge_sort, sfnt_poly_edges_exact, sfnt_compute_fill)
(sfnt_poly_steps, sfnt_raster_steps, sfnt_raster_edges_exact)
(sfnt_raster_glyph_outline_exact): New functions, presently
disabled.
(sfnt_x_raster, main): Introduce new tests.

(cherry picked from commit 6f14fc5f3d4f6de489de3079f3dc3ff486b270c6)
src/sfnt.c