Lines Matching refs:fontFileName
41 $fontFileName = $this->getConf('fontFile');
59 … if (empty($fontName) && empty($fontFileName) && empty($fontName2) && empty($fontFileName2)) {
67 $CSSembed .= $this->_getFontFaceCode($fontName, $fontFileName);
72 $CSSfiles[] = $this->_getGoogleFontPath($fontFileName);
130 * @param string $fontFileName File name of the font without extension
133 function _getFontFaceCode($fontName, $fontFileName) { argument
134 if (empty($fontName) || empty($fontFileName)) {
140 $fontEOT = $fontFileName.'.eot';
141 $fontWOFF = $fontFileName.'.woff';
142 $fontWOFF2 = $fontFileName.'.woff2';
143 $fontTTF = $fontFileName.'.ttf';
144 $fontSVG = $fontFileName.'.svg';
180 * @param string $fontFileName File name of the font without extension
183 function _getGoogleFontPath($fontFileName) { argument
185 if (empty($fontFileName)) {
188 return 'https://fonts.googleapis.com/css?family='.str_replace(' ', '+', $fontFileName);