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

X-Ray Goggle websites font problem #308

Open
LapoLondon opened this issue Nov 24, 2016 · 4 comments
Open

X-Ray Goggle websites font problem #308

LapoLondon opened this issue Nov 24, 2016 · 4 comments

Comments

@LapoLondon
Copy link

Hi there,

I am working in a Primary school in London as a IT technician and I have set up a lot of computers to be ready to work with your X-Ray Mozilla Goggle website. My problem is that a bunch of this computers give me problems in showing text in your webpage and I don't know what i can do more. You can find a screenshot attached.

FYI all the PCs have the same operating system windows 7 and they are all managed by a Windows Server 2012 and GPO. We are working with Chrome browser and they all have the same browser version. I went through all the IE settings but they have the same permissions. The website will be used with a student's account with restrictions but this is not the case because I am testing this with the same user account and some computers work fine and other don't.

I really hope you can help me.

Thank you very much

Lapo
2016-05-19-03-16-38-7784bb 1

@Pomax
Copy link
Contributor

Pomax commented Nov 25, 2016

Hm, interesting - are there any errors in the developer console concerning the webfont?

@Pomax
Copy link
Contributor

Pomax commented Nov 28, 2016

@LapoLondon do you have some more information that we can use to see what's wrong? The console error is pretty important, knowing which OS/browser/browser-version combination this is will be valuable information, too.

@LapoLondon
Copy link
Author

@Pomax thanks for your reply.
I figured out what's wrong, the problem as you said was due to a webfont called Fira Sans which it wasn't present on all the machine (weird because all the computers belong to an ITC Suite with same OS, Office and software deployed via GPO)
Anyway I had to install the fonts manually and then the text worked. According with the Chrome console I have another error with the mozilla goggles logo but is not so important.

@Pomax
Copy link
Contributor

Pomax commented Nov 29, 2016

That should not have been necessary though: the font is supposed to be retrieved as a webfont using an @font-face rule, due to https://github.com/mozilla/goggles.mozilla.org/blob/0b0e45c95701b87531bf9b259ea1d4ec18333f78/public/stylesheets/homepage/style.less which gets compiled to https://goggles.mozilla.org/stylesheets/homepage/style.css, which starts with the Fira font import either "from system" if installed locally, or from googles font repository if it isn't (and the assumption is that you don't have it installed locally).

I wonder if the font download is not triggering. The syntax should work, a quick test in http://jsbin.com/xucidodole/edit?html,css,output shows that the import statement is correct and that Fira Sans becomes available.

I would actually recommend uninstalling Fira Sans again, so we can see if there are any errors in the browser console, because this should work for pretty much any still supported browser.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants