]> git.nihav.org Git - nihav-player.git/commitdiff
videoplayer: add two more symbols just in case
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 27 Aug 2023 15:50:37 +0000 (17:50 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 27 Aug 2023 15:50:37 +0000 (17:50 +0200)
videoplayer/src/osd.rs

index 0262c8e97428de0d70f1337666c0280691aac37a..1dfff4217764b34de005560031de045af33f0b25 100644 (file)
@@ -645,6 +645,86 @@ const OSD_GLYPHS: &[Glyph] = &[
             0b_0000000000000000
         ],
     },
+    Glyph {
+        width:  7,
+        sym:    '.',
+        bits:   [
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000011100,
+            0b_0000000000011100,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000
+        ],
+        mask:   [
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000011100,
+            0b_0000000000111110,
+            0b_0000000000111110,
+            0b_0000000000011100,
+            0b_0000000000000000,
+            0b_0000000000000000
+        ],
+    },
+    Glyph {
+        width:  12,
+        sym:    'x',
+        bits:   [
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000001110011100,
+            0b_0000000111111000,
+            0b_0000000011110000,
+            0b_0000000011110000,
+            0b_0000000111111000,
+            0b_0000001110011100,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000
+        ],
+        mask:   [
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000000000000000,
+            0b_0000001110011100,
+            0b_0000011111111110,
+            0b_0000011111111110,
+            0b_0000001111111100,
+            0b_0000001111111100,
+            0b_0000011111111110,
+            0b_0000011111111110,
+            0b_0000001110011100,
+            0b_0000000000000000,
+            0b_0000000000000000
+        ],
+    },
     Glyph {
         width:  12,
         sym:    ' ',