feat(theme): bundle EB Garamond, Architects Daughter, JetBrains Mono (OFL)
This commit is contained in:
BIN
client/assets/theme/fonts/ArchitectsDaughter-Regular.ttf
Normal file
BIN
client/assets/theme/fonts/ArchitectsDaughter-Regular.ttf
Normal file
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://dgftorjwjkcx6"
|
||||
path="res://.godot/imported/ArchitectsDaughter-Regular.ttf-39fe9a11a65cddcd9ceecf51a839f0c5.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/theme/fonts/ArchitectsDaughter-Regular.ttf"
|
||||
dest_files=["res://.godot/imported/ArchitectsDaughter-Regular.ttf-39fe9a11a65cddcd9ceecf51a839f0c5.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://bosx65t7inqbs"
|
||||
path="res://.godot/imported/EBGaramond-Italic-VariableFont_wght.ttf-8a9f89c45d1261f74ac5e087dfe5ec85.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/theme/fonts/EBGaramond-Italic-VariableFont_wght.ttf"
|
||||
dest_files=["res://.godot/imported/EBGaramond-Italic-VariableFont_wght.ttf-8a9f89c45d1261f74ac5e087dfe5ec85.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
client/assets/theme/fonts/EBGaramond-VariableFont_wght.ttf
Normal file
BIN
client/assets/theme/fonts/EBGaramond-VariableFont_wght.ttf
Normal file
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://b00hfuuyxctc6"
|
||||
path="res://.godot/imported/EBGaramond-VariableFont_wght.ttf-32cc8b7204b14062fe5657f6ee3ae93b.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/theme/fonts/EBGaramond-VariableFont_wght.ttf"
|
||||
dest_files=["res://.godot/imported/EBGaramond-VariableFont_wght.ttf-32cc8b7204b14062fe5657f6ee3ae93b.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
client/assets/theme/fonts/JetBrainsMono-VariableFont_wght.ttf
Normal file
BIN
client/assets/theme/fonts/JetBrainsMono-VariableFont_wght.ttf
Normal file
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://1ge2menmepj8"
|
||||
path="res://.godot/imported/JetBrainsMono-VariableFont_wght.ttf-9b8836092a0b124cd7b65994f8da4002.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/theme/fonts/JetBrainsMono-VariableFont_wght.ttf"
|
||||
dest_files=["res://.godot/imported/JetBrainsMono-VariableFont_wght.ttf-9b8836092a0b124cd7b65994f8da4002.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
disable_embedded_bitmaps=true
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
modulate_color_glyphs=false
|
||||
hinting=3
|
||||
subpixel_positioning=4
|
||||
keep_rounding_remainders=true
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
17
client/tests/unit/test_fonts.gd
Normal file
17
client/tests/unit/test_fonts.gd
Normal file
@@ -0,0 +1,17 @@
|
||||
# client/tests/unit/test_fonts.gd
|
||||
extends "res://addons/gut/test.gd"
|
||||
|
||||
const FONTS := {
|
||||
"serif": "res://assets/theme/fonts/EBGaramond-VariableFont_wght.ttf",
|
||||
"serif_italic": "res://assets/theme/fonts/EBGaramond-Italic-VariableFont_wght.ttf",
|
||||
"accent": "res://assets/theme/fonts/ArchitectsDaughter-Regular.ttf",
|
||||
"mono": "res://assets/theme/fonts/JetBrainsMono-VariableFont_wght.ttf",
|
||||
}
|
||||
|
||||
|
||||
func test_all_fonts_exist_and_load_as_fontfile():
|
||||
for key in FONTS:
|
||||
var path: String = FONTS[key]
|
||||
assert_true(FileAccess.file_exists(path), "missing font: %s" % path)
|
||||
var f = load(path)
|
||||
assert_true(f is FontFile, "%s did not load as FontFile" % key)
|
||||
Reference in New Issue
Block a user