summaryrefslogtreecommitdiff
path: root/editor/editor_fonts.cpp
AgeCommit message (Collapse)Author
2020-12-13[Complex Text Layouts] Add variable fonts support.bruvzg
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-07-03Change how default fonts are created, fixes #39235Juan Linietsky
Also fixes file dialog icons.
2020-04-10Improve shortcut formatting in docsYuri Sizov
2020-03-27Fix default editor font.bruvzg
Fix popup_centered_clamped definition typo.
2020-03-08Add rotation widget to 3D viewportjfons
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-10-21Fix validating editor bold fontvolzhs
2019-10-04Fixed warnings text using custom font and color setting.Hanif Bin Ariffin
Fixes #31917 Added missing font and color override.
2019-08-14Add an "Auto" editor font hinting setting to match OS font renderingHugo Locurcio
The "Auto" setting picks the font hinting setting that best matches the operating system's font rendering settings. This font hinting setting is now the default.
2019-07-28Simplify editor settings related to font hinting and antialiasingHugo Locurcio
A single setting is now used to control the font hinting/antialiasing settings of both main and code fonts. This means there are 2 settings in total (instead of 4). Font settings were also reordered for clarity.
2019-06-15Add support for bold fonts in the editor helpHugo Locurcio
This also makes it possible to use the strikethrough tag (`[s]`) in the editor help.
2019-06-14Fix help source font setting and related cleanupRémi Verschelde
This was a regression from #28107 due to a typo in the `initial_set` call. I used the opportunity to harmonize the font settings by ensuring we only get values in `editor_fonts.cpp` and set them all with proper and consistent hint ranges in `editor_settings.cpp`. Fixes #29774.
2019-05-28Merge pull request #28107 from Amssat221/issue28105Rémi Verschelde
Set range (10-50) to help source font size
2019-05-21Expression node for visual shadersChaosus
2019-04-30Set range and change EDITOR_DEF to EDITOR_GETGuillermo
Fix indentation Fix Indentation! Remove 14
2019-01-18Editor source status font size, fixes #25039Melvin Winstroem-Moeller
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-11-10Add a property to control DynamicFont anti-aliasingHugo Locurcio
- Editor font anti-aliasing can now be disabled in the Editor Settings. - DynamicFonts used in projects can now have their anti-aliasing disabled in their DynamicFontData child. Changes will be visible upon reloading the scene in the editor.
2018-09-29Fix warning about functions defined but not used [-Wunused-function]Rémi Verschelde
Fixes the following GCC 5 warnings: ``` core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function] core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function] editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function] editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function] modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function] scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] ``` Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword. Not fixed yet (static definition in header used in some files but not all): ``` modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function] ``` Also fixed a couple other warnings missed in previous commits.
2018-08-30Add Hindi font for editorvolzhs
2018-07-10Fallback to default font if main/code font path doesn't existAlexander-Alekseev
2018-04-19added bold font to editor (support for coustom bold font)toger5
2018-02-28Add an hinting mode setting to DynamicFontsHugo Locurcio
- Editor font hinting can now be tweaked in the Editor Settings. - DynamicFonts used in projects now have tweakable hinting settings in their DynamicFontData child. Changes will be visible upon reloading the scene in the editor.
2018-01-08Set source code font with ttf, otfvolzhs
renamed interface/editor/custom_font to interface/editor/main_font moved text_editor/theme/font to interface/editor/code_font renamed interface/editor/font_size to interface/editor/main_font_size renamed interface/editor/source_code_size to interface/editor/code_font_size
2018-01-05Drop obsolete bitmap doc fontsRémi Verschelde
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-03Merge pull request #15073 from volzhs/editor-custom-fontRémi Verschelde
Use .ttf or .otf file for editor custom font
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-27Fix text editor status fontvolzhs
mistake from https://github.com/godotengine/godot/commit/15986ea343#diff-e7b153431ed956907f3ee3ef07ac59dd
2017-12-27Use .ttf or .otf file for editor custom fontvolzhs
2017-11-26Merge pull request #13222 from Calinou/tweak-editor-help-font-sizesRémi Verschelde
Tweak editor help font sizes for better readability
2017-11-24Tweak editor help font sizes for better readabilityHugo Locurcio
2017-11-24Remove option for the rulers graduations font sizeGilles Roudiere
2017-11-09Fix theme with custom font.Daniel J. Ramirez
2017-11-09Fixed project manager and dialog fonts.Daniel J. Ramirez
2017-10-02Merge pull request #11646 from djrm/pr_visual_improvementsPoommetee Ketson
Several visual improvements.
2017-09-29EditorSettings: Move interface/ properties to interface/editorAndreas Haas
Fixes inconsistent behaviour where clicking on the "Interface" in the Editor Settings wouldn't collapse the category as is the case for all the other categories.
2017-09-28Several visual improvements.Daniel J. Ramirez
Added proper label sizing Improved text editor status bar Fixed some issues with ItemList and also some style fixes Added background to color picker samples (the mrcdk fix) Fixed slider ticks. Added VS breakpoint and error styleboxes.
2017-09-25Add font size setting for output panelvolzhs
2017-09-20Merge pull request #11309 from djrm/pr_hack_fontRémi Verschelde
Changed Mononoki font to Hack font
2017-09-17Implements rulersGilles Roudiere
2017-09-17Changed Mononoki font to Hack fontDaniel J. Ramirez
2017-09-14Changed source font to Mononoki.Daniel J. Ramirez
2017-09-03Fixed some metrics (some issues caused by the new Noto Sans font).Daniel J. Ramirez
plus other minor fixes
2017-08-31Replace editor font to NotoSans for Latin, Arabic, Hebrew, Thaivolzhs
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-06-25BuildSystem: generated files have .gen.extensionPoommetee Ketson
2017-06-04renamed all Rect2.pos to Rect2.positionalexholly
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde