mirror of
https://github.com/1j01/textual-paint.git
synced 2024-09-11 15:56:03 +03:00
Add font names for Windows
This commit is contained in:
parent
b63f303cf4
commit
ec7986f9dd
@ -32,9 +32,12 @@
|
|||||||
"Bresenham's",
|
"Bresenham's",
|
||||||
"bucketization",
|
"bucketization",
|
||||||
"Caja",
|
"Caja",
|
||||||
|
"Cascadia",
|
||||||
"clion",
|
"clion",
|
||||||
"cmdpxl",
|
"cmdpxl",
|
||||||
|
"Consola",
|
||||||
"Consolas",
|
"Consolas",
|
||||||
|
"Cour",
|
||||||
"dasharray",
|
"dasharray",
|
||||||
"Deutsch",
|
"Deutsch",
|
||||||
"DIALOGEX",
|
"DIALOGEX",
|
||||||
|
@ -31,7 +31,10 @@ font_dirs = [
|
|||||||
"/data/fonts",
|
"/data/fonts",
|
||||||
]
|
]
|
||||||
font_names = [
|
font_names = [
|
||||||
"NotoSansMono",
|
"NotoSansMono", # first because of broad Unicode coverage ("Noto" stands for "no tofu", i.e. replacement characters that look like blocks of tofu)
|
||||||
|
# The rest of this list is not very deliberately ordered.
|
||||||
|
"CascadiaMono", # Cascadia Code without ligatures; drawing cell by cell, ligatures won't apply anyways
|
||||||
|
"CascadiaCode",
|
||||||
"DejaVuSansMono",
|
"DejaVuSansMono",
|
||||||
"LiberationMono",
|
"LiberationMono",
|
||||||
"UbuntuMono",
|
"UbuntuMono",
|
||||||
@ -41,12 +44,14 @@ font_names = [
|
|||||||
"SourceCodePro",
|
"SourceCodePro",
|
||||||
"DroidSansMono",
|
"DroidSansMono",
|
||||||
"Consolas",
|
"Consolas",
|
||||||
|
"Consola",
|
||||||
"CourierNew",
|
"CourierNew",
|
||||||
"LucidaConsole",
|
"LucidaConsole",
|
||||||
"Monaco",
|
"Monaco",
|
||||||
"Menlo",
|
"Menlo",
|
||||||
"Andale Mono",
|
"Andale Mono",
|
||||||
"Courier New",
|
"Courier New",
|
||||||
|
"Cour",
|
||||||
]
|
]
|
||||||
font = None
|
font = None
|
||||||
for font_dir in font_dirs:
|
for font_dir in font_dirs:
|
||||||
|
Loading…
Reference in New Issue
Block a user