From 87eacb3aeecf25e6aa1a090e034343f391b1b9a0 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sun, 27 Aug 2023 17:50:37 +0200 Subject: [PATCH] videoplayer: add two more symbols just in case --- videoplayer/src/osd.rs | 80 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/videoplayer/src/osd.rs b/videoplayer/src/osd.rs index 0262c8e..1dfff42 100644 --- a/videoplayer/src/osd.rs +++ b/videoplayer/src/osd.rs @@ -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: ' ', -- 2.39.5