chiark / gitweb /
Add a few musical symbols
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 26 Apr 2020 11:34:46 +0000 (12:34 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 26 Apr 2020 11:34:46 +0000 (12:34 +0100)
I thought repeat marks might be useful, and ended up doing a few others.
The repeat marks and clefs are based on the assumption that a five-line
stave fills the character cell and that you're using the clefs in their
most common position.

bedstead.c

index 05b6122a6fff14b71a767fc3043d6d190cd9a564..cbc423cfe7866e347a5a63319f344d613c3385bc 100644 (file)
@@ -1632,6 +1632,17 @@ static struct glyph {
  {{000,000,027,030,020,020,020,000,000}, U(1047E) }, /* ian */
  {{000,000,020,020,022,025,015,000,000}, U(1047F) }, /* yew */
 
+ /* Musical symbols */
+ {{024,024,024,025,024,025,024,024,024}, U(1D106) }, /* start repeat */
+ {{005,005,005,025,005,025,005,005,005}, U(1D107) }, /* end repeat */
+ {{004,012,012,012,014,026,025,016,004}, U(1D11E) }, /* G clef */
+ {{025,025,025,026,024,026,025,025,025}, U(1D121) }, /* C clef */
+ {{010,025,004,005,010,020,000,000,000}, U(1D122) }, /* F clef */
+ {{000,033,033,004,033,033,000,000,000}, U(1D12A) }, /* double sharp */
+ {{000,000,037,016,037,000,000,000,000}, U(1D13A) }, /* breve rest */
+ {{000,000,037,016,000,000,000,000,000}, U(1D13B) }, /* semibreve rest */
+ {{000,000,000,016,037,000,000,000,000}, U(1D13C) }, /* minim rest */
+
  /* Transport and map symbols */
  {{004,012,012,012,033,033,025,000,000}, U(1F680) }, /* rocket */
  {{000,034,010,011,027,010,000,000,000}, U(1F681) }, /* helicopter */