浏览代码

Drop obsolete bitmap doc fonts

Rémi Verschelde 7 年之前
父节点
当前提交
34c988cfa9
共有 4 个文件被更改,包括 0 次插入106 次删除
  1. 0 33
      editor/doc_code_font.h
  2. 0 33
      editor/doc_font.h
  3. 0 33
      editor/doc_title_font.h
  4. 0 7
      editor/editor_fonts.cpp

文件差异内容过多而无法显示
+ 0 - 33
editor/doc_code_font.h


文件差异内容过多而无法显示
+ 0 - 33
editor/doc_font.h


文件差异内容过多而无法显示
+ 0 - 33
editor/doc_title_font.h


+ 0 - 7
editor/editor_fonts.cpp

@@ -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);

部分文件因为文件数量过多而无法显示