From 6ddd490191b11ae7ac02f8d69486c771e0803a00 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 10 Feb 2023 14:24:03 -0700 Subject: [PATCH] [path-builder] Comment re cubic --- src/OT/glyf/path-builder.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/OT/glyf/path-builder.hh b/src/OT/glyf/path-builder.hh index 553c3d381..e35a4dafd 100644 --- a/src/OT/glyf/path-builder.hh +++ b/src/OT/glyf/path-builder.hh @@ -38,7 +38,9 @@ struct path_builder_t /* based on https://github.com/RazrFalcon/ttf-parser/blob/4f32821/src/glyf.rs#L287 See also: * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM01/Chap1.html - * https://stackoverflow.com/a/20772557 */ + * https://stackoverflow.com/a/20772557 + * + * Cubic support added (incomplete). */ void consume_point (const contour_point_t &point) { bool is_on_curve = point.flag & glyf_impl::SimpleGlyph::FLAG_ON_CURVE;