decentraland / decentraland/bevy-explorer

TextShape: line_spacing, line_count, shadow and outline fields ignored

Open
#1,178 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
27
Forks
20
Avg merge
1d 30m
Merged PRs (30d)
78

Description

PBTextShape's `line_spacing`, `line_count`, `shadow_blur`, `shadow_offset_x/y`, `shadow_color`, `outline_width`, `outline_color` are deserialized but never read (`crates/scene_runner/src/update_world/text_shape.rs`; there's an old TODO comment on outline units at line 72).

Unity renders most of these (`SDKComponents/TextShape/TMPProSdkExtensions.cs`) with one quirk worth matching deliberately: their shadow underlay only activates when `shadow_offset_x|y != 0`, so blur/colour alone do nothing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.