Comment

Comment by dutzi

Another thing about these chords ligatures is that they are “zero-width”. When you type /a/ it will get replaced with a the ligature for the A chords, which is a the shape of “A”, above the line (translateY: -150%), and report “advanceWidth: 0”, so the next character shares the same X position. Now, if you want to add m6 to it, I technically cannot support rendering it “to the right of the A”, since its width was set to 0. So I need to pack the font itself with both the A and the Am6 ligatures…

I think a more “advanced” use case like the one you described can be addressed by something like https://lilypond.org

parent dutzi 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton