summaryrefslogtreecommitdiffstats
path: root/editor/editor_fonts.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* [Complex Text Layouts] Add variable fonts support.bruvzg2020-12-131-0/+17
|
* [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-103/+161
| | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Change how default fonts are created, fixes #39235Juan Linietsky2020-07-031-1/+1
| | | | Also fixes file dialog icons.
* Improve shortcut formatting in docsYuri Sizov2020-04-101-0/+2
|
* Fix default editor font.bruvzg2020-03-271-1/+1
| | | | Fix popup_centered_clamped definition typo.
* Add rotation widget to 3D viewportjfons2020-03-081-0/+4
|
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | 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.
* Fix validating editor bold fontvolzhs2019-10-211-1/+1
|
* Fixed warnings text using custom font and color setting.Hanif Bin Ariffin2019-10-041-0/+1
| | | | | Fixes #31917 Added missing font and color override.
* Add an "Auto" editor font hinting setting to match OS font renderingHugo Locurcio2019-08-141-1/+25
| | | | | | 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.
* Simplify editor settings related to font hinting and antialiasingHugo Locurcio2019-07-281-8/+6
| | | | | | | | 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.
* Add support for bold fonts in the editor helpHugo Locurcio2019-06-151-7/+5
| | | | | This also makes it possible to use the strikethrough tag (`[s]`) in the editor help.
* Fix help source font setting and related cleanupRémi Verschelde2019-06-141-6/+6
| | | | | | | | | | | 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.
* Merge pull request #28107 from Amssat221/issue28105Rémi Verschelde2019-05-281-1/+1
|\ | | | | Set range (10-50) to help source font size
| * Set range and change EDITOR_DEF to EDITOR_GETGuillermo2019-04-301-1/+1
| | | | | | | | | | | | | | | | Fix indentation Fix Indentation! Remove 14
* | Expression node for visual shadersChaosus2019-05-211-0/+3
|/
* Editor source status font size, fixes #25039Melvin Winstroem-Moeller2019-01-181-1/+1
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Add a property to control DynamicFont anti-aliasingHugo Locurcio2018-11-101-1/+15
| | | | | | | - 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.
* Fix warning about functions defined but not used [-Wunused-function]Rémi Verschelde2018-09-291-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add Hindi font for editorvolzhs2018-08-301-0/+7
|
* Fallback to default font if main/code font path doesn't existAlexander-Alekseev2018-07-101-3/+14
|
* added bold font to editor (support for coustom bold font)toger52018-04-191-12/+53
|
* Add an hinting mode setting to DynamicFontsHugo Locurcio2018-02-281-1/+12
| | | | | | | - 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.
* Set source code font with ttf, otfvolzhs2018-01-081-32/+29
| | | | | | | 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
* Drop obsolete bitmap doc fontsRémi Verschelde2018-01-051-7/+0
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | 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.
* Merge pull request #15073 from volzhs/editor-custom-fontRémi Verschelde2018-01-031-1/+16
|\ | | | | Use .ttf or .otf file for editor custom font
| * Use .ttf or .otf file for editor custom fontvolzhs2017-12-271-1/+16
| |
* | Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | | | | | Happy new year to the wonderful Godot community!
* | Fix text editor status fontvolzhs2017-12-271-7/+8
|/ | | | mistake from https://github.com/godotengine/godot/commit/15986ea343#diff-e7b153431ed956907f3ee3ef07ac59dd
* Merge pull request #13222 from Calinou/tweak-editor-help-font-sizesRémi Verschelde2017-11-261-3/+3
|\ | | | | Tweak editor help font sizes for better readability
| * Tweak editor help font sizes for better readabilityHugo Locurcio2017-11-241-3/+3
| |
* | Remove option for the rulers graduations font sizeGilles Roudiere2017-11-241-1/+1
|/
* Fix theme with custom font.Daniel J. Ramirez2017-11-091-5/+0
|
* Fixed project manager and dialog fonts.Daniel J. Ramirez2017-11-091-3/+7
|
* Merge pull request #11646 from djrm/pr_visual_improvementsPoommetee Ketson2017-10-021-0/+9
|\ | | | | Several visual improvements.
| * Several visual improvements.Daniel J. Ramirez2017-09-281-0/+9
| | | | | | | | | | | | | | | | | | 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.
* | EditorSettings: Move interface/ properties to interface/editorAndreas Haas2017-09-291-2/+2
|/ | | | | | 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.
* Add font size setting for output panelvolzhs2017-09-251-0/+10
|
* Merge pull request #11309 from djrm/pr_hack_fontRémi Verschelde2017-09-201-4/+4
|\ | | | | Changed Mononoki font to Hack font
| * Changed Mononoki font to Hack fontDaniel J. Ramirez2017-09-171-4/+4
| |
* | Implements rulersGilles Roudiere2017-09-171-0/+3
|/
* Changed source font to Mononoki.Daniel J. Ramirez2017-09-141-9/+11
|
* Fixed some metrics (some issues caused by the new Noto Sans font).Daniel J. Ramirez2017-09-031-5/+8
| | | | plus other minor fixes
* Replace editor font to NotoSans for Latin, Arabic, Hebrew, Thaivolzhs2017-08-311-39/+39
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* BuildSystem: generated files have .gen.extensionPoommetee Ketson2017-06-251-1/+1
|
* renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-2/+2
|