diff options
author | Marvin Borner | 2019-10-29 22:45:59 +0100 |
---|---|---|
committer | Marvin Borner | 2019-10-29 22:45:59 +0100 |
commit | b77b45f2db97215e596a83a54991bd728feb278b (patch) | |
tree | b872d8f9aa80f15c2307d9162a805a122642c96a /src | |
parent | 6caf299700d4db3586154e875851e786814a3b5a (diff) |
Fixed multi-byte font conversion
Diffstat (limited to 'src')
-rwxr-xr-x | src/kernel/graphics/conv.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |