You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(gpui): stop fallback text turning bold once a bold weight loads - #80
build a static face's fallback chain at the weight that face draws at, so regular text keeps regular CJK and Hangul fallbacks after a bold weight of the same family loads
No actionable comments were generated in the recent review.
Summary
Moves fallback chain construction into fallback_chain and caches chains per weight within each load_family call. Reused static faces now receive the chain built at the weight they draw at, not the weight that loaded the family last.
load_family now caches fallback chains by weight during each call. Reused and newly loaded faces receive a fallback chain selected for their instantiated weight.
Merge Risk: Minimal · up to d6700
The change builds fallback chains at the weight each face is drawn at, so regular CJK and Hangul fallback text stays regular after a bold weight loads. No merge-blocking risk was identified.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renderingchanges the scene, shaders or a renderertextchanges text shaping, layout or rasterising
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary