Skip to content

Switch from Source Code Pro to Roboto Mono #2459

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
Jan 5, 2021

Conversation

parlough
Copy link
Member

@parlough parlough commented Dec 12, 2020

The previous monospace font is a little blurry and many characters feel slightly squished. To standardize with other Dart web tools and improve clarity I suggest switching to Roboto Mono which is licensed under Apache License, Version 2.0.

This also removes Source Sans Pro which was not used at all as far as I could tell.

The rendering result on Chrome Dev (Linux):

Previously(Source Code Pro):
image

Suggested(Roboto Mono):
image

SO much better <3

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Dec 12, 2020
@parlough
Copy link
Member Author

parlough commented Dec 13, 2020

I believe this test is failing due to _fe_analyzer_shared migrating to null safety. Should work once rerun though due to fixes merged recently.

Copy link
Contributor

@jcollins-g jcollins-g left a comment

Choose a reason for hiding this comment

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

You're right this looks better. Could you instead give Roboto Mono a try, as used in code examples on the dart.dev site, such as at https://dart.dev/samples? In general when we make changes we try to align to the larger Dart web style where possible.

Also it looks like Travis won't stop trying to run sdk-analyzer against stable unless you resync your PRs, so if you can do that it'll clear the error.

@parlough parlough force-pushed the feature/update-code-font branch from 3430ab7 to 785c184 Compare December 16, 2020 21:07
@parlough parlough changed the title Switch from Source Code Pro to Jetbrains Mono Switch from Source Code Pro to Roboto Mono Dec 16, 2020
@parlough
Copy link
Member Author

@jcollins-g This looks like an improvement as well, good to go on my end :)

Copy link
Contributor

@jcollins-g jcollins-g left a comment

Choose a reason for hiding this comment

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

This looks good, code bits are much more readable when I tried this locally.

@jcollins-g jcollins-g merged commit 5e9a4ff into dart-lang:master Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants