Commit Graph

326 Commits

Author SHA1 Message Date
Mister Ky 2280d1ed5f Delete unused .gitignore 2026-05-12 16:57:07 +03:00
Pāvels Nadtočajevs eeafab862d Increase max RID count for some owners, decrease RID usage by RichTextLabel. 2026-04-07 17:07:23 +03:00
Thaddeus Crews c068a92e19 Merge pull request #116024 from Chubercik/thorvg-1.0.0
thorvg: Update to 1.0.3
2026-04-03 11:52:14 -05:00
Jakub Marcowski 7770103858 thorvg: Update to 1.0.3 2026-03-31 21:48:43 +02:00
Danil Alexeev 32d1f518fa Improve editor-only class checking 2026-03-25 17:07:39 +03:00
Pāvels Nadtočajevs f5d278fe90 Update HarfBuzz to 13.1.1 and optionally use new hb-raster API to render glyphs. 2026-03-18 10:48:27 +02:00
Rémi Verschelde 6d309c858e Remove unused includes in modules with clangd-tidy 2026-03-16 16:40:39 +01:00
Pāvels Nadtočajevs 2bc2e93e88 Update AccessKit to 0.21.1 2026-03-09 20:39:42 +02:00
Pāvels Nadtočajevs b83ca97659 [TextServer] Remove GDExtension build support. 2026-03-04 19:34:46 +02:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde 727b06a79f Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Pāvels Nadtočajevs 9036ab6a6a Remove direct RenderingServer dependency from TextServer. 2026-02-26 10:25:59 +02:00
Lukas Tenbrink 0ea5ece984 Move binary math functions to Math namespace in math_funcs_binary header. 2026-02-17 12:24:35 +01:00
Thaddeus Crews 3f3dc88c7e Merge pull request #115949 from bruvzg/ts_clamp_size
[TextServer] Clamp internal font rendering size to 2048.
2026-02-06 08:17:57 -06:00
Pāvels Nadtočajevs cfe2a6c2ce [TextServer] Clamp internal font rendering size to 2048. 2026-02-06 11:26:05 +02:00
Thaddeus Crews 7dae5da198 Style: Convert *.gen.inc to *.gen.h 2026-02-05 19:47:56 -06:00
Pāvels Nadtočajevs 1ad9dbd35a [TextServer] Reuse FT_Face and data for all font sizes. 2026-02-02 11:36:42 +02:00
Rémi Verschelde f1afe67b3b Merge pull request #111062 from bruvzg/ts_autoinculde_data
Automatically include text server data if project includes translations requiring it.
2025-12-18 23:30:49 +01:00
Pāvels Nadtočajevs 5afbbc71a4 Automatically include text server data if project includes translations requiring it. 2025-12-18 15:32:52 +02:00
Rémi Verschelde 5d89816d93 Merge pull request #112661 from bruvzg/lang_shape
Improve language selection when shaping text.
2025-12-18 14:23:42 +01:00
Rémi Verschelde 65676315c6 Merge pull request #110310 from bruvzg/check_gl_cache
[TextServer] Check if texture cache is valid when loading glyph.
2025-12-18 14:23:10 +01:00
Pāvels Nadtočajevs 997f326b58 Improve language selection when shaping text. 2025-12-18 09:05:07 +02:00
Thaddeus Crews 76972d691d Merge pull request #113908 from bruvzg/ts_dup_fix
[TextServer] Fix `duplicated` losing span info, and RID leak.
2025-12-15 17:40:53 -06:00
Rémi Verschelde 76dda1f2c8 msdfgen: Update to 1.13
Remove unused `export-svg` and `save-*` files.
2025-12-12 22:39:53 +01:00
Pāvels Nadtočajevs 8fa484f331 [TextServer] Fix duplicated losing span info, and RID leak. 2025-12-11 21:50:22 +02:00
Pāvels Nadtočajevs 5fdcb805d4 [TextServer] Use a separate flag to disable min. string length for adding ellipsis. 2025-11-21 07:49:26 +02:00
Pāvels Nadtočajevs 369e690c55 [TextServer] Remove negative offset from the first char when shaping substrings. 2025-11-16 20:59:26 +02:00
Pāvels Nadtočajevs 0d19e18b00 [RTL] Use separate paragraph copy for the partially visible paragraphs. 2025-11-05 17:51:22 +02:00
Pāvels Nadtočajevs eaa643a4bb [TextServer] Fix range for zero-width glyphs extra spacing. 2025-10-23 21:39:22 +03:00
Haoyu Qiu 7af7ac6785 Fix crash when operating on newly created font RIDs 2025-10-19 10:46:28 +08:00
Thaddeus Crews c9b72fcfb6 Merge pull request #111481 from Ivorforce/texture-less-includes
Remove extraneous includes from `texture.h`.
2025-10-13 12:30:13 -05:00
Lukas Tenbrink 985e6178b4 Remove extraneous includes from texture.h. 2025-10-10 18:39:16 +02:00
Thaddeus Crews 16a11ac88b Merge pull request #111358 from Ivorforce/no-variant-hasher
Remove `VariantHasher` and `VariantComparator` in favour of specialising `HashMapHasherDefault` and `HashMapComparatorDefault`.
2025-10-10 10:26:12 -05:00
Thaddeus Crews b95024752a SCons: Remove system includes 2025-10-07 08:11:29 -05:00
Rémi Verschelde e1a6334b56 Merge pull request #111001 from bruvzg/ts_no_ft
Fix text servers build with disabled FreeType.
2025-10-07 14:33:55 +02:00
Lukas Tenbrink d2ee378d1c Remove VariantHasher and VariantComparator in favour of specializing HashMapHasherDefault and HashMapComparatorDefault. 2025-10-07 13:47:39 +02:00
Thaddeus Crews b17aa3343a Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
Thaddeus Crews 686b56fae9 Merge pull request #106434 from Ivorforce/invert-hashfuncs
Reduce cross project includes by rewriting `HashMapHasherDefault`.
2025-10-06 09:06:37 -05:00
chocola-mint ead282ff13 Remove file_access.h and script_backtrace.h includes from logger.h. 2025-10-05 17:49:23 +09:00
Lukas Tenbrink ad600125df Rewrite HashMapHasherDefault based on type traits - it is now possible to declare a default hashing function for any type.
Remove cross-project includes from `hashfuncs.h`.
Improve hashing function for `Color` (based on values instead of `String`).
Move `Variant` comparison from `hash_map.h` to `dictionary.cpp` (`VariantComparatorDictionary`), where it's used.
Remove now unnecessary `HashableHasher`.
2025-10-05 01:49:11 +02:00
Pāvels Nadtočajevs 2914a870af [TextServer] Do not add extra spacing to zero-width glyphs. 2025-09-28 21:39:44 +03:00
Pāvels Nadtočajevs e59a55e645 Fix text servers build with disabled FreeType. 2025-09-28 17:08:51 +03:00
Pāvels Nadtočajevs 82b8cd105c [TextServer] Check if texture cache is valid when loading glyph. 2025-09-07 21:00:55 +03:00
Thaddeus Crews 8e458d19cb Merge pull request #109152 from bruvzg/font_fb_no_msdf
Use non-MSDF fallback for MSDF fonts if fallback is a color or non-scalable font.
2025-08-22 12:35:36 -05:00
Pāvels Nadtočajevs 86e61a311f Use MSDF instead of MTSDF for font rendering.
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2025-08-09 10:41:16 +03:00
Pāvels Nadtočajevs 738dd2fd10 Use non-MSDF fallback for MSDF fonts if fallback is a color or non-scalable font. 2025-07-31 09:40:10 +03:00
Pāvels Nadtočajevs 22e99a4901 Restore per font oversampling override. 2025-06-19 18:10:54 +03:00
Pāvels Nadtočajevs e928b2a5e5 [SVG in OT] Fix rendering of some glyphs using "defs" with "#glyphXXXXX.X" id. 2025-06-03 13:18:55 +03:00