Skip to main content
Participant
November 11, 2013
Question

Problem with font-family name

  • November 11, 2013
  • 0 replies
  • 1297 views

I have adobe Univers LT Std font purchased and installed on my PC, but there is a problem when I try to use it on the webpage. The font has otf format. I noticed that Chrome and FireFox use different font-family names for this font. FireFox 25.0 seems to use OT Family name (Univers LT Std) as a font-family value, and Chrome 30 uses PS font name (UniversLTStd). So I ended up writing my css like this:

p {

font-family: UniversLTStd, Univers LT Std;

}

Is there a way to avoid writing multiple family names for a single font to work in different browsers?

I've checked the font's attributes with FontLab Studio:

Basic set of font names:

Family name: Univers LT Std 55

PS font name: UniversLTStd

Full name: Univers LT Std 55 Roman

Menu name: Univers LT Std 55

FOND name: Univers LT Std 55

OpenType-specific names:

OT Family name: Univers LT Std

OT style name: 55 Roman

Mac name: Univers LT Std 55

But didn't find any universal name to use as a font-family.

This topic has been closed for replies.