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

Fix FontTemplateDescriptor under FreeType #19928

Merged
merged 2 commits into from Feb 8, 2018
Merged

Commits on Feb 3, 2018

Commits on Feb 7, 2018

  1. Fix FontTemplateDescriptor under FreeType

    Issue #17321. Under Linux, using "font-family: sans-serif" previously
    caused Servo to select the "UltraLight" face (of DejaVu Sans). There
    were two reasons for this:
    
    1. Font weight was only retrieved from the OS/2 table for bold faces.
       This neglected to retrieve the weight information for "lighter than
       normal" weight faces. This meant that the UltraLight face appeared as
       normal weight, and was selected.
    
    2. Retrieval of font stretch information from the OS/2 table was not
       implemented at all.
    jonleighton committed Feb 7, 2018
You can’t perform that action at this time.