From b77b45f2db97215e596a83a54991bd728feb278b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 29 Oct 2019 22:45:59 +0100 Subject: Fixed multi-byte font conversion --- src/kernel/graphics/conv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/graphics/conv.sh b/src/kernel/graphics/conv.sh index 24c9bb3..ff922dd 100755 --- a/src/kernel/graphics/conv.sh +++ b/src/kernel/graphics/conv.sh @@ -1,6 +1,5 @@ #!/bin/sh # bdf2c output formatter -# TODO: Currently only works with 1 byte widths font_url="https://raw.githubusercontent.com/fcambus/spleen/master/spleen-8x16.bdf" character_count=758 @@ -19,6 +18,7 @@ sed -i -e 1,74d final.h sed -i -e :a -e '$d;N;2,1533ba' -e 'P;D' final.h sed -i "1s/.*/$top_lines/" final.h +sed -i 's/\,0x//g' final.h sed -i -z "s/$font_height\n /$font_height\n \{/g" final.h sed -i -z 's/\,\n\/\//\}\,\n\/\//g' final.h sed -i 's/\/\/ [0-9]/ \/\/ /g' final.h -- cgit v1.2.3