D
D
Dnebl2013-12-28 18:31:02
css
Dnebl, 2013-12-28 18:31:02

What might be causing the strange font-family behavior in Ubuntu browsers?

Hello. You need to use the font Nimbus Sans L
In css wrote:

font-family:Arial,Helvetica,"Nimbus Sans L",sans-serif;

6li8owhea6yf.jpg
But instead of Nimbus Sans L, sans-serif is used (it turns out that the font was not found, i.e. it is not installed in the system, although in fact it is)
If you write like this:
font-family:"Nimbus Sans L",Arial,Helvetica,sans-serif;

2u7bosr7irlr.jpg
then the font will be connected and used normally.
Ubuntu 13.04 tested in firefox 26.0 + firebug in other browsers on ubunte the same thing.
This font is standard in ubuntu.
What could be causing this strange behavior?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Melnikov, 2013-12-28
@mlnkv

as far as i know ubuntu has Arial and Helvetica
try this
and see what happens

A
aen, 2013-12-28
@aen

The browser will take the first existing font from the list and apply it. He found Arial in you and applied it. And when you put nimbus first in the list, the browser picked up its name and everything worked as you wanted.

S
Sergey Vinogradov, 2013-12-28
@pettson

Try to see what font is in the compiled styles in firebug.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question