summaryrefslogtreecommitdiffstats
path: root/modules/text_server_fb
Commit message (Collapse)AuthorAgeFilesLines
* Rename File::get_len() get_length()Marcel Admiraal2021-05-251-1/+1
|
* Make all file access 64-bit (uint64_t)Pedro J. Estébanez2021-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the types of a big number of variables. General rules: - Using `uint64_t` in general. We also considered `int64_t` but eventually settled on keeping it unsigned, which is also closer to what one would expect with `size_t`/`off_t`. - We only keep `int64_t` for `seek_end` (takes a negative offset from the end) and for the `Variant` bindings, since `Variant::INT` is `int64_t`. This means we only need to guard against passing negative values in `core_bind.cpp`. - Using `uint32_t` integers for concepts not needing such a huge range, like pages, blocks, etc. In addition: - Improve usage of integer types in some related places; namely, `DirAccess`, core binds. Note: - On Windows, `_ftelli64` reports invalid values when using 32-bit MinGW with version < 8.0. This was an upstream bug fixed in 8.0. It breaks support for big files on 32-bit Windows builds made with that toolchain. We might add a workaround. Fixes #44363. Fixes godotengine/godot-proposals#400. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* [Complex Text Layouts] Provide access to glyph contour points.bruvzg2021-03-315-0/+36
|
* Fixes small typos and grammar correctionAnshul7sp12021-03-121-1/+1
|
* Improve bitmap font scaling. Fix default theme font size.bruvzg2021-03-081-4/+3
|
* Merge pull request #46045 from bruvzg/text_server_bmp_createRémi Verschelde2021-02-245-47/+91
|\ | | | | [TextServer] Restores bitmap font dynamic construction functions.
| * [Text Server] Restores bitmap font dynamic construction functions.bruvzg2021-02-155-47/+91
| |
* | Make FreeType optional for export templates.bruvzg2021-02-194-7/+21
| |
* | [TextServer] Restore character and space extra spacing support.bruvzg2021-02-153-0/+53
|/
* [CTL] Fix scaling of the underline position and size.bruvzg2021-02-141-2/+3
|
* Initialize class/struct variables with default values in modules/Rafał Mikrut2021-02-082-9/+6
|
* Use integer coordinates for the font glyphs rendering.bruvzg2021-01-312-3/+3
|
* Update copyright statements to 2021Rémi Verschelde2021-01-019-18/+18
| | | | | | | | | | | | | | 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 🎆
* Fix missed renamings from empty() to is_empty()Rémi Verschelde2020-12-292-3/+3
| | | | Those were missed in #44401 or added by later PRs.
* Use integer text position in scroll container, TextEdit and canvas editor, ↵bruvzg2020-12-211-2/+2
| | | | | | to ensure sharp text rendering. Use integer font align/advance with any font scaling, to ensure sharp text rendering.
* SCons: Add explicit dependencies on thirdparty code in cloned envRémi Verschelde2020-12-181-0/+1
| | | | | | | | | | | | | | Since we clone the environments to build thirdparty code, we don't get an explicit dependency on the build objects produced by that environment. So when we update thirdparty code, Godot code using it is not necessarily rebuilt (I think it is for changed headers, but not for changed .c/.cpp files), which can lead to an invalid compilation output (linking old Godot .o files with a newer, potentially ABI breaking version of thirdparty code). This was only seen as really problematic with bullet updates (leading to crashes when rebuilding Godot after a bullet update without cleaning .o files), but it's safer to fix it everywhere, even if it's a LOT of hacky boilerplate.
* Add word breaks on punctuation characters.bruvzg2020-12-141-0/+7
|
* Static analyzer fixes:bruvzg2020-12-092-3/+0
| | | | | | Removes unused code in OS. Fixes return types. Fixes few typos.
* Merge pull request #43981 from bruvzg/ctl_font_spacingRémi Verschelde2020-12-071-46/+60
|\ | | | | [Complex Text Layouts] Adds missing Font::SPACING_* to the controls, align glyphs to pixel grid.
| * [Complex Text Layouts] Performance optimizations.bruvzg2020-12-071-14/+28
| |
| * [Complex Text Layouts] Align glyph offsets and advances to the pixel grid.bruvzg2020-12-061-33/+33
| |
* | Load dynamic fonts to memory on all platforms, to avoid locked files.bruvzg2020-12-072-56/+9
|/
* [Complex Text Layouts] Implement TextServer interface. Implement Fallback ↵bruvzg2020-11-2611-0/+3108
TextServer.