commit | ab950e18f4f9bf0ea2b4ba6bb9eb3379be3b1a2d | [log] [tgz] |
---|---|---|
author | Anuj Verma <anuj@womp.xyz> | Fri Mar 04 16:58:50 2022 +0530 |
committer | Anuj Verma <anuj@womp.xyz> | Fri Mar 04 16:58:50 2022 +0530 |
tree | 8616a364a4228df77738f641e37a3683b957d353 | |
parent | b3d917d2f8b1c2daefae0644fcc6320fac5220a3 [diff] |
[sdf] Fixed corner checks and improved performance. * src/sdf/ftsdf.c (sdf_generate_bounding_box): Always check for corner if two distance (for different curves) are very close. * src/sdf/ftsdf.c (sdf_conic_to): Added check to figure out if the conic can be treated as a line (which happens if the control point coincide with any end-point).