0d19e18b00
[RTL] Use separate paragraph copy for the partially visible paragraphs.
2025-11-05 17:51:22 +02:00
1e82bafa3a
Remove redundant info on the enum types used
2025-06-04 08:21:47 +08:00
4afeca3bcf
Replace global oversampling with overrideable per-viewport oversampling.
2025-04-14 13:43:09 +03:00
b106dfd4f9
Base accessibility API.
2025-04-08 20:14:28 +03:00
309712551c
[TextParagraph/Button] Add support for line spacing.
2024-10-10 12:49:24 +03:00
94ad663c0f
[RTL] Expose missing default properties, ensure bbcode is reparserd when these are changed.
2024-08-28 08:43:30 +03:00
93ccf8e9e4
[RTL] Fix text size rounding with MSDF fonts.
2024-07-22 07:48:29 +03:00
56579f397d
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-04 08:21:42 +02:00
81064cc239
Doctool: Remove version attribute from XML header
...
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
346f1ab86b
Bump version to 4.2-dev
...
Keep on waitin'
2023-07-05 22:07:03 +02:00
eb391d3302
Display BitField[Enum] in docs to distinguish from Enum
2023-06-15 17:23:02 +03:00
151a4ba6a5
Overhaul the top sections of the class reference (GUI classes)
2023-05-28 14:24:54 +02:00
9163d8c336
Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.
2023-05-15 19:23:54 +03:00
1c1524a651
Bump version to 4.1-dev
...
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
53c76fa5d1
[RTL/TextServer] Add baseline inline alignment mode for objects and RTL tables.
2022-12-15 23:16:02 +02:00
2d54c36c3c
[doc] Use "param" instead of "code" to refer to parameters
2022-08-11 16:13:29 +03:00
c5d7115038
Rename the argument tag to param in XML documentation
2022-08-08 22:34:31 +03:00
cbe3a2dcb7
Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API.
2022-07-15 08:49:50 +03:00
344ba0ffaf
Refactor Font configuration and import UI, and Font resources.
2022-07-06 14:12:36 +03:00
b5c96df277
Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer.
2022-06-16 16:49:37 +03:00
b68dd2e189
Add an XML schema for documentation
...
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-15 00:03:31 +01:00
215bede6ff
[TextServer] Add function to change font, font size, and OpenType features without invalidating line break points, justification points, or recreating shaped text buffer.
2022-02-02 11:20:44 +02:00
8898d6dadc
Dictionary: Serialize empty dict as {} instead of {\n}
...
Also make sure to always convert multiline dictionaries to a single line for
its EditorHelp representation, as multiline values break formatting.
2022-01-18 11:31:21 +01:00
2cad775461
Fix usage of "Return" in the docs
2022-01-02 21:09:18 +01:00
41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related
2021-12-09 01:38:46 -06:00
5968653662
Merge pull request #46721 from bruvzg/custom_word_break_punct
2021-11-09 00:13:59 +01:00
94cba835eb
Fix: typo in TextParagraph class and docs
2021-10-19 16:38:58 -03:00
daa613333e
[Text Server] Add support for user defined punctuation list, used for word breaking.
2021-10-01 16:45:16 +03:00
0c0b5c84b0
Implement TextServer GDExtension interface, remove TextServer GDNative interface.
2021-10-01 15:13:29 +03:00
4c3f7d1290
Makes FontData importable resource.
...
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.
2021-08-27 15:43:18 +03:00
2c88e1c15d
Merge pull request #51178 from Geometror/layout-options-textline-textparagraph
...
Various text layout improvements (TextLine, TextParagraph, Label, TextServer)
2021-08-11 07:51:57 +02:00
403f4902d0
Various text layout improvements (TextLine, TextParagraph, Label, TextServer)
2021-08-11 00:09:48 +02:00
7c3c5603d0
[Text Server] Improve object (image/table) inline alignment.
2021-08-08 22:35:47 +03:00
7adf4cc9b5
doc: Use self-closing tags for return and argument
...
For the time being we don't support writing a description for those, preferring
having all details in the method's description.
Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.
2021-07-30 15:29:52 +02:00
0ff4095b36
Better format arguments in variant parser
2021-06-18 00:06:40 -03:00
04688b92ff
Rename Reference to RefCounted
2021-06-11 18:48:42 +02:00
9f4893c70b
Use extra font spacing in the RichTextLabel line height calculation, and stylebox size in the minimum size calculation.
2021-03-29 17:26:53 +03:00
8455e901f3
class reference proofreading
2021-03-19 13:21:20 +01:00
62927383ed
[Complex Text Layouts] Add drop-caps support to TextParagraph and RTL.
2020-12-13 22:20:02 +02:00
7e2c0ffd1a
[Complex Text Layouts] Add TextServer documentation. Update Font, CanvasItem, Theme and modified controls documentation.
2020-11-26 14:25:52 +02:00