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

Inject unicode-range into all the @font-face declarations for the given family when glyphs are missing #103

Merged
merged 1 commit into from Jul 5, 2020

Conversation

papandreou
Copy link
Collaborator

@papandreou papandreou commented Jul 5, 2020

Turns out that the font matching algorithm causes the browser to try downloading one of the other variants of the fallback font when we only inject unicode-range into the specific one with missing glyphs.

I didn't realize that when implementing #100.

@papandreou papandreou requested a review from Munter July 5, 2020 16:01
@papandreou papandreou self-assigned this Jul 5, 2020
@coveralls
Copy link

coveralls commented Jul 5, 2020

Pull Request Test Coverage Report for Build 363

  • 9 of 9 (100.0%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.2%) to 89.514%

Files with Coverage Reduction New Missed Lines %
lib/HeadlessBrowser.js 2 91.43%
Totals Coverage Status
Change from base Build 357: -0.2%
Covered Lines: 1017
Relevant Lines: 1088

💛 - Coveralls

@Munter Munter merged commit d61271e into master Jul 5, 2020
@Munter Munter deleted the fix/unusedGlyphsMultipleVariants branch July 5, 2020 19:53
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.

None yet

3 participants