Commit Graph

335 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs f9d5c544c8 Update HarfBuzz to 14.2.0 and ICU4C to 78.3 2026-04-20 21:25:32 +03:00
Pāvels Nadtočajevs 15b8429995 [TextServer] Fix variable font transform. 2026-04-06 23:58:48 +03:00
Pāvels Nadtočajevs abc5c87451 [HarfBuzz] Use separate rendering context for each font. 2026-03-18 21:38:06 +02: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 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
Thaddeus Crews e6f5f5a1ca Merge pull request #116197 from bruvzg/rtl_wj
[TextServer] Ignore language of embedded object replacement spans when updating line breaks.
2026-02-20 11:36:04 -06:00
Lukas Tenbrink 0ea5ece984 Move binary math functions to Math namespace in math_funcs_binary header. 2026-02-17 12:24:35 +01:00
Pāvels Nadtočajevs 149ecbcbfd [TextServer] Ignore language of embedded object replacement spans when updating line breaks. 2026-02-12 10:11:56 +02:00
Pāvels Nadtočajevs cfe2a6c2ce [TextServer] Clamp internal font rendering size to 2048. 2026-02-06 11:26:05 +02:00
Pāvels Nadtočajevs 1ad9dbd35a [TextServer] Reuse FT_Face and data for all font sizes. 2026-02-02 11:36:42 +02:00
Pāvels Nadtočajevs ffd5129337 Remove leftover print line from TextServer. 2025-12-19 07:51:36 +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
Rémi Verschelde 9d8180edb8 Merge pull request #114027 from bruvzg/e_no_skip
[TextServer] Do not skip non-color font if system fallback is disabled.
2025-12-16 11:26:59 +01:00
Pāvels Nadtočajevs 3caa3d57db [TextServer] Do not skip non-color font if system fallback is disabled. 2025-12-15 09:07:11 +02: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
Haoyu Qiu 72d437c030 Move localized number formatting methods to TranslationServer
Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-11-10 15:01:22 +08:00
Thaddeus Crews 6b17d3583a Merge pull request #112436 from bruvzg/emof
[TextServer] Improve font fallback for emojis.
2025-11-07 10:32:37 -06:00
Pāvels Nadtočajevs 23907cd03b [TextServer] Improve font fallback for emojis. 2025-11-07 11:04:01 +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
Mike Precup 6fbb89df54 Optimize CPU text shaping 2025-10-22 22:25:09 -07:00
Lukas Tenbrink 985e6178b4 Remove extraneous includes from texture.h. 2025-10-10 18:39:16 +02:00
Thaddeus Crews b95024752a SCons: Remove system includes 2025-10-07 08:11:29 -05:00
Rémi Verschelde 56d5624e88 Merge pull request #111355 from bruvzg/zero_w_2
Enforce zero width spaces and joiners with missing font. Do not warn about missing non-visual characters.
2025-10-07 14:34:10 +02: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
Pāvels Nadtočajevs fda161f976 Enforce zero width spaces and joiners with missing font. Do not warn about missing non-visual characters. 2025-10-07 13:10:24 +03:00
Thaddeus Crews b17aa3343a Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -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
Thaddeus Crews 6f014135c4 Merge pull request #110317 from bruvzg/ts_zero_w
[TextServer] Do not add extra spacing to zero-width glyphs.
2025-10-01 13:12:38 -05:00
Pāvels Nadtočajevs 3f84820711 [TextServer] Enforce zero width spaces and joiners to actually be zero width and not fallback to regular space. 2025-09-29 00:52:34 +03: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
Thaddeus Crews 720dfdde7d GUI: Fix nullptr deref in TextServer 2025-09-27 10:56:01 -05:00
Pāvels Nadtočajevs 82b8cd105c [TextServer] Check if texture cache is valid when loading glyph. 2025-09-07 21:00:55 +03:00
Pāvels Nadtočajevs ddde1c07a6 [TextServer] Shape emojis as separate runs. 2025-09-02 13:03:50 +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