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

LibWeb/Canvas: Calculate text width for measureText correctly #21340

Merged
merged 1 commit into from
Oct 6, 2023
Merged

LibWeb/Canvas: Calculate text width for measureText correctly #21340

merged 1 commit into from
Oct 6, 2023

Conversation

circl-lastname
Copy link
Contributor

Previously this simply added the widths of each glyph, not accounting for glyph spacing. For now this fixes only that issue.

Previously this simply added the widths of each glyph, not accounting
for glyph spacing.
@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Oct 5, 2023
@awesomekling awesomekling merged commit 274e0f4 into SerenityOS:master Oct 6, 2023
11 checks passed
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label Oct 6, 2023
@circl-lastname circl-lastname deleted the text_width_fix branch October 6, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants