We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa8ad76 commit c06b7c8Copy full SHA for c06b7c8
docs/glyph-inspector.html
@@ -161,7 +161,7 @@ <h1>Free Software</h1>
161
html += '<dt>leftSideBearing</dt><dd>'+glyph.leftSideBearing+'</dd>';
162
}
163
html += '</dl>';
164
- if (glyph.numberOfContours > 0) {
+ if (glyph.numberOfContours > 0 && window.font.variation) {
165
var contours = glyph.getContours(window.font.variation.getTransform(glyph, window.fontOptions.variation).points);
166
html += 'contours:<div id="glyph-contours">' + contours.map(contourToString).join('\n') + '</div>';
167
} else if (glyph.isComposite) {
0 commit comments