latin: moon row in svg
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 20 May 2017 17:21:40 +0000 (19:21 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 5 Jun 2017 00:59:16 +0000 (02:59 +0200)
Draw glyphs after all as Unicode allocation does not seem to progress.
Hand coded with inspiration from samples in n4128.

TODO
writing-latn.inc.pl

diff --git a/TODO b/TODO
index f8b408164855de982d705d9fac558624134dbf68..6d2f341e823e924a8d7c16e966e2271cf3efaef5 100644 (file)
--- a/TODO
+++ b/TODO
@@ -13,7 +13,6 @@
 - cron to backup (browser) data
 - improve font pages
 - latin: barcodes as svg to fix browser/font issues
 - cron to backup (browser) data
 - improve font pages
 - latin: barcodes as svg to fix browser/font issues
-- latin: moon (wait for unicode support?)
 - writing: split brahmic scripts
 - writing: compare latest unicode for missing (brahmic) scripts
 - footer options clickable to change (javascript)
 - writing: split brahmic scripts
 - writing: compare latest unicode for missing (brahmic) scripts
 - footer options clickable to change (javascript)
index 4c10d46b93be80926d3b33e84b1bef9731b2e5b8..57193c8c8376d96f14be33b60a24b625537d5404 100644 (file)
@@ -240,6 +240,38 @@ ita2 => {
                00100
        )],
 },
                00100
        )],
 },
+moon => {
+       list => [
+               map { qq(<svg width="14" height="14" viewBox="-.5 -.5 7 7"><path d="$_"/></svg>) }
+               'M0,6 3,0 6,6',
+               'M1,0 V4 A2,2 0,0,0 5,4',
+               'M5,0 A4.5,3 0,0,0 5,6',
+               'M1,0 A4.5,3 0,0,1 1,6',
+               'M0,6 V0 H6',
+               'M1,6 V2 A2,2 0,0,1 5,2',
+               'M5,6 V2 A2,2 0,1,0 1,2',
+               'M1.5,3 A1.5,1.5 0,0,0 4.5,3 1.5,1.5 0,0,0 1.5,3 M3,1.5 A1,1.5 0,0,0 3,4.5',
+               'M3,0 V6',
+               'M5,0 V4 A2,2 0,0,1 1,4',
+               'M6,0 0,3 6,6',
+               'M0,0 V6 H6',
+               'M0,0 H6 V6',
+               'M0,6 V2 L6,6 V0',
+               'M0,3 A3,3 0,0,0 6,3 3,3 0,0,0 0,3',
+               'M6,4 H2 A2,1 0,0,1 2,2',
+               'M0,4 H4 A2,1 0,0,0 4,2',
+               'M0,0 6,6',
+               'M0,6 6,0',
+               'M0,3 H6',
+               'M0,0 V3 A3,3 0,0,0 6,3 V0',
+               'M0,0 3,6 6,0',
+               'M0,6 V3 A3,3 0,0,1 6,3 V6',
+               'M0,0 6,3 0,6',
+               'M6,0 V6 H0',
+               'M0,0 H6 L2,6 H6',
+       ],
+       style => 'svg path { stroke-linecap: round; stroke-linejoin: round }',
+},
 braille => {
        list => [qw{ ⠁ ⠃ ⠉ ⠙ ⠑ ⠋ ⠛ ⠓ ⠊ ⠚ ⠅ ⠇ ⠍ ⠝ ⠕ ⠏ ⠟ ⠗ ⠎ ⠞ ⠥ ⠧ ⠺ ⠭ ⠽ ⠵ }],
 },
 braille => {
        list => [qw{ ⠁ ⠃ ⠉ ⠙ ⠑ ⠋ ⠛ ⠓ ⠊ ⠚ ⠅ ⠇ ⠍ ⠝ ⠕ ⠏ ⠟ ⠗ ⠎ ⠞ ⠥ ⠧ ⠺ ⠭ ⠽ ⠵ }],
 },