From c89c515ccf941a62bf2ec501095fad57d72cb1f7 Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Thu, 18 Nov 2021 23:36:22 +0200
Subject: [TextServer] Improve ligature cursor handling. Fix mid-grapheme hit
test. Fix OpenType features property handling, add default features override
option. Enable mid-grapheme cursor by default.
---
doc/classes/FontData.xml | 198 ++++++++++-------------------------------------
1 file changed, 41 insertions(+), 157 deletions(-)
(limited to 'doc/classes/FontData.xml')
diff --git a/doc/classes/FontData.xml b/doc/classes/FontData.xml
index 0c8386784e..36976f7083 100644
--- a/doc/classes/FontData.xml
+++ b/doc/classes/FontData.xml
@@ -79,12 +79,6 @@
Returns text server font cache entry resource id.
-
-
-
- Returns contents of the dynamic font source file.
-
-
@@ -93,30 +87,6 @@
Returns font descent (number of pixels below the baseline).
-
-
-
- Returns font fixed size.
-
-
-
-
-
- Returns font family name.
-
-
-
-
-
- Returns font style flags, see [enum TextServer.FontStyle].
-
-
-
-
-
- Returns font style name.
-
-
@@ -180,12 +150,6 @@
Returns rectangle in the cache texture containing the glyph.
-
-
-
- Returns the font hinting mode. Used by dynamic fonts only.
-
-
@@ -216,24 +180,6 @@
Returns list of language support overrides.
-
-
-
- Returns the width of the range around the shape between the minimum and maximum representable signed distance.
-
-
-
-
-
- Returns source font size used to generate MSDF textures.
-
-
-
-
-
- Returns font oversampling factor, if set to [code]0.0[/code] global oversampling factor is used instead. Used by dynamic fonts only.
-
-
@@ -346,18 +292,6 @@
Returns [code]true[/code] if a Unicode [code]char[/code] is available in the font.
-
-
-
- Returns [code]true[/code] if font 8-bit anitialiased glyph rendering is supported and enabled.
-
-
-
-
-
- Returns [code]true[/code] if auto-hinting is supported and preferred over font built-in hinting. Used by dynamic fonts only.
-
-
@@ -365,12 +299,6 @@
Returns [code]true[/code], if font supports given language ([url=https://en.wikipedia.org/wiki/ISO_639-1]ISO 639[/url] code).
-
-
-
- Returns [code]true[/code] if glyphs of all sizes are rendered using single multichannel signed distance field generated from the dynamic font vector data.
-
-
@@ -455,13 +383,6 @@
Renders the range of characters to the font cache texture.
-
-
-
-
- If set to [code]true[/code], 8-bit antialiased glyph rendering is used, otherwise 1-bit rendering is used. Used by dynamic fonts only.
-
-
@@ -471,13 +392,6 @@
Sets the font ascent (number of pixels above the baseline).
-
-
-
-
- Sets font source data, e.g contents of the dynamic font source file.
-
-
@@ -487,41 +401,6 @@
Sets the font descent (number of pixels below the baseline).
-
-
-
-
- Sets the fixed size for the font.
-
-
-
-
-
-
- Sets the font family name.
-
-
-
-
-
-
- Sets the font style flags, see [enum TextServer.FontStyle].
-
-
-
-
-
-
- Sets the font style name.
-
-
-
-
-
-
- If set to [code]true[/code] auto-hinting is preferred over font built-in hinting.
-
-
@@ -573,13 +452,6 @@
Sets rectangle in the cache texture containing the glyph.
-
-
-
-
- Sets font hinting mode. Used by dynamic fonts only.
-
-
@@ -598,35 +470,6 @@
Adds override for [method is_language_supported].
-
-
-
-
- Sets the width of the range around the shape between the minimum and maximum representable signed distance.
-
-
-
-
-
-
- Sets source font size used to generate MSDF textures.
-
-
-
-
-
-
- If set to [code]true[/code], glyphs of all sizes are rendered using single multichannel signed distance field (MSDF) generated from the dynamic font vector data. MSDF rendering allows displaying the font at any scaling factor without blurriness, and without incurring a CPU cost when the font size changes (since the font no longer needs to be rasterized on the CPU). As a downside, font hinting is not available with MSDF. The lack of font hinting may result in less crisp and less readable fonts at small sizes.
- [b]Note:[/b] MSDF font rendering does not render glyphs with overlapping shapes correctly. Overlapping shapes are not valid per the OpenType standard, but are still commonly found in many font files, especially those converted by Google Fonts. To avoid issues with overlapping glyphs, consider downloading the font file directly from the type foundry instead of relying on Google Fonts.
-
-
-
-
-
-
- Sets font oversampling factor, if set to [code]0.0[/code] global oversampling factor is used instead. Used by dynamic fonts only.
-
-
@@ -701,4 +544,45 @@
+
+
+ If set to [code]true[/code], font 8-bit anitialiased glyph rendering is supported and enabled.
+
+
+ Contents of the dynamic font source file.
+
+
+ Font size, used only for the bitmap fonts.
+
+
+ Font family name.
+
+
+ Font style flags, see [enum TextServer.FontStyle].
+
+
+ If set to [code]true[/code], auto-hinting is supported and preffered over font built-in hinting. Used by dynamic fonts only.
+
+
+ Font hinting mode. Used by dynamic fonts only.
+
+
+ The width of the range around the shape between the minimum and maximum representable signed distance.
+
+
+ Source font size used to generate MSDF textures.
+
+
+ If set to [code]true[/code], glyphs of all sizes are rendered using single multichannel signed distance field generated from the dynamic font vector data.
+
+
+ Font OpenType feature set override.
+
+
+ Font oversampling factor, if set to [code]0.0[/code] global oversampling factor is used instead. Used by dynamic fonts only.
+
+
+ Font style name.
+
+
--
cgit v1.2.3