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: Use first font with space in range for first_available_computed_font #3970

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mkljczk
Copy link
Contributor

@mkljczk mkljczk commented Mar 16, 2025

I hope I got this right. I adapted it from https://github.com/LadybirdBrowser/ladybird/blob/master/Libraries/LibWeb/Layout/Node.h#L335. Before this change, in my case a ch CSS unit relied on an Arabic font which explicitly didn't have a space in its unicode-range, causing the result to be off compared to other browsers.

@mkljczk mkljczk requested a review from AtkinsSJ as a code owner March 16, 2025 20:36
@ladybird-bot
Copy link
Collaborator

Hello!

One or more of the commit messages in this PR do not match the Ladybird code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

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.

3 participants