summaryrefslogtreecommitdiffstats
path: root/servers/text_server.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* HarfBuzz: Update to version 5.1.0, use new FLAG_SAFE_TO_INSERT_TATWEEL flag ↵bruvzg2022-08-041-0/+1
| | | | to improve justification.
* [TextServer] Add ICU Unicode security and spoofing detection.bruvzg2022-08-021-0/+4
|
* [TextServer] Implement ICU/UAX 31 based `is_valid_identifier` function.bruvzg2022-08-021-0/+22
|
* Use BitField hint for the TextServer enums. Add missing parts for BitField ↵bruvzg2022-07-151-43/+44
| | | | support to the GDextension API.
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-3/+3
|
* Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg2022-06-161-2/+22
| | | | TextServer.
* [TextServer] Adds support for TrueType / OpenType collection files (*.TTC, ↵bruvzg2022-06-071-0/+5
| | | | *.OTC).
* use ERR_FAIL_INDEX when preferredNathan Franke2022-05-251-2/+2
|
* Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg2022-04-281-0/+2
| | | | | | Windows. Implement TextServer word break method.
* Implement Label3D node.bruvzg2022-04-221-0/+94
| | | | | | | | | Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
* Merge pull request #60102 from KoBeWi/graphememeRémi Verschelde2022-04-111-1/+1
|\
| * Improve shaped_text_get_word_breaks()kobewi2022-04-101-1/+1
| |
* | [TextServer] Fix long selection performance.bruvzg2022-04-111-26/+15
|/
* Fixed ctrl + backspace on empty linesMarc Garcia Puig2022-04-041-1/+1
| | | | | | Fix <word><space><caret> scenario Fix move left & right for lines without words
* Unify TextServer built-in module and GDExtension code.bruvzg2022-03-171-23/+29
|
* Fix text clipping on the right side.bruvzg2022-03-131-4/+4
|
* Add options to embolden and transform font outlines to simulate bold and ↵bruvzg2022-03-111-0/+6
| | | | italic typefaces.
* [TextServer] Improve word breaking when there are multiple spaces between words.bruvzg2022-03-051-4/+8
|
* Add sub-pixel glyph positioning support.bruvzg2022-02-121-1/+10
|
* [TextServer] Add function to change font, font size, and OpenType features ↵bruvzg2022-02-021-1/+5
| | | | without invalidating line break points, justification points, or recreating shaped text buffer.
* [TextServer] Implement locale and context sensitive case conversion functions.bruvzg2022-01-171-0/+4
|
* [TextServer] Improvements for line breaking, "Fill" alignment, overrun, and ↵bruvzg2022-01-131-23/+24
| | | | | | | | | | | | interaction between these modes. Fix "Fill" alignment processing wrong side of the text if overrun trim was applied. Improve "Fill" alignment to avoid adding excessive subsequent spaces or elongations. Add font detection to the overrun, to correctly add ellipsis (was using last glyph font, which doesn't necessary have dot character). Improve line breaking to avoid adding excessive subsequent soft break points for languages without word separator. Port missing overrun/justification code to the Fallback text server. Fix inferred text direction detection by controls. Add tests for "Fill" alignment and line breaking glyph flags.
* [TextServer] Improve ligature cursor handling.bruvzg2022-01-091-2/+30
| | | | | | Fix mid-grapheme hit test. Fix OpenType features property handling, add default features override option. Enable mid-grapheme cursor by default.
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Add a double-precision editor build to CIAaron Franke2021-12-091-7/+7
|
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-2/+2
|
* Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-3/+3
|
* Add methods to get position from column and line in TextEditYuri Sizov2021-11-221-0/+22
|
* Merge pull request #46721 from bruvzg/custom_word_break_punctRémi Verschelde2021-11-091-0/+3
|\
| * [Text Server] Add support for user defined punctuation list, used for word ↵bruvzg2021-10-011-0/+3
| | | | | | | | breaking.
* | Add functions for getting name and font style from dynamic and bitmap fonts.bruvzg2021-10-311-1/+15
| | | | | | | | Add font selection toolbar editor plugin.
* | Implement TextServer `strip_diacritics` function.bruvzg2021-10-281-5/+132
| |
* | [TextServer] Use `round` instead of `floor` for hex code box size ↵bruvzg2021-10-181-2/+2
| | | | | | | | calculation to better match font size.
* | Remove Scene dependency from the TextServer, use scalable hex box font ↵bruvzg2021-10-031-132/+54
|/ | | | instead of built-in bitmap one.
* Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg2021-10-011-284/+277
| | | | interface.
* Add flag to connected grapheme. Apply RTL displacement FX only to the whole ↵bruvzg2021-09-211-0/+2
| | | | connected grapheme. Pass more glyph info to the custom RTL FX.
* Fix double named size parameterBastiaan Olij2021-08-281-1/+1
|
* Makes FontData importable resource.bruvzg2021-08-271-87/+136
| | | | | | | Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
* Fix ItemList layout (+EditorFileDialog)Hendrik Brucker2021-08-211-4/+2
|
* Merge pull request #51178 from Geometror/layout-options-textline-textparagraphRémi Verschelde2021-08-111-1/+87
|\ | | | | Various text layout improvements (TextLine, TextParagraph, Label, TextServer)
| * Various text layout improvements (TextLine, TextParagraph, Label, TextServer)Hendrik Brucker2021-08-111-1/+87
| |
* | [Text Server] Improve object (image/table) inline alignment.bruvzg2021-08-081-2/+2
|/
* Separate underscore from grapheme punctuation to enable doubleclick and ↵Leonardo Christino2021-07-131-2/+2
| | | | caret jump over snakecase variables in editor
* Improvements to Label's layout optionsHendrik Brucker2021-07-041-2/+19
| | | | | | - Added options to trim the text in case it overruns - Added more autowrap modes - Improved line breaking, which ignores trailing spaces
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-5/+5
|
* Make is_equal_approx have explicit float and double versionsAaron Franke2021-05-201-1/+1
|
* [Complex Text Layouts] Provide access to glyph contour points.bruvzg2021-03-311-0/+22
|
* Merge pull request #46045 from bruvzg/text_server_bmp_createRémi Verschelde2021-02-241-0/+5
|\ | | | | [TextServer] Restores bitmap font dynamic construction functions.
| * [Text Server] Restores bitmap font dynamic construction functions.bruvzg2021-02-151-0/+5
| |
* | doc: Sync classref with current sourceRémi Verschelde2021-02-191-1/+1
| | | | | | | | And fix various bogus bindings following previous PRs.