summaryrefslogtreecommitdiffstats
path: root/doc/classes/Font.xml
Commit message (Collapse)AuthorAgeFilesLines
* Fix function description for Font.get_char_size()Dalton2024-02-171-1/+1
| | | Removed description implying you can pass a second char in order to account for kerning
* [TextServer / Font] Add support for customizable baseline offset.bruvzg2024-01-281-0/+1
|
* [Text Server] Store extra spacing of individual font variations.bruvzg2023-08-241-0/+4
|
* Move registration of `fallbacks` property in the base Font classFaolan2023-08-071-13/+6
|
* Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-061-1/+1
| | | | | | 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).
* Bump version to 4.2-devRémi Verschelde2023-07-051-1/+1
| | | | Keep on waitin'
* Display `BitField[Enum]` in docs to distinguish from `Enum`Danil Alexeev2023-06-151-10/+10
|
* Overhaul the top sections of the class reference (GUI classes)VolTer2023-05-281-2/+2
|
* [TextServer] Add support for retrieving OpenType name strings.bruvzg2023-05-221-0/+6
|
* Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. ↵bruvzg2023-05-151-6/+6
| | | | Add flags to control last/single line justification.
* Merge pull request #74157 from themancalledjakob/DocumentationFontVariationRémi Verschelde2023-03-031-0/+11
|\ | | | | | | Documentation font variation
| * improve documentation for Font and FontVariationthemancalledjakob2023-03-021-0/+11
| | | | | | | | Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
* | Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
|/ | | | Can't stop, won't stop, they said, huh?
* Clarify `Font.get_string_size()` taking kerning into accountHugo Locurcio2023-02-111-1/+2
| | | | | This makes a difference when using a single call per character/word as opposed to using a single call for an entire string.
* Use system fonts as fallback and improve system font handling.bruvzg2022-12-041-0/+12
| | | | | | | Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
* Add new C# code blocks to class ref pagesPaul Joannon2022-09-191-2/+8
| | | | | | | | | - AStarGrid2D - Engine - Font - Node - OS - Tweens
* [doc] Use "param" instead of "code" to refer to parameters (6)Andy Maloney2022-08-121-7/+7
|
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-91/+91
|
* Fix unnamed arguments in XML docsRedMser2022-07-261-6/+6
|
* Add example usage for `Font.get_string_size()`Hugo Locurcio2022-07-221-2/+5
| | | | | The font size is now separated from the font itself, so it makes sense to have an example for people coming from Godot 3.x.
* Use BitField hint for the TextServer enums. Add missing parts for BitField ↵bruvzg2022-07-151-13/+16
| | | | support to the GDextension API.
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-137/+150
|
* Fix typos with codespellRémi Verschelde2022-03-311-1/+1
| | | | | | Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
* Unify TextServer built-in module and GDExtension code.bruvzg2022-03-171-0/+6
|
* Add an XML schema for documentationHugo Locurcio2022-02-151-1/+1
| | | | | | | | 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.
* Fix usage of "Return" in the docskobewi2022-01-021-3/+3
|
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-3/+3
|
* Ignore empty Font resources as theme override.bruvzg2021-10-251-14/+11
| | | | | Add range hint to font_size properties. Remove excessive `base_size` Font property.
* Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg2021-10-011-2/+2
| | | | interface.
* Don't generate empty doc sections and reduce code duplicationAaron Franke2021-09-201-2/+0
|
* Makes FontData importable resource.bruvzg2021-08-271-12/+28
| | | | | | | 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.
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-146/+73
| | | | | | | | 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.
* Better format arguments in variant parserMichael Alexsander Silva Dias2021-06-181-6/+6
|
* class reference proofreadingPaul Joannon2021-03-191-1/+1
|
* Documentation: Correct CanvasItem.draw_string position description.Luke Hubmayer-Werner2021-03-181-1/+2
| | | | Also add height warnings to Font.get_char_size and Font.get_string_size
* [TextServer] Restore character and space extra spacing support.bruvzg2021-02-151-2/+2
|
* [Complex Text Layouts] Add TextServer documentation. Update Font, ↵bruvzg2020-11-261-0/+346
| | | | CanvasItem, Theme and modified controls documentation.
* [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-128/+0
| | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Merge pull request #40408 from Calinou/doc-font-missing-characterRémi Verschelde2020-09-011-0/+2
|\ | | | | Document missing character behavior when drawing text with fonts
| * Document missing character behavior when drawing text with fontsHugo Locurcio2020-09-011-0/+2
| | | | | | | | See #40405.
* | Add an example to the `CanvasItem.draw_string()` documentationHugo Locurcio2020-07-291-0/+1
|/ | | | This closes https://github.com/godotengine/godot-docs/issues/3374.
* Expose `get_char_size()` from Font instead of BitmapFontMaganty Rushyendra2020-05-271-0/+11
| | | | | | | | | | | `get_char_size()` is a public virtual function defined in the `Font` class. Implementations exist for both `BitmapFont` and `Dynamic Font`. However, it was only exposed to the GDScript API through the Bitmap Font, and not for Dynamic Font. This commit exposes the function through `Font` instead. Fixes #23967
* Add LOTS of missing docsTomasz Chabora2020-03-131-0/+1
|
* Update docs to version 4.0clayjohn2020-01-311-1/+1
|
* doc: Drop unused 'category' property from headerRémi Verschelde2020-01-261-1/+1
| | | | | | | | | | We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
* [DOCS] Corrections and clarifications to classrefChris Bradfield2020-01-101-0/+1
|
* doc: Sync classref with current sourceRémi Verschelde2019-09-271-1/+1
| | | | And various fixes to bindings, hyperlinks and an uninitialized variable.
* Proofread and improve the whole class referenceHugo Locurcio2019-06-271-3/+3
| | | | | | | | | | | | | - Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
* Change "Return" to "Returns" where necessary in XML documentationSean Heffernan2019-05-231-4/+4
| | | | | | | | In many of the XML files it had been noted that when the documentation refers to a return value, both "Return" and "Returns" are used. This has now been fixed to only say "Returns". Fixes #28867
* doc: Sync classref with current sourceRémi Verschelde2019-05-151-0/+10
|