Bug avec les fontes installées
This commit is contained in:
parent
1d7483729c
commit
6eb4f8fe9f
@ -1223,7 +1223,7 @@ class theme extends common {
|
||||
$path_parts = pathinfo(helper::baseUrl(false) . self::DATA_DIR . 'fonts/' . $fontValue['resource']);
|
||||
// Chargement de la police
|
||||
$fileContentCss .= '@font-face {' ;
|
||||
$fileContentCss .= 'font-family:"' . $fontId . '";';
|
||||
$fileContentCss .= 'font-family:"' . $fontValue['name'] . '";';
|
||||
$fileContentCss .= 'src: url("' . $fontValue['resource'] . '") format("' . $path_parts['extension'] . '");';
|
||||
$fileContentCss .= '}' ;
|
||||
// Préchargement
|
||||
|
Loading…
x
Reference in New Issue
Block a user