From 5bb7cef8367e77c70b9a1ad045741fb97b32ef9d Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 1 May 2016 23:12:30 -0300 Subject: Support for dynamic fonts (TTF) Added support for DynamicFont, which can load a TTF of any size to use as a font. No import required. --- tools/editor/editor_node.cpp | 1 + tools/editor/icons/icon_dynamic_font.png | Bin 0 -> 414 bytes tools/editor/icons/icon_dynamic_font_data.png | Bin 0 -> 397 bytes 3 files changed, 1 insertion(+) create mode 100644 tools/editor/icons/icon_dynamic_font.png create mode 100644 tools/editor/icons/icon_dynamic_font_data.png (limited to 'tools') diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index e556a26d7a..09f85b99f6 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -3554,6 +3554,7 @@ Error EditorNode::load_scene(const String& p_scene, bool p_ignore_broken_deps,bo load_errors->clear(); String lpath = Globals::get_singleton()->localize_path(p_scene); + print_line("LOCAL PATH: "+lpath+" from "+p_scene); if (!lpath.begins_with("res://")) { current_option=-1; diff --git a/tools/editor/icons/icon_dynamic_font.png b/tools/editor/icons/icon_dynamic_font.png new file mode 100644 index 0000000000..52b423f75b Binary files /dev/null and b/tools/editor/icons/icon_dynamic_font.png differ diff --git a/tools/editor/icons/icon_dynamic_font_data.png b/tools/editor/icons/icon_dynamic_font_data.png new file mode 100644 index 0000000000..568349e4db Binary files /dev/null and b/tools/editor/icons/icon_dynamic_font_data.png differ -- cgit v1.2.3