majodev / google-webfonts-helper

A Hassle-Free Way to Self-Host Google Fonts. Get eot, ttf, svg, woff and woff2 files + CSS snippets

Home Page:https://gwfh.mranftl.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What does undefined local('') do in CSS snippets?

ClarusDignus opened this issue · comments

Does the undefined local('') mean: use local font or ignore local font?

E.g.:

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('roboto-v29-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('roboto-v29-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('roboto-v29-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('roboto-v29-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('roboto-v29-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('roboto-v29-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

Duplicate of: #124

commented

Duplicate of: #124

There's literally no solution to the problem in that thread.

There's literally no solution to the problem in that thread.

This is sad, but doesn't make it less of a duplicate.
Also the other issue is still open.
Having multiple issues open for the same problem doesn't necessarily help to arrive at a resolution faster.
Fragmentation makes it harder to track.

v1.1.0 removes local('')