From: Ben Harris Date: Sun, 26 Apr 2020 11:34:46 +0000 (+0100) Subject: Add a few musical symbols X-Git-Tag: bedstead-002.002~35 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=84faed5e4c8177709bdb1f271a32af15d9b12e19;p=bedstead.git Add a few musical symbols 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. --- diff --git a/bedstead.c b/bedstead.c index 05b6122..cbc423c 100644 --- a/bedstead.c +++ b/bedstead.c @@ -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 */