From 66824e1bf9a6b0b62a8fc152b19f8a381bf49185 Mon Sep 17 00:00:00 2001 From: ahaoboy <504595380@qq.com> Date: Fri, 14 Mar 2025 08:38:10 +0800 Subject: [PATCH] fix cr --- docs/glyph-inspector.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/glyph-inspector.html b/docs/glyph-inspector.html index cc49e23e..aedc4889 100644 --- a/docs/glyph-inspector.html +++ b/docs/glyph-inspector.html @@ -161,7 +161,7 @@

Free Software

html += '
leftSideBearing
'+glyph.leftSideBearing+'
'; } html += ''; - if (glyph.numberOfContours > 0) { + if (glyph.numberOfContours > 0 && window.font.variation) { var contours = glyph.getContours(window.font.variation.getTransform(glyph, window.fontOptions.variation).points); html += 'contours:
' + contours.map(contourToString).join('\n') + '
'; } else if (glyph.isComposite) {