Problem with font-family name

New Here ,
Nov 11, 2013 Nov 11, 2013

Copy link to clipboard

Copied

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.

Views

1.1K

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation