Get the font name right in the @font-face directivs. (argh)
This commit is contained in:
parent
47928642a2
commit
b917b1a0c5
|
@ -1660,7 +1660,7 @@
|
|||
// The web font, if no local font found
|
||||
// ### FIXME: add more formats to src
|
||||
//
|
||||
font = {"font-family":family+"w", src:"url('"+DIR+"/"+name+".otf')"};
|
||||
font = {"font-family":family+"w", src:"url('"+DIR+"/"+name+"-"+variant+".otf')"};
|
||||
faces.push(font);
|
||||
//
|
||||
// A class that looks for the local and web fonts
|
||||
|
|
Loading…
Reference in New Issue
Block a user