Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RichTextLabel: BBCode [color] tags break DynamicFont extra Char spacing #34130

Closed
Tracked by #39144
cwook opened this issue Dec 6, 2019 · 2 comments
Closed
Tracked by #39144

RichTextLabel: BBCode [color] tags break DynamicFont extra Char spacing #34130

cwook opened this issue Dec 6, 2019 · 2 comments
Milestone

Comments

@cwook
Copy link

cwook commented Dec 6, 2019

Godot version:
3.2 beta2 official, tested with both GLES2 and GLES3 renderer.
OS/device including version:
Windows 7 Ultimate, 64-bit
Issue description:
In RichTextLabel bbcode, a [color] tag will replace the char spacing specified in the given DynamicFont with the default char spacing.

image

Steps to reproduce:

  1. Add a RichTextLabel and enable bbcode.
  2. Add some bbcode using color tags:
[center]|||||[/center]
[color=#ff00ff00]||||||[/color][color=#ffffff00]||||||[/color][color=#ffff0000]||||||[/color]
||[color=#ffffffff]|||||||[/color]
  1. Add a custom font and adjust the extra spacing for char.

Minimal reproduction project:
DemoRTLDynamicFontCharSpacing.zip

@Calinou
Copy link
Member

Calinou commented May 19, 2020

Related to #31089.

@akien-mga
Copy link
Member

Fixed by #68576.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants