diff options
author | Anuj Verma <anujv@posteo.net> | 2022-01-27 15:23:47 +0530 |
---|---|---|
committer | Anuj Verma <anujv@posteo.net> | 2022-01-27 15:23:47 +0530 |
commit | a75690c85556a076b35b4d1464f201a94c2d33f1 (patch) | |
tree | 39abc3f9060ffdf9678ca155ffde8a2a59169555 /builds/windows/ftdebug.c | |
parent | 3d77756e73c61ab37eb020a32730cda8efab79ff (diff) | |
download | freetype2-fix-sdf-squared-distances.tar.gz |
[sdf] Fix sdf computation while `USE_SQUARED_DISTANCES`.fix-sdf-squared-distances
Function `map_fixed_to_sdf` expect spread to be absolute
and not squared.
* src/sdf/ftbsdf.c (finalize_sdf): Pass absolute spread
while `map_fixed_to_sdf`.
* src/sdf/ftsdf.c (sdf_generate_bounding_box): Ditto.
Diffstat (limited to 'builds/windows/ftdebug.c')
0 files changed, 0 insertions, 0 deletions