Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Page title fonts look wrong on Chromium 49.0.2623.108 running on Ubuntu 15.10 (64-bit) #20

Closed
inglesp opened this issue Apr 25, 2016 · 18 comments
Assignees
Labels

Comments

@inglesp
Copy link
Contributor

inglesp commented Apr 25, 2016

Reported by @snim2.

@inglesp
Copy link
Contributor Author

inglesp commented Apr 25, 2016

@snim2, when you look at the network tab in developer tools, do you see any resources failing to load?

@inglesp
Copy link
Contributor Author

inglesp commented Apr 26, 2016

@hawkz says "The font will work on 127.0.0.1 and the live domain. It's a licensing thing. I'll try to add 0.0.0.0".

@snim2, can you confirm that http://2016.pyconuk.org/home/ looks OK?

@snim2
Copy link
Member

snim2 commented Apr 26, 2016

That makes no difference to me, I get an error called Failed to load resource: net::ERR_BLOCKED_BY_CLIENT on this resource:

https://p.typekit.net/p.gif?s=1&k=kla0hed&app=typekit&ht=tk&h=2016.pyconuk.org&f=10879&a=146498&sl=680&fl=23&dc=true&js=1.14.9&_=1461658364552

@inglesp
Copy link
Contributor Author

inglesp commented Apr 26, 2016

@snim2, could it be the case that you're running some third-party script blocker that's causing the client to not load the resource?

@hawkz, would licencing cause the ERR_BLOCKED_BY_CLIENT error?

@ghickman
Copy link
Member

Paging @meshy as another Linux user.

@snim2
Copy link
Member

snim2 commented Apr 26, 2016

Ha! Well, this is rather embarrassing. If I turn my ad blocker off the error in the dev. tools pane disappears, but the fonts still overlap. I think perhaps I am overriding all the fonts in my Chromium settings. In FireFox it looks a little better, and I think the two browsers use the same rendering engine:

snim2-ff

@Lukasa
Copy link
Member

Lukasa commented Apr 26, 2016

Firefox and Chrome use different rendering engines.

@snim2 snim2 changed the title Page title fonts look wrong on Chromium on Linux Page title fonts look wrong on Chromium 49.0.2623.108 running on Ubuntu 15.10 (64-bit) Apr 26, 2016
@inglesp
Copy link
Contributor Author

inglesp commented Apr 26, 2016

OK! So we should have some kind of fallback in case fonts can't be loaded, but I don't think this is a blocker for launching today.

@inglesp
Copy link
Contributor Author

inglesp commented Apr 26, 2016

@snim2, is this now the same issue as #40?

@snim2
Copy link
Member

snim2 commented Apr 26, 2016

Nope, my "Tickets" and "Contact" are nicely separated out. Even if I resize my browser I can't reproduce #40 in Chromium.

@inglesp
Copy link
Contributor Author

inglesp commented Apr 26, 2016

OK -- I'm not clear on what the problem is then. (I'm probably being dense.) Which are the fonts that overlap?

@inglesp inglesp added the design label Apr 26, 2016
@hawkz
Copy link
Contributor

hawkz commented Apr 26, 2016

The font we use at PyConUK isn't free (because the classic ones generally aren't) Typekit hosts it and blocks requests from other domains. I've added 0.0.0.0 to the list of whitelisted domains - might fix your local test now.

The list is now: "pyconuk.org, .pyconuk.org, pyconuk.net,.pyconuk.net, localhost, 127.0.0.1, 192.168.2.250, 0.0.0.0"

@hawkz
Copy link
Contributor

hawkz commented Apr 26, 2016

can we get a re-test, think this is cleared, I'll add a better fall-back as per #51 to handle this better. (It's the difference in glyph width that's throwing off the spacing)

@inglesp
Copy link
Contributor Author

inglesp commented Apr 26, 2016

Assigning to @snim2 to test.

@snim2
Copy link
Member

snim2 commented Apr 27, 2016

This is /home/ on 0.0.0.0:8000:

snim2-0000

This is /home/ on the live site:

snim2-live

@inglesp
Copy link
Contributor Author

inglesp commented Sep 9, 2016

@snim2 A bit late, but is this fixed?

@snim2
Copy link
Member

snim2 commented Sep 14, 2016

Yes, all looks good to me, thanks!

@snim2 snim2 closed this as completed Sep 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants