Skip to content

Adopting variable fonts #252308

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

Merged
merged 257 commits into from
Jun 30, 2025
Merged

Adopting variable fonts #252308

merged 257 commits into from
Jun 30, 2025

Conversation

aiday-mar
Copy link
Contributor

@aiday-mar aiday-mar commented Jun 24, 2025

This PR allows to have variable fonts in the editor. There are still some issues however which should be addressed at a later stage:

  • The line breaks are not computed correctly. To fix this, we should use the DomLineBreaksComputer code when the line has variable fonts and apply all the inline decorations exactly as is from the editor. This will be done in a separate PR.

@aiday-mar aiday-mar requested a review from alexdima June 25, 2025 10:45
@aiday-mar aiday-mar marked this pull request as ready for review June 25, 2025 10:45
@aiday-mar aiday-mar enabled auto-merge (squash) June 25, 2025 10:45
@aiday-mar aiday-mar disabled auto-merge June 25, 2025 10:45
@aiday-mar aiday-mar enabled auto-merge (squash) June 25, 2025 10:45
@aiday-mar aiday-mar changed the title adopting variable fonts Adopting variable fonts Jun 25, 2025
@vs-code-engineering vs-code-engineering bot added this to the June 2025 milestone Jun 25, 2025
Copy link
Member

@alexdima alexdima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Looks good! Just one small problem around forcing stickiness to never grow at edges when font size is configured, please undo that part and then we should be good to go.

@aiday-mar aiday-mar requested a review from alexdima June 30, 2025 11:29
@aiday-mar aiday-mar merged commit 474b70c into main Jun 30, 2025
8 checks passed
@aiday-mar aiday-mar deleted the font-size-5 branch June 30, 2025 13:15
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.

2 participants