cores/video/VideoTerminal: Avoid downloading font is present locally.
This commit is contained in:
parent
7e1d2bdf9b
commit
b020d4cf62
|
@ -439,8 +439,10 @@ class VideoTerminal(Module):
|
||||||
|
|
||||||
# Font Mem.
|
# Font Mem.
|
||||||
# ---------
|
# ---------
|
||||||
os.system("wget https://github.com/enjoy-digital/litex/files/6076336/ter-u16b.txt") # FIXME: Store Font in LiteX?
|
# FIXME: Store Font in LiteX?
|
||||||
os.system("mv ter-u16b.txt ter-u16b.bdf")
|
if not os.path.exists("ter-u16b.bdf"):
|
||||||
|
os.system("wget https://github.com/enjoy-digital/litex/files/6076336/ter-u16b.txt")
|
||||||
|
os.system("mv ter-u16b.txt ter-u16b.bdf")
|
||||||
font = import_bdf_font("ter-u16b.bdf")
|
font = import_bdf_font("ter-u16b.bdf")
|
||||||
font_width = 8
|
font_width = 8
|
||||||
font_heigth = 16
|
font_heigth = 16
|
||||||
|
|
Loading…
Reference in New Issue