Browser not showing correct fonts

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Browser not showing correct fonts

Unread postby will bullard » Thu Nov 01, 2018 9:19 pm

We are using an Open Sans Light font for our web manual. The font is installed on the server and the web manual looks correct when it is seen on a browser on the server. However, when the website is viewed from any other computer the font is a serif font. Here is our website. ... arted.html

The same font appears correctly when viewed from another site: ... tarted.htm

What do I need to do on my server or H&P project file that the other site is doing correctly?

will bullard
Posts: 1
Joined: Sat Mar 12, 2016 1:48 pm

Re: Browser not showing correct fonts

Unread postby Tim Green » Fri Nov 02, 2018 8:26 am

Hi Will,

The problem here is that you are using a web font without a web font reference. It isn't enough to just refer a font by name with web fonts. Your page also has to tell both the browser and server that it's a web font. Otherwise they will look for it in its own (very limited) list of standard fonts and since they won't find it there the browser then just displays its standard font.

In addition to this you are referencing ONLY Open Sans, with no fallback fonts, which literally forces the browser to use its default font. So to begin with, your font reference should be something like

Code: Select all
font-face: "Open Sans", "Lucida Grande", Lucida, Arial, Helvetica, Sans-Serif;

Then you will never get a font that looks completely off.

Then see this tutorial to learn what you need to add to your HTML page template in your skin to make the Google fonts work on your page: ... ad48f1adfa
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
Posts: 20259
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: No registered users and 11 guests