D
D
Dmitry Astvafiev2017-09-12 03:14:37
Fonts
Dmitry Astvafiev, 2017-09-12 03:14:37

Why use local() if initially the browser itself checks whether the client has this font?

Why use local () if initially the browser itself checks whether the client has this font and then, if not, it looks for a suitable format for itself?

@font-face {
  font-family: MyGentium;
  src: local(Gentium Bold),    /* full font name */
       local(Gentium-Bold),    /* Postscript name */
       url(GentiumBold.woff);  /* otherwise, download it */
  font-weight: bold;
}

Or am I misunderstanding something?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
oh, 2017-09-12
well @AnneSmith

ostensibly for IE, don't worry,
the main thing is to upload fonts to a local server, and not to load according to counters from other sites

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question