summaryrefslogtreecommitdiffstats
path: root/modules/text_server_adv
Commit message (Collapse)AuthorAgeFilesLines
* [TextServer] Implement locale and context sensitive case conversion functions.bruvzg2022-01-172-1/+38
|
* [TextServer] Improvements for line breaking, "Fill" alignment, overrun, and ↵bruvzg2022-01-132-81/+183
| | | | | | | | | | | | 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.
* Merge pull request #55225 from bruvzg/fix_ligature_cursor_and_ot_featuresRémi Verschelde2022-01-102-11/+44
|\
| * [TextServer] Improve ligature cursor handling.bruvzg2022-01-092-11/+44
| | | | | | | | | | | | Fix mid-grapheme hit test. Fix OpenType features property handling, add default features override option. Enable mid-grapheme cursor by default.
* | Fix freezes when tab is zero or negative width.bruvzg2022-01-101-0/+6
| |
* | Fix glyph index for bitmap fonts.bruvzg2022-01-101-1/+1
|/ | | | Fix TextEdit glyph position rounding.
* Update copyright statements to 2022Rémi Verschelde2022-01-037-14/+14
| | | | Happy new year to the wonderful Godot community!
* [Text Server] Fix re-shaping of substrings, improve oversampling scale.bruvzg2021-12-152-88/+113
|
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-7/+7
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-092-58/+58
|
* Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-1/+1
|
* Modules: Make sure to include modules_enabled.gen.h where neededRémi Verschelde2021-11-122-1/+3
|
* Merge pull request #46721 from bruvzg/custom_word_break_punctRémi Verschelde2021-11-092-3/+40
|\
| * [Text Server] Add support for user defined punctuation list, used for word ↵bruvzg2021-10-012-3/+40
| | | | | | | | breaking.
* | Merge pull request #54372 from bruvzg/text_edit_uiRémi Verschelde2021-11-092-0/+90
|\ \
| * | Add functions for getting name and font style from dynamic and bitmap fonts.bruvzg2021-10-312-0/+90
| | | | | | | | | | | | Add font selection toolbar editor plugin.
* | | Repaired mistyped of 'threshold' on several files.M. Huri2021-10-311-4/+4
|/ /
* | Implement TextServer `strip_diacritics` function.bruvzg2021-10-282-0/+36
| |
* | ICU: Update to version 70.1bruvzg2021-10-281-1/+3
| |
* | Ignore empty Font resources as theme override.bruvzg2021-10-251-0/+1
| | | | | | | | | | Add range hint to font_size properties. Remove excessive `base_size` Font property.
* | Remove unused imports in .py, SCsub and SConstruct filesAnutrix2021-10-181-2/+0
| |
* | [TextServer] Add texture index, offsets array size and Unicode char validation.bruvzg2021-10-151-1/+11
| |
* | Move static feature set and number system `StringName`s to the singleton.bruvzg2021-10-122-130/+245
|/ | | | | | Remove `hb_` prefix from the custom bitmap font functions to avoid potential conflicts with the HarfBuzz. Cleanup commented debug code. Update numbering system data to CLDR 39.
* Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg2021-10-015-171/+246
| | | | interface.
* Use range iterators for `Map`Lightning_A2021-09-301-83/+83
|
* Rename RID's `getornull()` to `get_or_null()`Hugo Locurcio2021-09-291-120/+120
|
* Fix trim overrun width not being reset.bruvzg2021-09-271-0/+1
|
* Bitmap Font: Remove deprecated vertical kerning callback.bruvzg2021-09-222-16/+0
|
* Improve invalid non-graphic glyph detection.bruvzg2021-09-221-2/+2
|
* Add flag to connected grapheme. Apply RTL displacement FX only to the whole ↵bruvzg2021-09-211-4/+18
| | | | connected grapheme. Pass more glyph info to the custom RTL FX.
* HarfBuzz: Update to version 3.0.0bruvzg2021-09-201-0/+1
|
* Merge pull request #52370 from bruvzg/realloc_paren_stackRémi Verschelde2021-09-152-2/+20
|\
| * Add TextServer parentheses stack dynamic reallocation support.bruvzg2021-09-042-2/+20
| |
* | TextServer: Fix build with freetype disabledRémi Verschelde2021-09-151-3/+4
| | | | | | | | Also remove RTR calls as we don't translate internal error messages.
* | Merge pull request #52292 from bruvzg/hb_initRémi Verschelde2021-09-141-12/+5
|\ \ | | | | | | [TextServer] Fix regression from #51908, HarfBuzz handle init and MinGW build.
| * | [TextServer] Fix HarfBuzz handle init order. Fix MinGW build.bruvzg2021-09-011-12/+5
| |/
* / Optimise TextServerAdvanced static string comparisionsPaulb232021-08-281-280/+320
|/
* Makes FontData importable resource.bruvzg2021-08-278-2484/+2565
| | | | | | | 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.
* Replace HTTP links with HTTPS for sites with HTTPS versionsAaron Franke2021-08-222-2/+2
|
* Merge pull request #51178 from Geometror/layout-options-textline-textparagraphRémi Verschelde2021-08-112-92/+101
|\ | | | | Various text layout improvements (TextLine, TextParagraph, Label, TextServer)
| * Various text layout improvements (TextLine, TextParagraph, Label, TextServer)Hendrik Brucker2021-08-112-92/+101
| |
* | [Text Server] Improve object (image/table) inline alignment.bruvzg2021-08-082-114/+148
|/
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-2/+2
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-4/+4
|
* Misc cleanup of header includesRémi Verschelde2021-07-151-1/+0
| | | | | Was looking for misuse of module headers without checking that the module is actually enabled and got carried away...
* Separate underscore from grapheme punctuation to enable doubleclick and ↵Leonardo Christino2021-07-131-1/+8
| | | | caret jump over snakecase variables in editor
* Improvements to Label's layout optionsHendrik Brucker2021-07-042-0/+157
| | | | | | - 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-1/+1
|
* [CTL] Improve font fallback order selection.bruvzg2021-06-101-16/+14
|
* Remove server platformFabio Alessandrelli2021-06-011-1/+1
|