summaryrefslogtreecommitdiff
path: root/include/freetype/internal/tttypes.h
diff options
context:
space:
mode:
authorAnuj Verma <anuj@womp.xyz>2022-03-04 16:58:50 +0530
committerWerner Lemberg <wl@gnu.org>2022-03-05 17:00:10 +0100
commit360e2507a38588e19fa6d2fc30706db74db0d958 (patch)
treef228b986d4acb6ee8d75b96602dcc8ce5f00e3c1 /include/freetype/internal/tttypes.h
parent2600ef637ef29bcfceb533e554463b4a1ee96f49 (diff)
downloadfreetype2-360e2507a38588e19fa6d2fc30706db74db0d958.tar.gz
[sdf] Fix corner checks and improve performance.
* src/sdf/ftsdf.c (sdf_generate_bounding_box): Always check for a corner if two distances (for different curves) are very close. (sdf_conic_to): Check whether the conic curve can be treated as a line (which happens if the control point coincides with any end point).
Diffstat (limited to 'include/freetype/internal/tttypes.h')
0 files changed, 0 insertions, 0 deletions