Hugo Locurcio
e2c17a8a0b
Add TextServer.get_short_name() and use it in --text-driver
...
This makes it easier to select TextServers on the command line.
Instead of having to enter the full name in quotes, you can now
just use `advanced`, `fallback` or `dummy` (lowercase).
2025-11-28 18:22:33 +01: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
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
Pāvels Nadtočajevs
6c34f48c90
Fix font fallback for lines with only non-visual/control characters.
2025-07-25 08:27:30 +03:00
Thaddeus Crews
adeb5635c0
Merge pull request #108769 from bruvzg/shy_fall
...
[TextServer] Fix soft hyphen font fallback.
2025-07-23 13:26:59 -05:00
Pāvels Nadtočajevs
ed0efc4791
Fix support data loading with system ICU
2025-07-20 22:33:45 +02:00
Pāvels Nadtočajevs
6d76439620
[TextServer] Fix soft hyphen font fallback.
2025-07-19 10:55:34 +03:00
Pāvels Nadtočajevs
22e99a4901
Restore per font oversampling override.
2025-06-19 18:10:54 +03:00
Rémi Verschelde
2ac31ece59
Merge pull request #107030 from bruvzg/font_validate_script
...
Check script sample characters to filter out incorrect script support information.
2025-06-13 01:30:37 +02:00
Rémi Verschelde
1a64b6b5b6
Merge pull request #106913 from Ivorforce/string-resize-uninitialized
...
Rename `String::resize` to `resize_uninitialized`
2025-06-12 22:48:45 +02:00
Pāvels Nadtočajevs
e87cccefca
Add line_breaking_strictness project setting.
2025-06-12 09:26:52 +03:00
Lukas Tenbrink
b13a0e1834
Rename String::resize to resize_uninitialized, to better communicate to callers that new characters must be initialized.
2025-06-11 18:13:02 +02:00
Aaron Franke
f6f1df7d73
Add 64-bit versions of core power of 2 functions
2025-06-01 23:11:12 -07:00
Pāvels Nadtočajevs
c464a3078a
Check script sample characters to filter out incorrect script support information.
2025-06-01 23:57:56 +03:00
avnotaklu
00beda9691
Fix: Removed freed up FontData's dangling data in Advanced and Fallback text server
2025-05-28 16:15:20 +05:30
Pāvels Nadtočajevs
0aae67b6bb
Add hardcoded baseline offset for Apple Color Emoji.
2025-05-23 22:00:39 +03:00
patwork
f9d28fc02f
Fix for implicit conversion from char16_t to char32_t
2025-05-20 23:08:20 +02:00
Pāvels Nadtočajevs
7fc4521dd8
Adjust hex code box baseline calculation.
2025-05-20 08:53:40 +03:00
Thaddeus Crews
8b4dd7a34e
Merge pull request #105724 from dugramen/recovery/split-commit
...
Add inline color pickers to script editor
2025-05-14 09:44:16 -05:00
dugramen
b9f59ae6ca
Add color pickers to script editor
2025-05-13 18:03:21 -04:00
Yyf2333
21fc5cce5c
Use LocalVector<Glyph> to reduce reallocation.
2025-05-12 18:11:18 +08:00
aaronp64
91931606f7
Remove _FORCE_INLINE_ from TextServer*::_ensure* methods
...
Reduces binary size by ~1.5 MB when compiling with TextServerAdvanced, and ~800 KB for TextServerFallback
2025-05-06 17:49:38 -04:00
Pāvels Nadtočajevs
6893b2b8e6
[TextServer] Fix outline size and image fonts with oversampling.
2025-04-28 19:10:56 +03:00
Thaddeus Crews
146e405c48
Merge pull request #105412 from bruvzg/fix_fixedsize_img_fonts
...
Fix fixed size image fonts incorrectly getting oversampling applied if set to native size.
2025-04-18 12:21:24 -05:00
Pāvels Nadtočajevs
a3943f8ad4
Fix fixed size image fonts incorrectly getting oversampling applied if set to native size.
2025-04-15 13:39:48 +03:00
Pāvels Nadtočajevs
b55d3a2516
Fix bitmap font scaling.
2025-04-15 12:14:37 +03:00
Pāvels Nadtočajevs
4afeca3bcf
Replace global oversampling with overrideable per-viewport oversampling.
2025-04-14 13:43:09 +03:00
Pāvels Nadtočajevs
b106dfd4f9
Base accessibility API.
2025-04-08 20:14:28 +03:00