cores/video/VideoTerminal: Avoid downloading font is present locally.
This commit is contained in:
parent
7e1d2bdf9b
commit
b020d4cf62
|
@ -439,7 +439,9 @@ 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?
|
||||||
|
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")
|
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
|
||||||
|
|
Loading…
Reference in New Issue