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
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
Thaddeus Crews
4d0ddafa21
Merge pull request #113965 from akien-mga/msdfgen-1.13
...
msdfgen: Update to 1.13
2025-12-15 08:01:02 -06: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
1ca8f1d7f6
Update ICU to 78.1
2025-12-13 00:04:35 +02: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
1682f6d4dd
Fix build errors and warnings with LLVM-21
2025-12-10 20:05:38 +02:00
Thaddeus Crews
ee5f8bbf11
Merge pull request #112940 from bruvzg/emo_st
...
[TextServer] Track emoji subruns separately from parentheses stack.
2025-11-25 09:52:29 -06: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
2479e1737a
[TextServer] Track emoji subruns separately from parentheses stack.
2025-11-19 08:36:20 +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
e4ba8c550f
[TextServer] Fix some emoji sequences and add missing ICU emoji property data.
2025-11-11 18:31:47 +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
Thaddeus Crews
6af0c2a21c
Merge pull request #110340 from bruvzg/ts_dup_r
...
[RTL] Use separate paragraph copy for the partially visible paragraphs.
2025-11-07 10:32:27 -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
8926bf2a7f
[TextServer] Fix FontPriorityList returning duplicate fonts.
2025-11-05 15:13:07 +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
Haoyu Qiu
7af7ac6785
Fix crash when operating on newly created font RIDs
2025-10-19 10:46:28 +08:00
Thaddeus Crews
8be090c03a
Merge pull request #111569 from DeeJayLSP/harfbuzz-update
...
Update HarfBuzz to 12.1.0
2025-10-13 19:28:49 -05:00
DeeJayLSP
276e1c222c
Update HarfBuzz to 12.1.0
2025-10-13 15:12:33 -03: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
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
Lukas Tenbrink
d2ee378d1c
Remove `VariantHasher` and `VariantComparator` in favour of specializing `HashMapHasherDefault` and `HashMapComparatorDefault`.
2025-10-07 13:47:39 +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
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
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
Thaddeus Crews
6dddb6e6d6
Merge pull request #110194 from bruvzg/emoji_run
...
[TextServer] Shape emojis as separate runs.
2025-09-22 21:00:58 -05:00
Thaddeus Crews
4dec6af2c8
Merge pull request #108613 from Repiteo/scons/fix-defines
...
SCons: Ensure `CPPDEFINES` is properly utilized
2025-09-16 11:44:45 -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