mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-24 20:42:30 +08:00
feat(UI): 更新字体资源并优化物品显示逻辑
替换原有字体文件为OTF格式,添加粗体字体支持 在物品显示组件中添加字体颜色变化功能,根据资源是否足够显示不同颜色 优化Feed类的资源消耗计算逻辑,增加countOf方法提高可读性
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://v3frxpuvtj5o"
|
||||
path="res://.godot/imported/syht.ttf-4e5237bd9d733edbe0924500cb0652ef.fontdata"
|
||||
path="res://.godot/imported/syht-bold.ttf-d2f3da15c712d5ae8c3980a92666acf1.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/fonts/syht.ttf"
|
||||
dest_files=["res://.godot/imported/syht.ttf-4e5237bd9d733edbe0924500cb0652ef.fontdata"]
|
||||
source_file="res://resources/fonts/syht-bold.ttf"
|
||||
dest_files=["res://.godot/imported/syht-bold.ttf-d2f3da15c712d5ae8c3980a92666acf1.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://cidql48uspujd"
|
||||
path="res://.godot/imported/syht.otf-6c719d9824cc1519958ce5c1d54778a5.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/fonts/syht.otf"
|
||||
dest_files=["res://.godot/imported/syht.otf-6c719d9824cc1519958ce5c1d54778a5.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