Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

Fix the ‘Gill Sans’ font bug in Chrome

Bug fix: A quick CSS remedy to ensure that Google Chrome 37 displays the Gill Sans font correctly.

Following the release of Google Chrome 37.0.2062.94, websites that have “Gill Sans” set as a display font have instead been rendered with the next font on the CSS font stack, typically “Gill Sans MT”. On my own website, I had the following CSS:

.selector {font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;}

In essence, Chrome was ignoring the first font in the font stack. Following further research, I found that this problem is only occurring in versions of Chrome above 37.0.2062.94 running on Microsoft Windows. Firefox and Internet Explorer displayed the font correctly.

The remedy is an adjustment to the style sheet as follows:

.selector {font-family: GillSansRegular, "Gill Sans MT", "Gill Sans", Calibri, "Trebuchet MS", sans-serif;}

Gill Sans font will now display correctly in all browsers, including Chrome.

   

Comments

2 responses to “Fix the ‘Gill Sans’ font bug in Chrome”

On 30 September 2014, Andrew wrote: Hyperlink chain icon

You should do this for your blog-comment-label class… Your comment form labels are affected.

Reply

On 4 October 2014, Adam Dimech wrote: Hyperlink chain icon

Thanks Andrew, it’s all fixed now.

Reply

Have Your Say

The following HTML is permitted:
<a href="" title=""> <b> <blockquote cite=""> <code> <em> <i> <q cite=""> <strike> <strong>

Comments will be published subject to the Editorial Policy.