Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[WebProfilerBundle] Fix the usage of web fonts #48822

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 1 commit into from
Dec 29, 2022

Conversation

javiereguiluz
Copy link
Member

@javiereguiluz javiereguiluz commented Dec 29, 2022

Q A
Branch? 6.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets #48708
License MIT
Doc PR -

This PR fixes #48708. As the community found out, the issue was that we're missing the bold style of the embedded web font.

However, while fixing this issue we realized that adding the normal + bold styles would increase the page size too much. We discussed this internally in the Core Team and decided to use a different approach: let's use a variable font, which will allow us to use many different font weights with a single font file.

To do that, we had to change the previous web font (Ubuntu Mono) by a new font (JetBrains Mono). This is the same font used in symfony.com docs, in PhpStorm IDE, etc.

@fabpot
Copy link
Member

fabpot commented Dec 29, 2022

Thank you @javiereguiluz.

@fabpot fabpot merged commit 617da29 into symfony:6.2 Dec 29, 2022
@fabpot fabpot mentioned this pull request Dec 29, 2022
@javiereguiluz javiereguiluz deleted the fix_profiler_font branch December 29, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.