git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
latin: substitution glyphs for cards and ics
[sheet.git]
/
writing-latn.inc.pl
diff --git
a/writing-latn.inc.pl
b/writing-latn.inc.pl
index 403e36f94bdb36d8293dc6923a0484aebcd96496..0da2ab11ad3dbc1bba27d23354845597983c5f1f 100644
(file)
--- a/
writing-latn.inc.pl
+++ b/
writing-latn.inc.pl
@@
-93,10
+93,10
@@
my $U = 0; # optional unicode alternatives
'Cards' => [(
map { chr(0x1F0A0 + $_), sprintf('<b>%s</b>', chr(0x1F0B0 + $_)) } # spades, hearts
1 .. 11, 13, 14 # A 2-10 J Q K
'Cards' => [(
map { chr(0x1F0A0 + $_), sprintf('<b>%s</b>', chr(0x1F0B0 + $_)) } # spades, hearts
1 .. 11, 13, 14 # A 2-10 J Q K
-],
+
), '', chr(0x1F0CF), chr(0x1F0DF)
],
'Maritime flags' => [
# International Code of Signals, SVG fills
'Maritime flags' => [
# International Code of Signals, SVG fills
- map { '<svg width="20" height="20" viewBox="0 0 30 30">'.s/\n?\t+//gr.'</svg>' }
+ map {
!!$_ &&
'<svg width="20" height="20" viewBox="0 0 30 30">'.s/\n?\t+//gr.'</svg>' }
split /\n\n/, qq{
<path fill="$C{blue}" d="M0,0 h30 l-7.5,15 7.5,15 h-30 z"/>
<path fill="white" d="M0,0 h15 v30 h-15"/>
split /\n\n/, qq{
<path fill="$C{blue}" d="M0,0 h30 l-7.5,15 7.5,15 h-30 z"/>
<path fill="white" d="M0,0 h15 v30 h-15"/>
@@
-188,6
+188,14
@@
my $U = 0; # optional unicode alternatives
<path fill="$C{blue}" d="M30,0 v31 l-15,-15"/>
<path fill="$C{yellow}" d="M0,0 h31 l-15,15"/>
<path fill="$C{red}" d="M0,30 h31 l-15,-15"/>
<path fill="$C{blue}" d="M30,0 v31 l-15,-15"/>
<path fill="$C{yellow}" d="M0,0 h31 l-15,15"/>
<path fill="$C{red}" d="M0,30 h31 l-15,-15"/>
+
+
+
+ <path fill="$C{blue}" d="M0,5 30,15 0,25"/>
+ <path fill="$C{yellow}" d="M0,9 20,15 0,21"/>
+
+ <path fill="$C{blue}" d="M0,5 30,15 0,25"/>
+ <path fill="white" d="M15,10 30,15 15,20"/>
},
],
'Flag semaphore' => [
},
],
'Flag semaphore' => [