Skip to content

Commit 40108cc

Browse files
committed
fix glyphs inspector
1 parent 03c7d6f commit 40108cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/fonts/inspector/glyphs.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ <h1 id="title">Glyph Inspector</h1>
5454
<a href="#" onclick="chooseFont('Bravura')">Bravura</a> &nbsp;
5555
<a href="#" onclick="chooseFont('Gonville')">Gonville</a> &nbsp;
5656
<a href="#" onclick="chooseFont('Petaluma')">Petaluma</a> &nbsp;
57+
<a href="#" onclick="chooseFont('Leland')">Leland</a> &nbsp;
5758
<a href="#" onclick="chooseFont('Custom')">Custom</a> &nbsp;
5859
</div>
5960
<canvas id="glyphs"></canvas>
@@ -64,7 +65,7 @@ <h1 id="title">Glyph Inspector</h1>
6465
document.getElementById('title').innerText = 'Glyph Inspector – ' + fontName;
6566

6667
/* Version 4.0.0 */
67-
const font = Vex.Flow.setMusicFont(fontName);
68+
const font = Vex.Flow.setMusicFont(fontName)[0];
6869

6970
/* Version 3.0.9 */
7071
// const font = Vex.Flow.Fonts[fontName]();

0 commit comments

Comments
 (0)