commit 2976dffe655aa811dd27d3941a60a0f7d23d4f1b parent 243f76b89e5ff71c7685bca8037a78cd239b894e Author: FIGBERT <figbert@figbert.com> Date: Thu, 4 Feb 2021 01:53:46 -0800 Double font-size on client Diffstat:
A | assets/fonts/NotoSansUI.ttf | | | 0 | |
M | src/scenes/main.tscn | | | 8 | +++++++- |
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/assets/fonts/NotoSansUI.ttf b/assets/fonts/NotoSansUI.ttf Binary files differ. diff --git a/src/scenes/main.tscn b/src/scenes/main.tscn @@ -1,6 +1,11 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=4 format=2] [ext_resource path="res://src/scripts/main.gd" type="Script" id=1] +[ext_resource path="res://assets/fonts/NotoSansUI.ttf" type="DynamicFontData" id=2] + +[sub_resource type="DynamicFont" id=1] +size = 32 +font_data = ExtResource( 2 ) [node name="Base" type="Node"] script = ExtResource( 1 ) @@ -8,6 +13,7 @@ script = ExtResource( 1 ) [node name="Label" type="Label" parent="."] margin_right = 1080.0 margin_bottom = 2338.0 +custom_fonts/font = SubResource( 1 ) valign = 1 __meta__ = { "_edit_use_anchors_": false