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

Overnight my Lato looks quite different #644

Closed
websevendev opened this issue Feb 9, 2017 · 13 comments
Closed

Overnight my Lato looks quite different #644

websevendev opened this issue Feb 9, 2017 · 13 comments
Assignees

Comments

@websevendev
Copy link

I noticed the Lato on my site looks different than it used to.
I had some older tabs open overnight, so I compared.

Open in tabs and flick back and forth:
Before:
http://i.imgur.com/boAj26Q.png
After:
http://i.imgur.com/w6yCaVd.png

In dev tools, under Sources, a new source has appeared: fonts.gstatic.com

To me, the change has taken place on other pages using Lato too: http://semantic-ui.com/elements/header.html


So can anyone help me understand this?

Is the change personal to me only?

I have Lato installed on my Windows. Has my browser been using it for the past 6 months and then suddenly decided to request it from fonts.gstatic.com instead? Or is my local Lato never used when a website specifically imports a Google font?


I like the old version better, so how would I go about achieving the old look, if the font size and variant are exactly the same?

@dominiklaube
Copy link

I've got the same problem. But I currently don't have any solution for this.

@awgv
Copy link

awgv commented Feb 9, 2017

@dominiklaube self-hosting?

@m4rc1e
Copy link
Collaborator

m4rc1e commented Feb 9, 2017

@websevendev The change is not personal. Lato hadn't been upgraded in several years. We've upgraded it recently to the latest version, 2.015.

Lato 2.015 uses a newer version of ttfauothint which had x-height pixel rounding applied. We didn't add this ourselves but the creator of the font.

@davelab6 Since this issue keeps cropping up, we should by default match the previous version's settings. I'll look into how we can write a test for this.

@lowwa132
Copy link

lowwa132 commented Feb 9, 2017

Same problem here.
@m4rc1e indeed, it's frustrating having such a change, without any notice or warning of the potential noticeable visual effects. It could be great to have at least the correct settings for this new version, to behave like the previous one, do you have it ?

@m4rc1e
Copy link
Collaborator

m4rc1e commented Feb 9, 2017

@lowwa132 I understand your frustrations. This is a fine balancing act between being backwards compatible with the previous version and allowing modifications.

When preparing fonts, I try and stay as faithful as possible to the original source. I usually end up modifying just the name table. My process to convert Lato 2.0 so it's GF api friendly is here. I didn't modify any hinting settings. The x-height rounding was introduced in the original source.

I've done some further tests between the version we have uploaded and the newest version available on the official site. The rendering is identical. The hinting difference was introduced in the original sources.

left tab: fonts.google.com Lato 2.0 right tab: Latofonts.com 2.0
lato

@leonardooliveira95
Copy link

I'm having the same issue, here is how it used to look until yesterday:

antes

And this is how it looks now:

depois

I'm using the following import statement in my CSS:
@import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic");

Is there a way to make the font look like it was?

@dominiklaube
Copy link

I also use the version hostet by google //fonts.googleapis.com/css?family=Lato:400,400italic,700italic,700

@lmdsp
Copy link

lmdsp commented Feb 9, 2017

Same problem here, my website looks completely off now ...

@davelab6
Copy link
Member

davelab6 commented Feb 9, 2017

I spoke to @twardoch and

  1. I will ask to rollback the update and

  2. the latest ttfautohint has a xheight snapping per-family feature that he will apply (and work with @m4rc1e on) and make a 2 point something release soon and I'll push that in time

@davelab6
Copy link
Member

davelab6 commented Feb 9, 2017

Another issue found in the update pushed yesterday:

Due to new ligatures in Lato, the cursor only renders in front of the 't' or after the 'i'. Using the keyboard, you can confirm that the actual cursor is in the right place, but the ligature (combined 'ti' character/grapheme) prevents it from rendering normally.

@davelab6 davelab6 added this to the Questions about Google Fonts service (API) milestone Feb 9, 2017
@davelab6 davelab6 self-assigned this Feb 9, 2017
@jaycen
Copy link

jaycen commented Feb 9, 2017

I'm experiencing issues with Lato as well. Woke up to see our site's main navigation looking terrible. Seems like the font is stretching vertically when at small sizes (12px-16px) and at weight 700.

Please roll back or provide a legacy version. I'd rather not swap our main font, but at least in our case it looks very awkward.
http://imgur.com/a/ImU1y

@sfarbota
Copy link

sfarbota commented Feb 9, 2017

We also had issues with this update (in fact, images were being pushed out of their proper containers as a result of the CSS changes). However, just as I was about to fix our UI issues from my end, I noticed that the change had been reverted. Thanks for the fix!

@davelab6
Copy link
Member

Please roll back or provide a legacy version

Roll back has been completed

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

No branches or pull requests

10 participants