mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-30 15:22:30 +08:00
feat(字体): 添加思源黑体字体文件并配置为自定义字体
添加思源黑体字体文件(syht.ttf)到资源目录,并在项目配置中将其设置为GUI主题的自定义字体。同时生成对应的字体导入配置文件,确保字体正确加载和使用。
This commit is contained in:
@@ -28,6 +28,7 @@ project/assembly_name="ChickenVSBear"
|
|||||||
[gui]
|
[gui]
|
||||||
|
|
||||||
theme/custom="res://themes/main.tres"
|
theme/custom="res://themes/main.tres"
|
||||||
|
theme/custom_font="res://resources/fonts/syht.ttf"
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://v3frxpuvtj5o"
|
||||||
|
path="res://.godot/imported/syht.ttf-4e5237bd9d733edbe0924500cb0652ef.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://resources/fonts/syht.ttf"
|
||||||
|
dest_files=["res://.godot/imported/syht.ttf-4e5237bd9d733edbe0924500cb0652ef.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
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
||||||
Reference in New Issue
Block a user