Skip to content

Commit

Permalink
docs: hide spacers
Browse files Browse the repository at this point in the history
  • Loading branch information
mishamyrt committed May 9, 2024
1 parent 34e9384 commit db874ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preview/src/blocks/GlyphsTable/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function renderGlyphs (font: Font) {
svgNode.setAttribute('viewBox', '0 0 162 71')
for (let i = 0; i < font.glyphs.length; i++) {
const glyph = font.glyphs.get(i)
if (!glyph.name) {
if (!glyph.name || glyph.name.endsWith('spacer')) {
continue
}
const path = glyph.getPath(0, 0, 162)
Expand Down

0 comments on commit db874ac

Please sign in to comment.