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

Account for dropcap when calculating paragraph size, fix duplicate last char when using dropcap with autowrap off. #96265

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Aug 29, 2024

  • Account for dropcap when calculating paragraph size.
  • Fix duplicate last char when using dropcap with autowrap off.

Fixes #96255
Fixes #94819

Note: dropcap is still not convenient to use with autowrap off, since only one paragraph will flow around it (and a normal new line will start a new paragraph), but you can force breaks within a paragraph with other line breaking characters, e.g, [char=0B].

Screenshot 2024-08-29 at 09 41 34

…st char when using dropcap with autowrap off.
@bruvzg bruvzg added this to the 4.4 milestone Aug 29, 2024
@Efra-EMX
Copy link

Fix duplicate last char when using dropcap with autowrap off.

Does this also fix #94819? As in, fixing the duplicate last char when autowrap is set to any value other than off

@bruvzg
Copy link
Member Author

bruvzg commented Aug 29, 2024

Does this also fix #94819? As in, fixing the duplicate last char when autowrap is set to any value other than off

Yes, should fix it as well.

@bruvzg bruvzg marked this pull request as ready for review August 29, 2024 18:01
@bruvzg bruvzg requested a review from a team as a code owner August 29, 2024 18:01
@akien-mga akien-mga merged commit c2d81b0 into godotengine:master Sep 6, 2024
18 checks passed
@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
3 participants