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

[Complex Text Layouts] Refactor RichTextLabel. #42595

Merged
merged 1 commit into from
Dec 13, 2020

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Oct 6, 2020

Part of godotengine/godot-proposals#1180 implementation.

Depends on #41100 #43981

  • BBCode.
    • Add font size tag / features tag. ✔️
    • Add layout control tags. ✔️
    • Add structured text control tags. ✔️
  • RTL content shaping / cache. ✔️
    • Text handling. ✔️
    • Table handling. ✔️
    • List handling. ✔️
  • RTL content draw. ✔️
    • Text drawing. ✔️
    • Table drawing. ✔️
    • List drawing (ul, ol (types = 1,a,A,i,I), including nested lists). ✔️
  • Hit test / carets / selection / search. ✔️
  • Optimize cache search and invalidation. ✔️
  • UI mirroring. ✔️
    • RTL internals mirroring. ✔️
    • Set BiDi overrides for editor UI RTL controls. ✔️

Test Project: RTL.zip

Screenshots

RTL

@bruvzg bruvzg added this to the 4.0 milestone Oct 6, 2020
@bruvzg bruvzg force-pushed the ctl_rich_text branch 14 times, most recently from c17e996 to ede83af Compare October 13, 2020 13:47
@bruvzg bruvzg force-pushed the ctl_rich_text branch 9 times, most recently from 6e59cfc to 4fd0489 Compare October 22, 2020 07:57
@bruvzg bruvzg force-pushed the ctl_rich_text branch 2 times, most recently from cb96e24 to fd332c7 Compare October 22, 2020 16:46
Copy link
Member

@Paulb23 Paulb23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@akien-mga
Copy link
Member

@reduz also approved on IRC, so let's merge.

@akien-mga akien-mga merged commit bbf7bb3 into godotengine:master Dec 13, 2020
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants