davatron5000 / FitText.js

A jQuery plugin for inflating web type
http://fittextjs.com
6.76k stars 1.39k forks source link

The text sized incorrectly on a Chromebook Pixel #57

Closed PaulKinlan closed 10 years ago

PaulKinlan commented 11 years ago

Screenshot 2013-03-01 at 17 09 40

davatron5000 commented 11 years ago

No webfonts on the Chromebook pixel? That's what the immediate issue appears to be.. HMrmmmm.

PaulKinlan commented 11 years ago

Web fonts should work well.

P On 1 Mar 2013 20:16, "Dave Rupert" notifications@github.com wrote:

No webfonts on the Chromebook pixel? That's what the immediate issue appears to be.. HMrmmmm.

— Reply to this email directly or view it on GitHubhttps://github.com/davatron5000/FitText.js/issues/57#issuecomment-14309070 .

skunkbad commented 11 years ago

I'm having a similar problem in Chrome on initial pageload. Font size is larger on initial pageload. Refresh the page and font size goes down to where it should be. I can reproduce this anytime my stylesheet is not loaded from cache. I know your plugin doesn't have a stylesheet, but the behavior is odd. Unfortunately, I can't provide a link to what I'm working on, because of NDA, but if necessary I could come up with a little script to show you what's going on. BTW, my stylesheet is not declaring a font-size.

davatron5000 commented 11 years ago

@skunkbad Ideally you should have a fallback font-size for non-JS people.

That said, if you could provide a reduced test case (on CodePen.io) or something that would help. It sounds like a weird execution order thing.

davatron5000 commented 10 years ago

Unable to reproduce.