Skip to content

Only embolden if difference is greater than 200 - #724

Open
taj-p wants to merge 2 commits into
linebender:mainfrom
taj-p:tajp/emboldenOnlyIfMoreThan200Diff
Open

Only embolden if difference is greater than 200#724
taj-p wants to merge 2 commits into
linebender:mainfrom
taj-p:tajp/emboldenOnlyIfMoreThan200Diff

Conversation

@taj-p

@taj-p taj-p commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Stacked on #723.

Applies Chromium's heuristic of only emboldening if the requested weight differs by more than 200.

https://chromium.googlesource.com/chromium/src/%2B/39f1c9a7161786d7c54f394dfbfca8941f78fd8b/third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc#311

@taj-p
taj-p force-pushed the tajp/emboldenOnlyIfMoreThan200Diff branch from b1120ec to 138a00d Compare July 31, 2026 21:34
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.

1 participant