summaryrefslogtreecommitdiffstats
path: root/modules/text_server_fb/text_server_fb.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@87318a2fb7fffeb72adca934e31915be077c3d1fSpartan3222024-11-061-30/+32
|\
| * [TextServer] Only load ellipsis glyph when it's used.bruvzg2024-11-051-30/+32
| |
* | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-301-4/+4
|\|
| * Set clang-format `RemoveSemicolon` rule to `true`Adam Scott2024-10-251-4/+4
| | | | | | | | - Set clang-format `Standard` rule to `c++20`
* | Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* [TextServer] Silently skip invalid system fallback fonts.bruvzg2024-10-011-4/+30
|
* TextServerFallback: improve performance by removing redundant lookupsrune-scape2024-08-281-291/+365
| | | | | | + caching editor setting + using a faster hash method on the FontForSizeFallback cache + SafeFlag instead of mutex for ShapedTextDataFallback::valid bc its read Very often
* Merge pull request #95549 from timothyqiu/split-translation-serverRémi Verschelde2024-08-161-1/+1
|\ | | | | | | Split `TranslationServer` into its own file
| * Split TranslationServer into its own fileHaoyu Qiu2024-08-151-1/+1
| |
* | [Font Import] Detect pixel fonts and disable subpixel positioning.bruvzg2024-07-231-0/+31
|/
* fix: change esthetic -> aestheticEric allen2024-07-051-1/+1
|
* [TextServer] Fix get_word_breaks and it uses.bruvzg2024-06-211-46/+86
|
* [TextServer, GDExtension] Fix building text servers as GDExtension, expose ↵bruvzg2024-06-121-5/+11
| | | | new/changed low-level methods to GDExtension API.
* [TextServer] Improve empty glyph handling to allow glyphs smaller than 2px ↵bruvzg2024-04-071-42/+51
| | | | and avoid unnecessary texture updates.
* Prefer family name in fonts' names tableHaoyu Qiu2024-04-061-3/+34
|
* [TextServer] Expose ICU title case string conversion to scripting.bruvzg2024-04-041-0/+4
|
* [Font] Apply oversampling to the "embolden" strength.bruvzg2024-03-191-1/+1
|
* Merge pull request #89414 from bruvzg/update_icu_msdfgenRémi Verschelde2024-03-131-0/+6
|\ | | | | | | Update ICU and msdfgen.
| * Update ICU and msdfgen.bruvzg2024-03-131-0/+6
| |
* | [TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, ↵bruvzg2024-03-131-7/+5
| | | | | | | | update extension docs.
* | Merge pull request #89395 from bruvzg/rtl_ts_img_rangeRémi Verschelde2024-03-121-5/+32
|\ \ | |/ |/| | | [RTL] Use "visible characters" property for inline object visibility
| * [RTL] Use "visible characters" property for inline object visibilitybruvzg2024-03-121-5/+32
| |
* | [Font] Add option to disable embedded bitmaps loading.bruvzg2024-03-111-1/+21
|/
* [TextServer] Fix fallback line breaking code adding two breaks for CR-LF.bruvzg2024-03-051-1/+4
|
* Pre-commit: Update to clang-format 17.0.6 and black 24.2.0Rémi Verschelde2024-02-281-1/+1
|
* [TextServer] Implement soft hyphen handling.bruvzg2024-02-231-6/+13
|
* Merge pull request #88344 from bruvzg/fb_ts_nbspRémi Verschelde2024-02-151-1/+3
|\ | | | | | | [Fallback TextServer] Add support for non breaking spaces.
| * [Fallback TextServer] Add support for non breaking spaces.bruvzg2024-02-141-1/+3
| |
* | [TextServer / Font] Do not duplicate images to prevent unnecessary embedding.bruvzg2024-02-051-25/+30
|/
* [TextServer / Font] Add support for customizable baseline offset.bruvzg2024-01-281-2/+33
|
* Use GODOT_MODULE define in TextServer modulesAaron Franke2024-01-061-3/+3
|
* [TextServer] Do not draw non-visual characters.bruvzg2023-12-121-0/+12
|
* [Text Overrun] Add option to set custom ellipsis character, add support for ↵bruvzg2023-12-041-162/+216
| | | | system font fallback.
* Merge pull request #81438 from 0xafbf/patch-2Rémi Verschelde2023-11-101-4/+4
|\ | | | | | | Fix subpixel layouts in text rendering
| * Fix subpixel layouts in text renderingAndrés Botero2023-09-071-4/+4
| |
* | [Bitmap fonts] Add support for scaling.bruvzg2023-10-131-4/+110
| |
* | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-10-081-1/+1
| |
* | [TextServer] Store font extra spacing variations without making a full copy ↵bruvzg2023-09-281-115/+150
| | | | | | | | of font.
* | [Modules] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-261-147/+147
| |
* | [TextServer] Pass Dictionary properties by value and check property values ↵bruvzg2023-09-071-2/+4
|/ | | | instead of references..
* [TextServer] Remove excessive Dictionary checks.bruvzg2023-09-041-4/+2
|
* [Text Server] Store extra spacing of individual font variations.bruvzg2023-08-241-9/+35
|
* [TextServer] Fix issues with character breaks, add more tests.bruvzg2023-08-191-3/+9
|
* [TextServer] Fix system font fallback and caret/selection behavior for ↵bruvzg2023-08-151-0/+14
| | | | composite characters.
* Fix various typos with codespellRémi Verschelde2023-08-071-1/+1
| | | | | | | | | Also includes typo fixes from #79993, #80068, #80276, and #80303. Co-authored-by: betalars <contact@betalars.de> Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com> Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com> Co-authored-by: Raul Santos <raulsntos@gmail.com>
* Style: Harmonize header includes in modulesRémi Verschelde2023-06-151-4/+4
| | | | | | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module ("local" includes) should be listed first in their own block using relative paths, before Godot's "core" includes which use "absolute" (project folder relative) paths, and finally thirdparty includes. Includes in `#ifdef`s come after their relevant section, i.e. the overall structure is: - Local includes * Conditional local includes - Core includes * Conditional core includes - Thirdparty includes * Conditional thirdparty includes
* Fix various errors when running the unit testsRedworkDE2023-05-091-1/+1
| | | | Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* [TextServer] Use dedicated flag for object replacement characters.bruvzg2023-04-121-1/+1
|
* Merge pull request #74149 from bruvzg/get_charYuri Sizov2023-03-161-0/+4
|\ | | | | [Font] Implement `get_char_from_glyph_index` function.