From c931906af71ffdc49dd10611bb4ac69febdca559 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Tue, 21 Sep 2021 12:27:06 +0300 Subject: Add flag to connected grapheme. Apply RTL displacement FX only to the whole connected grapheme. Pass more glyph info to the custom RTL FX. --- doc/classes/CharFXTransform.xml | 6 ++++++ doc/classes/TextServer.xml | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/classes/CharFXTransform.xml b/doc/classes/CharFXTransform.xml index ddd77dc2fc..b00031edf6 100644 --- a/doc/classes/CharFXTransform.xml +++ b/doc/classes/CharFXTransform.xml @@ -28,6 +28,12 @@ Font resource used to render glyph. + + Number of glyphs in the grapheme cluster. This value is set in the first glyph of a cluster. Setting this property won't affect drawing. + + + Glyph flags. See [enum TextServer.GraphemeFlag] for more info. Setting this property won't affect drawing. + Font specific glyph index. diff --git a/doc/classes/TextServer.xml b/doc/classes/TextServer.xml index 661c4f05ef..7fe9278f2c 100644 --- a/doc/classes/TextServer.xml +++ b/doc/classes/TextServer.xml @@ -1247,6 +1247,12 @@ Grapheme is punctuation character. + + Grapheme is underscore character. + + + Grapheme is connected to the previous grapheme. Breaking line before this grapheme is not safe. + Disables font hinting (smoother but less crisp). -- cgit v1.2.3