diff --git a/app/assets/fonts/Montserrat-Medium.ttf.import b/app/assets/fonts/Montserrat-Medium.ttf.import index 8236fa8..260d53b 100644 --- a/app/assets/fonts/Montserrat-Medium.ttf.import +++ b/app/assets/fonts/Montserrat-Medium.ttf.import @@ -14,7 +14,7 @@ dest_files=["res://.godot/imported/Montserrat-Medium.ttf-9322cac81db17d2f033bd26 Rendering=null antialiasing=1 -generate_mipmaps=false +generate_mipmaps=true disable_embedded_bitmaps=true multichannel_signed_distance_field=false msdf_pixel_range=8 @@ -23,12 +23,17 @@ allow_system_fallback=true force_autohinter=false hinting=1 subpixel_positioning=1 -oversampling=0.0 +oversampling=4.0 Fallbacks=null fallbacks=[] Compress=null compress=true -preload=[] +preload=[{ +"chars": [], +"glyphs": [], +"name": "New Configuration", +"size": Vector2i(16, 0) +}] language_support={} script_support={} opentype_features={} diff --git a/app/content/entities/sensor/sensor.tscn b/app/content/entities/sensor/sensor.tscn index ce41d63..4430728 100644 --- a/app/content/entities/sensor/sensor.tscn +++ b/app/content/entities/sensor/sensor.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=6 format=3 uid="uid://xsiy71rsqulj"] [ext_resource type="Script" path="res://content/entities/sensor/sensor.gd" id="1_57ac8"] -[ext_resource type="FontVariation" uid="uid://d2ofyimg5s65q" path="res://assets/fonts/ui_font_500.tres" id="2_4np3x"] +[ext_resource type="FontFile" uid="uid://drsixxc4tmvjf" path="res://assets/fonts/Montserrat-Medium.ttf" id="2_3sfs5"] [ext_resource type="Script" path="res://content/functions/movable.gd" id="2_fpq5q"] [ext_resource type="PackedScene" uid="uid://bsjqdvkt0u87c" path="res://content/ui/components/button/button.tscn" id="5_bmtkc"] @@ -21,8 +21,9 @@ transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0) pixel_size = 0.001 text = "some text " -font = ExtResource("2_4np3x") +font = ExtResource("2_3sfs5") font_size = 80 +outline_size = 0 [node name="Movable" type="Node" parent="."] script = ExtResource("2_fpq5q") diff --git a/app/content/ui/components/input/input.tscn b/app/content/ui/components/input/input.tscn index 6cd016a..3357290 100644 --- a/app/content/ui/components/input/input.tscn +++ b/app/content/ui/components/input/input.tscn @@ -2,10 +2,10 @@ [ext_resource type="Script" path="res://content/ui/components/input/input.gd" id="1_uml3t"] [ext_resource type="Script" path="res://content/ui/components/panel/panel.gd" id="3_3bvrj"] -[ext_resource type="FontVariation" uid="uid://d2ofyimg5s65q" path="res://assets/fonts/ui_font_500.tres" id="3_ij5fh"] [ext_resource type="Shader" path="res://content/ui/components/panel/glass.gdshader" id="3_nl02b"] +[ext_resource type="FontFile" uid="uid://drsixxc4tmvjf" path="res://assets/fonts/Montserrat-Medium.ttf" id="4_yukbj"] -[sub_resource type="ShaderMaterial" id="ShaderMaterial_46adm"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_j4b8n"] resource_local_to_scene = true render_priority = 10 shader = ExtResource("3_nl02b") @@ -20,7 +20,7 @@ shader_parameter/corner_radius = 0.2 shader_parameter/roughness = 0.3 shader_parameter/grain_amount = 0.02 -[sub_resource type="QuadMesh" id="QuadMesh_1me1o"] +[sub_resource type="QuadMesh" id="QuadMesh_ltwsx"] size = Vector2(0.15, 0.03) [sub_resource type="BoxShape3D" id="BoxShape3D_x4yp8"] @@ -83,8 +83,8 @@ collision_mask = 6 [node name="Panel3D" type="MeshInstance3D" parent="Body"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.005) -material_override = SubResource("ShaderMaterial_46adm") -mesh = SubResource("QuadMesh_1me1o") +material_override = SubResource("ShaderMaterial_j4b8n") +mesh = SubResource("QuadMesh_ltwsx") script = ExtResource("3_3bvrj") size = Vector2(0.15, 0.03) @@ -98,7 +98,7 @@ double_sided = false render_priority = 30 outline_render_priority = 29 text = "Example Text" -font = ExtResource("3_ij5fh") +font = ExtResource("4_yukbj") font_size = 18 outline_size = 0 horizontal_alignment = 0 @@ -118,7 +118,7 @@ render_priority = 30 outline_render_priority = 29 modulate = Color(0.470076, 0.470076, 0.470076, 1) text = "Placeholder" -font = ExtResource("3_ij5fh") +font = ExtResource("4_yukbj") font_size = 18 outline_size = 0 horizontal_alignment = 0 diff --git a/app/project.godot b/app/project.godot index da95eeb..f390c71 100644 --- a/app/project.godot +++ b/app/project.godot @@ -51,7 +51,7 @@ import/fbx/enabled=false [gui] -theme/custom_font="res://assets/fonts/ui_font_500.tres" +theme/custom_font="res://assets/fonts/Montserrat-Medium.ttf" [layer_names]