Get the font name right in the @font-face directivs. (argh)

This commit is contained in:
Davide P. Cervone 2015-04-01 17:15:03 -04:00
parent 47928642a2
commit b917b1a0c5

View File

@ -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