We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e39e8 commit f705999Copy full SHA for f705999
modules/core/FontManager.php
@@ -38,25 +38,4 @@ public function getFontByName($name){
38
return array_values($fontlist)[0];
39
}
40
41
-
42
- function enqueue(){
43
- // list of google webfonts to load
44
- $webfontList = array();
45
46
- // get all available webfonts
47
- $webfonts = GoogleWebfontResources::getMonospaceFonts();
48
49
- // load enabled fonts
50
- foreach ($webfonts as $name => $font){
51
- $fid = preg_replace('/[^A-Za-z0-9]/', '', $name);
52
- if ($this->_config['webfonts'.$fid]){
53
- $webfontList[] = $font;
54
- }
55
56
57
- // load webfonts ?
58
- if (count($webfontList) > 0){
59
- $this->enqueueStyle('enlighter-webfonts', '//fonts.googleapis.com/css?family=' . implode('|', $webfontList));
60
61
62
0 commit comments