latin: code128 bar code row (unicode)
[sheet.git] / writing-latn.inc.pl
index ef14053cefdb18350422984041db006c7f376284..85c292e855cdeccb7c19697a2055217c802caf72 100644 (file)
@@ -199,6 +199,14 @@ my %C = qw(red #EC1C24  blue #3953A3  yellow #F9EC31  black #231F20);
                201112 102112 202111 101212 201211 102211
        )
 ],
+'Code 128' => [
+       map { tr/1-3-/❘❙❚ /r }
+       # bar widths (1-3) followed by space of width 1 (implied) or 3 (-)
+       qw(
+               11-2 1-12 1-1-2 12-1 1-21 1-2-1 21-1 2-11 2-1-1 123  12-3 1-23 132
+               13-2 1-32 332   21-3 2-13 231   23-1 233  312   31-2 3-12 321  32-1
+       )
+],
 '<abbr title="Royal Mail 4-State Customer Code">RM4SCC</abbr>' => [
        map { sprintf
                '<svg width="20" height="20" viewBox="0 0 8 6">'