Skip to content
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

Fixes #2750 - Improves text rendering #2821

Merged
merged 2 commits into from
Apr 2, 2019

Conversation

marimeireles
Copy link
Member

This PR follows the previous discussion we had here: #2808
I decided to create a new version so we still keep a log from the discussion we had about trying to use the fontfaceobserver.

There are two changes in this PR.

  1. I removed the PT+Mono webfont because Mike and I agreed it wasn't worth it to make a request for that font. @karlcow what do you think?
  2. Added some configuration to our fonts using @font-face. The reason why I added it can be found in this Enable text compression #2750 (comment) but summarizing I think the font-display: optional option can have a huge impact for users in slow internet connections showing text for them much earlier + this is super easy to implement.

@miketaylr these are the changes I proposed here #2808 (comment).

@marimeireles
Copy link
Member Author

wow this is weird. Why my PR isn't being tested?

@karlcow
Copy link
Member

karlcow commented Mar 20, 2019

wow this is weird. Why my PR isn't being tested?

indeed.

@karlcow karlcow changed the title Improves text rendering Fixes #2750 - Improves text rendering Mar 20, 2019
Copy link
Member

@karlcow karlcow left a comment

Choose a reason for hiding this comment

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

The rest looks good.

webcompat/templates/layout.html Outdated Show resolved Hide resolved
@marimeireles
Copy link
Member Author

@karlcow 🐄

@karlcow
Copy link
Member

karlcow commented Apr 2, 2019

yoohoo @marimeireles Hello and welcome back.

@karlcow karlcow merged commit 57c21d7 into webcompat:master Apr 2, 2019
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