uchicago-library / library_website

The University of Chicago Library Website
5 stars 5 forks source link

Anti-aliasing issues with font and typography update. #717

Closed vitorgomateus closed 7 months ago

vitorgomateus commented 7 months ago

Initiated by an issue on Bugzilla Bug 29006.

Description

The character 'i' appears as capitalized. It seems to be an anti-aliasing issue. It only occurs on specific machines and seems to disappear when the CSS font-family: 'ProximaNova-Regular' is removed. Additionally, the university branding guidelines were also updated and require new typography.

Branding Typography Guidelines

Solution

Updating the font-families should resolve the issue.

Related code

/* library_website\base\static\base\css\global.scss */
body {
  color: #000000;
  margin-bottom: 0;
  font-family: 'ProximaNova-Regular', "Arial", sans-serif; /* update this line */
}

/* library_website\base\static\base\css\uclib.scss: */
  220  
  221  #footnotes {
  222:   font-family: 'ProximaNova-Light';
  223    font-size: 0.8em;
  224  }
  ...
  284  .intro {
  285    font-size: 1.0625em;
  286:   font-family: 'ProximaNova-Light'; }