Commit Graph

222 Commits

Author SHA1 Message Date
Eric allen e03fb3043f fix: change esthetic -> aesthetic 2024-07-05 16:03:01 -04:00
bruvzg b5e3238109 [TextServer] Fix get_word_breaks and it uses. 2024-06-21 14:56:57 +03:00
bruvzg e651421905 [TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API. 2024-06-12 19:30:19 +03:00
Jakub Marcowski d9f8ef68df Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
Thaddeus Crews a9810cffb4 SCons: Fix potential Windows ANSI exception 2024-05-18 13:14:31 -05:00
A Thousand Ships a0dbdcc3ab Replace find with contains/has where applicable
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Thaddeus Crews dec2a121a9 SCons: Fixes for warn/error colorization 2024-04-29 11:56:21 -05:00
Thaddeus Crews e0e8ce1fc0 SCons: Colorize warnings/errors during generation 2024-04-28 16:24:48 -05:00
bruvzg 1f8387f8fd [TextServer] Improve empty glyph handling to allow glyphs smaller than 2px and avoid unnecessary texture updates. 2024-04-07 18:19:45 +03:00
Haoyu Qiu 9bcda8f94c Prefer family name in fonts' names table 2024-04-06 16:08:59 +08:00
bruvzg 27f6f4147b [TextServer] Expose ICU title case string conversion to scripting. 2024-04-04 10:56:49 +03:00
bruvzg f6a532d501 [Font] Apply oversampling to the "embolden" strength. 2024-03-19 08:50:01 +02:00
Rémi Verschelde 0478998148 Merge pull request #89414 from bruvzg/update_icu_msdfgen
Update ICU and msdfgen.
2024-03-13 18:41:35 +01:00
bruvzg 3bb5047db3 [TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs. 2024-03-13 12:57:39 +02:00
bruvzg 0d02568ff8 Update ICU and msdfgen. 2024-03-13 09:12:50 +02:00
Rémi Verschelde 061e0c758d Merge pull request #89395 from bruvzg/rtl_ts_img_range
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 14:23:03 +01:00
bruvzg 433de7f1a8 [RTL] Use "visible characters" property for inline object visibility 2024-03-12 11:28:45 +02:00
bruvzg 911fa38d3a [Font] Add option to disable embedded bitmaps loading. 2024-03-11 16:31:10 +02:00
Thaddeus Crews fb299d0fb1 SCons: Ensure with statement where applicable 2024-03-10 12:57:57 -05:00
Thaddeus Crews d9fa40f2df Enforce \n eol for Python writes
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06:00
bruvzg b58e45ed43 [TextServer] Fix fallback line breaking code adding two breaks for CR-LF. 2024-03-05 09:15:11 +02:00
Thaddeus Crews 0ce9b6fd1d Add two new COMSTR environment variables 2024-03-01 12:44:03 -06:00
Rémi Verschelde 3a08c646ee Pre-commit: Update to clang-format 17.0.6 and black 24.2.0 2024-02-28 14:25:35 +01:00
bruvzg ad017a20ea [TextServer] Implement soft hyphen handling. 2024-02-23 12:40:13 +02:00
Rémi Verschelde a00d810c83 Merge pull request #88344 from bruvzg/fb_ts_nbsp
[Fallback TextServer] Add support for non breaking spaces.
2024-02-15 17:35:51 +01:00