Skip to content

Extra Spacing in a nested FontVariation does not work #80907

Closed
@kimkanu

Description

@kimkanu

Godot version

4.2.dev3

System information

Godot v4.2.dev3 - macOS 13.4.0 - Vulkan (Mobile) - integrated Apple M1 - Apple M1 (8 Threads)

Issue description

Probably related to #58340

When a FontVariation has a FontVariation in it as a fallback font, Extra Spacing values are overriden by the parent's one. Transforms and Embolden values seem to be fine.

Steps to reproduce

  1. Create a Label.
  2. Create and set a FontVariation as the font of the label node.
  3. Create and set another FontVariation as a fallback font of the font of the label node.
  4. Manipulate Extra Spacing values of the fallback font (such as Glyph) and there are no visible changes. If the parent has changed extra spacing values, then it affects the child fallback font too.
Screenshot 2023-08-23 at 7 44 49

Minimal reproduction project

font_variation_bug.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions