|
@@ -31,9 +31,6 @@
|
|
|
#include "editor_fonts.h"
|
|
|
|
|
|
#include "builtin_fonts.gen.h"
|
|
|
-#include "doc_code_font.h"
|
|
|
-#include "doc_font.h"
|
|
|
-#include "doc_title_font.h"
|
|
|
#include "editor_scale.h"
|
|
|
#include "editor_settings.h"
|
|
|
#include "scene/resources/default_theme/default_theme.h"
|
|
@@ -146,10 +143,6 @@ void editor_register_fonts(Ref<Theme> p_theme) {
|
|
|
MAKE_DEFAULT_FONT(df_title, default_font_size + 2 * EDSCALE);
|
|
|
p_theme->set_font("title", "EditorFonts", df_title);
|
|
|
|
|
|
- //Ref<BitmapFont> doc_font = make_font(_bi_font_doc_font_height,_bi_font_doc_font_ascent,0,_bi_font_doc_font_charcount,_bi_font_doc_font_characters,p_theme->get_icon("DocFont","EditorIcons"));
|
|
|
- //Ref<BitmapFont> doc_title_font = make_font(_bi_font_doc_title_font_height,_bi_font_doc_title_font_ascent,0,_bi_font_doc_title_font_charcount,_bi_font_doc_title_font_characters,p_theme->get_icon("DocTitleFont","EditorIcons"));
|
|
|
- //Ref<BitmapFont> doc_code_font = make_font(_bi_font_doc_code_font_height,_bi_font_doc_code_font_ascent,0,_bi_font_doc_code_font_charcount,_bi_font_doc_code_font_characters,p_theme->get_icon("DocCodeFont","EditorIcons"));
|
|
|
-
|
|
|
MAKE_DEFAULT_FONT(df_doc_title, int(EDITOR_DEF("text_editor/help/help_title_font_size", 23)) * EDSCALE);
|
|
|
|
|
|
MAKE_DEFAULT_FONT(df_doc, int(EDITOR_DEF("text_editor/help/help_font_size", 15)) * EDSCALE);
|