| 1 |
<?php |
| 2 |
|
| 3 |
namespace WPSpeedo_Team; |
| 4 |
|
| 5 |
if ( ! defined('ABSPATH') ) exit; |
| 6 |
|
| 7 |
class Fonts { |
| 8 |
|
| 9 |
const SYSTEM = 'system'; |
| 10 |
|
| 11 |
const GOOGLE = 'googlefonts'; |
| 12 |
|
| 13 |
const EARLYACCESS = 'earlyaccess'; |
| 14 |
|
| 15 |
const LOCAL = 'local'; |
| 16 |
|
| 17 |
private static $fonts; |
| 18 |
|
| 19 |
private static $font_groups; |
| 20 |
|
| 21 |
public static function get_font_groups() { |
| 22 |
if ( null === self::$font_groups ) { |
| 23 |
$font_groups = [ |
| 24 |
self::SYSTEM => esc_html_x( 'System', 'Editor', 'wps-team' ), |
| 25 |
self::GOOGLE => esc_html_x( 'Google', 'Editor', 'wps-team' ), |
| 26 |
self::EARLYACCESS => esc_html_x( 'Google Early Access', 'Editor', 'wps-team' ), |
| 27 |
]; |
| 28 |
|
| 29 |
$font_groups = apply_filters( 'wpspeedo_team/fonts/groups', $font_groups ); |
| 30 |
|
| 31 |
self::$font_groups = $font_groups; |
| 32 |
} |
| 33 |
|
| 34 |
return self::$font_groups; |
| 35 |
} |
| 36 |
|
| 37 |
public static function _get_fonts() { |
| 38 |
if ( null === self::$fonts ) { |
| 39 |
$additional_fonts = []; |
| 40 |
|
| 41 |
$additional_fonts = apply_filters( 'wpspeedo_team/fonts/additional_fonts', $additional_fonts ); |
| 42 |
|
| 43 |
self::$fonts = array_merge( self::get_native_fonts(), $additional_fonts ); |
| 44 |
} |
| 45 |
|
| 46 |
return self::$fonts; |
| 47 |
} |
| 48 |
|
| 49 |
private static function get_native_fonts() { |
| 50 |
return [ |
| 51 |
// System fonts. |
| 52 |
'Arial' => self::SYSTEM, |
| 53 |
'Tahoma' => self::SYSTEM, |
| 54 |
'Verdana' => self::SYSTEM, |
| 55 |
'Helvetica' => self::SYSTEM, |
| 56 |
'Times New Roman' => self::SYSTEM, |
| 57 |
'Trebuchet MS' => self::SYSTEM, |
| 58 |
'Georgia' => self::SYSTEM, |
| 59 |
|
| 60 |
// Google Fonts (last update: 07/05/2021). |
| 61 |
'ABeeZee' => self::GOOGLE, |
| 62 |
'Abel' => self::GOOGLE, |
| 63 |
'Abhaya Libre' => self::GOOGLE, |
| 64 |
'Abril Fatface' => self::GOOGLE, |
| 65 |
'Aclonica' => self::GOOGLE, |
| 66 |
'Acme' => self::GOOGLE, |
| 67 |
'Actor' => self::GOOGLE, |
| 68 |
'Adamina' => self::GOOGLE, |
| 69 |
'Advent Pro' => self::GOOGLE, |
| 70 |
'Aguafina Script' => self::GOOGLE, |
| 71 |
'Akaya Kanadaka' => self::GOOGLE, |
| 72 |
'Akaya Telivigala' => self::GOOGLE, |
| 73 |
'Akronim' => self::GOOGLE, |
| 74 |
'Aladin' => self::GOOGLE, |
| 75 |
'Alata' => self::GOOGLE, |
| 76 |
'Alatsi' => self::GOOGLE, |
| 77 |
'Aldrich' => self::GOOGLE, |
| 78 |
'Alef' => self::GOOGLE, |
| 79 |
'Alef Hebrew' => self::EARLYACCESS, // Hack for Google Early Access. |
| 80 |
'Alegreya' => self::GOOGLE, |
| 81 |
'Alegreya SC' => self::GOOGLE, |
| 82 |
'Alegreya Sans' => self::GOOGLE, |
| 83 |
'Alegreya Sans SC' => self::GOOGLE, |
| 84 |
'Aleo' => self::GOOGLE, |
| 85 |
'Alex Brush' => self::GOOGLE, |
| 86 |
'Alfa Slab One' => self::GOOGLE, |
| 87 |
'Alice' => self::GOOGLE, |
| 88 |
'Alike' => self::GOOGLE, |
| 89 |
'Alike Angular' => self::GOOGLE, |
| 90 |
'Allan' => self::GOOGLE, |
| 91 |
'Allerta' => self::GOOGLE, |
| 92 |
'Allerta Stencil' => self::GOOGLE, |
| 93 |
'Allura' => self::GOOGLE, |
| 94 |
'Almarai' => self::GOOGLE, |
| 95 |
'Almendra' => self::GOOGLE, |
| 96 |
'Almendra Display' => self::GOOGLE, |
| 97 |
'Almendra SC' => self::GOOGLE, |
| 98 |
'Amarante' => self::GOOGLE, |
| 99 |
'Amaranth' => self::GOOGLE, |
| 100 |
'Amatic SC' => self::GOOGLE, |
| 101 |
'Amethysta' => self::GOOGLE, |
| 102 |
'Amiko' => self::GOOGLE, |
| 103 |
'Amiri' => self::GOOGLE, |
| 104 |
'Amita' => self::GOOGLE, |
| 105 |
'Anaheim' => self::GOOGLE, |
| 106 |
'Andada' => self::GOOGLE, |
| 107 |
'Andika' => self::GOOGLE, |
| 108 |
'Andika New Basic' => self::GOOGLE, |
| 109 |
'Angkor' => self::GOOGLE, |
| 110 |
'Annie Use Your Telescope' => self::GOOGLE, |
| 111 |
'Anonymous Pro' => self::GOOGLE, |
| 112 |
'Antic' => self::GOOGLE, |
| 113 |
'Antic Didone' => self::GOOGLE, |
| 114 |
'Antic Slab' => self::GOOGLE, |
| 115 |
'Anton' => self::GOOGLE, |
| 116 |
'Antonio' => self::GOOGLE, |
| 117 |
'Arapey' => self::GOOGLE, |
| 118 |
'Arbutus' => self::GOOGLE, |
| 119 |
'Arbutus Slab' => self::GOOGLE, |
| 120 |
'Architects Daughter' => self::GOOGLE, |
| 121 |
'Archivo' => self::GOOGLE, |
| 122 |
'Archivo Black' => self::GOOGLE, |
| 123 |
'Archivo Narrow' => self::GOOGLE, |
| 124 |
'Aref Ruqaa' => self::GOOGLE, |
| 125 |
'Arima Madurai' => self::GOOGLE, |
| 126 |
'Arimo' => self::GOOGLE, |
| 127 |
'Arizonia' => self::GOOGLE, |
| 128 |
'Armata' => self::GOOGLE, |
| 129 |
'Arsenal' => self::GOOGLE, |
| 130 |
'Artifika' => self::GOOGLE, |
| 131 |
'Arvo' => self::GOOGLE, |
| 132 |
'Arya' => self::GOOGLE, |
| 133 |
'Asap' => self::GOOGLE, |
| 134 |
'Asap Condensed' => self::GOOGLE, |
| 135 |
'Asar' => self::GOOGLE, |
| 136 |
'Asset' => self::GOOGLE, |
| 137 |
'Assistant' => self::GOOGLE, |
| 138 |
'Astloch' => self::GOOGLE, |
| 139 |
'Asul' => self::GOOGLE, |
| 140 |
'Athiti' => self::GOOGLE, |
| 141 |
'Atma' => self::GOOGLE, |
| 142 |
'Atomic Age' => self::GOOGLE, |
| 143 |
'Aubrey' => self::GOOGLE, |
| 144 |
'Audiowide' => self::GOOGLE, |
| 145 |
'Autour One' => self::GOOGLE, |
| 146 |
'Average' => self::GOOGLE, |
| 147 |
'Average Sans' => self::GOOGLE, |
| 148 |
'Averia Gruesa Libre' => self::GOOGLE, |
| 149 |
'Averia Libre' => self::GOOGLE, |
| 150 |
'Averia Sans Libre' => self::GOOGLE, |
| 151 |
'Averia Serif Libre' => self::GOOGLE, |
| 152 |
'B612' => self::GOOGLE, |
| 153 |
'B612 Mono' => self::GOOGLE, |
| 154 |
'Bad Script' => self::GOOGLE, |
| 155 |
'Bahiana' => self::GOOGLE, |
| 156 |
'Bahianita' => self::GOOGLE, |
| 157 |
'Bai Jamjuree' => self::GOOGLE, |
| 158 |
'Ballet' => self::GOOGLE, |
| 159 |
'Baloo 2' => self::GOOGLE, |
| 160 |
'Baloo Bhai 2' => self::GOOGLE, |
| 161 |
'Baloo Bhaina 2' => self::GOOGLE, |
| 162 |
'Baloo Chettan 2' => self::GOOGLE, |
| 163 |
'Baloo Da 2' => self::GOOGLE, |
| 164 |
'Baloo Paaji 2' => self::GOOGLE, |
| 165 |
'Baloo Tamma 2' => self::GOOGLE, |
| 166 |
'Baloo Tammudu 2' => self::GOOGLE, |
| 167 |
'Baloo Thambi 2' => self::GOOGLE, |
| 168 |
'Balsamiq Sans' => self::GOOGLE, |
| 169 |
'Balthazar' => self::GOOGLE, |
| 170 |
'Bangers' => self::GOOGLE, |
| 171 |
'Barlow' => self::GOOGLE, |
| 172 |
'Barlow Condensed' => self::GOOGLE, |
| 173 |
'Barlow Semi Condensed' => self::GOOGLE, |
| 174 |
'Barriecito' => self::GOOGLE, |
| 175 |
'Barrio' => self::GOOGLE, |
| 176 |
'Basic' => self::GOOGLE, |
| 177 |
'Baskervville' => self::GOOGLE, |
| 178 |
'Battambang' => self::GOOGLE, |
| 179 |
'Baumans' => self::GOOGLE, |
| 180 |
'Bayon' => self::GOOGLE, |
| 181 |
'Be Vietnam' => self::GOOGLE, |
| 182 |
'Bebas Neue' => self::GOOGLE, |
| 183 |
'Belgrano' => self::GOOGLE, |
| 184 |
'Bellefair' => self::GOOGLE, |
| 185 |
'Belleza' => self::GOOGLE, |
| 186 |
'Bellota' => self::GOOGLE, |
| 187 |
'Bellota Text' => self::GOOGLE, |
| 188 |
'BenchNine' => self::GOOGLE, |
| 189 |
'Benne' => self::GOOGLE, |
| 190 |
'Bentham' => self::GOOGLE, |
| 191 |
'Berkshire Swash' => self::GOOGLE, |
| 192 |
'Beth Ellen' => self::GOOGLE, |
| 193 |
'Bevan' => self::GOOGLE, |
| 194 |
'Big Shoulders Display' => self::GOOGLE, |
| 195 |
'Big Shoulders Inline Display' => self::GOOGLE, |
| 196 |
'Big Shoulders Inline Text' => self::GOOGLE, |
| 197 |
'Big Shoulders Stencil Display' => self::GOOGLE, |
| 198 |
'Big Shoulders Stencil Text' => self::GOOGLE, |
| 199 |
'Big Shoulders Text' => self::GOOGLE, |
| 200 |
'Bigelow Rules' => self::GOOGLE, |
| 201 |
'Bigshot One' => self::GOOGLE, |
| 202 |
'Bilbo' => self::GOOGLE, |
| 203 |
'Bilbo Swash Caps' => self::GOOGLE, |
| 204 |
'BioRhyme' => self::GOOGLE, |
| 205 |
'BioRhyme Expanded' => self::GOOGLE, |
| 206 |
'Biryani' => self::GOOGLE, |
| 207 |
'Bitter' => self::GOOGLE, |
| 208 |
'Black And White Picture' => self::GOOGLE, |
| 209 |
'Black Han Sans' => self::GOOGLE, |
| 210 |
'Black Ops One' => self::GOOGLE, |
| 211 |
'Blinker' => self::GOOGLE, |
| 212 |
'Bodoni Moda' => self::GOOGLE, |
| 213 |
'Bokor' => self::GOOGLE, |
| 214 |
'Bonbon' => self::GOOGLE, |
| 215 |
'Boogaloo' => self::GOOGLE, |
| 216 |
'Bowlby One' => self::GOOGLE, |
| 217 |
'Bowlby One SC' => self::GOOGLE, |
| 218 |
'Brawler' => self::GOOGLE, |
| 219 |
'Bree Serif' => self::GOOGLE, |
| 220 |
'Brygada 1918' => self::GOOGLE, |
| 221 |
'Bubblegum Sans' => self::GOOGLE, |
| 222 |
'Bubbler One' => self::GOOGLE, |
| 223 |
'Buda' => self::GOOGLE, |
| 224 |
'Buenard' => self::GOOGLE, |
| 225 |
'Bungee' => self::GOOGLE, |
| 226 |
'Bungee Hairline' => self::GOOGLE, |
| 227 |
'Bungee Inline' => self::GOOGLE, |
| 228 |
'Bungee Outline' => self::GOOGLE, |
| 229 |
'Bungee Shade' => self::GOOGLE, |
| 230 |
'Butcherman' => self::GOOGLE, |
| 231 |
'Butterfly Kids' => self::GOOGLE, |
| 232 |
'Cabin' => self::GOOGLE, |
| 233 |
'Cabin Condensed' => self::GOOGLE, |
| 234 |
'Cabin Sketch' => self::GOOGLE, |
| 235 |
'Caesar Dressing' => self::GOOGLE, |
| 236 |
'Cagliostro' => self::GOOGLE, |
| 237 |
'Cairo' => self::GOOGLE, |
| 238 |
'Caladea' => self::GOOGLE, |
| 239 |
'Calistoga' => self::GOOGLE, |
| 240 |
'Calligraffitti' => self::GOOGLE, |
| 241 |
'Cambay' => self::GOOGLE, |
| 242 |
'Cambo' => self::GOOGLE, |
| 243 |
'Candal' => self::GOOGLE, |
| 244 |
'Cantarell' => self::GOOGLE, |
| 245 |
'Cantata One' => self::GOOGLE, |
| 246 |
'Cantora One' => self::GOOGLE, |
| 247 |
'Capriola' => self::GOOGLE, |
| 248 |
'Cardo' => self::GOOGLE, |
| 249 |
'Carme' => self::GOOGLE, |
| 250 |
'Carrois Gothic' => self::GOOGLE, |
| 251 |
'Carrois Gothic SC' => self::GOOGLE, |
| 252 |
'Carter One' => self::GOOGLE, |
| 253 |
'Castoro' => self::GOOGLE, |
| 254 |
'Catamaran' => self::GOOGLE, |
| 255 |
'Caudex' => self::GOOGLE, |
| 256 |
'Caveat' => self::GOOGLE, |
| 257 |
'Caveat Brush' => self::GOOGLE, |
| 258 |
'Cedarville Cursive' => self::GOOGLE, |
| 259 |
'Ceviche One' => self::GOOGLE, |
| 260 |
'Chakra Petch' => self::GOOGLE, |
| 261 |
'Changa' => self::GOOGLE, |
| 262 |
'Changa One' => self::GOOGLE, |
| 263 |
'Chango' => self::GOOGLE, |
| 264 |
'Charm' => self::GOOGLE, |
| 265 |
'Charmonman' => self::GOOGLE, |
| 266 |
'Chathura' => self::GOOGLE, |
| 267 |
'Chau Philomene One' => self::GOOGLE, |
| 268 |
'Chela One' => self::GOOGLE, |
| 269 |
'Chelsea Market' => self::GOOGLE, |
| 270 |
'Chenla' => self::GOOGLE, |
| 271 |
'Cherry Cream Soda' => self::GOOGLE, |
| 272 |
'Cherry Swash' => self::GOOGLE, |
| 273 |
'Chewy' => self::GOOGLE, |
| 274 |
'Chicle' => self::GOOGLE, |
| 275 |
'Chilanka' => self::GOOGLE, |
| 276 |
'Chivo' => self::GOOGLE, |
| 277 |
'Chonburi' => self::GOOGLE, |
| 278 |
'Cinzel' => self::GOOGLE, |
| 279 |
'Cinzel Decorative' => self::GOOGLE, |
| 280 |
'Clicker Script' => self::GOOGLE, |
| 281 |
'Coda' => self::GOOGLE, |
| 282 |
'Coda Caption' => self::GOOGLE, |
| 283 |
'Codystar' => self::GOOGLE, |
| 284 |
'Coiny' => self::GOOGLE, |
| 285 |
'Combo' => self::GOOGLE, |
| 286 |
'Comfortaa' => self::GOOGLE, |
| 287 |
'Comic Neue' => self::GOOGLE, |
| 288 |
'Coming Soon' => self::GOOGLE, |
| 289 |
'Commissioner' => self::GOOGLE, |
| 290 |
'Concert One' => self::GOOGLE, |
| 291 |
'Condiment' => self::GOOGLE, |
| 292 |
'Content' => self::GOOGLE, |
| 293 |
'Contrail One' => self::GOOGLE, |
| 294 |
'Convergence' => self::GOOGLE, |
| 295 |
'Cookie' => self::GOOGLE, |
| 296 |
'Copse' => self::GOOGLE, |
| 297 |
'Corben' => self::GOOGLE, |
| 298 |
'Cormorant' => self::GOOGLE, |
| 299 |
'Cormorant Garamond' => self::GOOGLE, |
| 300 |
'Cormorant Infant' => self::GOOGLE, |
| 301 |
'Cormorant SC' => self::GOOGLE, |
| 302 |
'Cormorant Unicase' => self::GOOGLE, |
| 303 |
'Cormorant Upright' => self::GOOGLE, |
| 304 |
'Courgette' => self::GOOGLE, |
| 305 |
'Courier Prime' => self::GOOGLE, |
| 306 |
'Cousine' => self::GOOGLE, |
| 307 |
'Coustard' => self::GOOGLE, |
| 308 |
'Covered By Your Grace' => self::GOOGLE, |
| 309 |
'Crafty Girls' => self::GOOGLE, |
| 310 |
'Creepster' => self::GOOGLE, |
| 311 |
'Crete Round' => self::GOOGLE, |
| 312 |
'Crimson Pro' => self::GOOGLE, |
| 313 |
'Crimson Text' => self::GOOGLE, |
| 314 |
'Croissant One' => self::GOOGLE, |
| 315 |
'Crushed' => self::GOOGLE, |
| 316 |
'Cuprum' => self::GOOGLE, |
| 317 |
'Cute Font' => self::GOOGLE, |
| 318 |
'Cutive' => self::GOOGLE, |
| 319 |
'Cutive Mono' => self::GOOGLE, |
| 320 |
'DM Mono' => self::GOOGLE, |
| 321 |
'DM Sans' => self::GOOGLE, |
| 322 |
'DM Serif Display' => self::GOOGLE, |
| 323 |
'DM Serif Text' => self::GOOGLE, |
| 324 |
'Damion' => self::GOOGLE, |
| 325 |
'Dancing Script' => self::GOOGLE, |
| 326 |
'Dangrek' => self::GOOGLE, |
| 327 |
'Darker Grotesque' => self::GOOGLE, |
| 328 |
'David Libre' => self::GOOGLE, |
| 329 |
'Dawning of a New Day' => self::GOOGLE, |
| 330 |
'Days One' => self::GOOGLE, |
| 331 |
'Dekko' => self::GOOGLE, |
| 332 |
'Dela Gothic One' => self::GOOGLE, |
| 333 |
'Delius' => self::GOOGLE, |
| 334 |
'Delius Swash Caps' => self::GOOGLE, |
| 335 |
'Delius Unicase' => self::GOOGLE, |
| 336 |
'Della Respira' => self::GOOGLE, |
| 337 |
'Denk One' => self::GOOGLE, |
| 338 |
'Devonshire' => self::GOOGLE, |
| 339 |
'Dhurjati' => self::GOOGLE, |
| 340 |
'Didact Gothic' => self::GOOGLE, |
| 341 |
'Diplomata' => self::GOOGLE, |
| 342 |
'Diplomata SC' => self::GOOGLE, |
| 343 |
'Do Hyeon' => self::GOOGLE, |
| 344 |
'Dokdo' => self::GOOGLE, |
| 345 |
'Domine' => self::GOOGLE, |
| 346 |
'Donegal One' => self::GOOGLE, |
| 347 |
'Doppio One' => self::GOOGLE, |
| 348 |
'Dorsa' => self::GOOGLE, |
| 349 |
'Dosis' => self::GOOGLE, |
| 350 |
'DotGothic16' => self::GOOGLE, |
| 351 |
'Dr Sugiyama' => self::GOOGLE, |
| 352 |
'Droid Arabic Kufi' => self::EARLYACCESS, // Hack for Google Early Access. |
| 353 |
'Droid Arabic Naskh' => self::EARLYACCESS, // Hack for Google Early Access. |
| 354 |
'Duru Sans' => self::GOOGLE, |
| 355 |
'Dynalight' => self::GOOGLE, |
| 356 |
'EB Garamond' => self::GOOGLE, |
| 357 |
'Eagle Lake' => self::GOOGLE, |
| 358 |
'East Sea Dokdo' => self::GOOGLE, |
| 359 |
'Eater' => self::GOOGLE, |
| 360 |
'Economica' => self::GOOGLE, |
| 361 |
'Eczar' => self::GOOGLE, |
| 362 |
'El Messiri' => self::GOOGLE, |
| 363 |
'Electrolize' => self::GOOGLE, |
| 364 |
'Elsie' => self::GOOGLE, |
| 365 |
'Elsie Swash Caps' => self::GOOGLE, |
| 366 |
'Emblema One' => self::GOOGLE, |
| 367 |
'Emilys Candy' => self::GOOGLE, |
| 368 |
'Encode Sans' => self::GOOGLE, |
| 369 |
'Encode Sans Condensed' => self::GOOGLE, |
| 370 |
'Encode Sans Expanded' => self::GOOGLE, |
| 371 |
'Encode Sans Semi Condensed' => self::GOOGLE, |
| 372 |
'Encode Sans Semi Expanded' => self::GOOGLE, |
| 373 |
'Engagement' => self::GOOGLE, |
| 374 |
'Englebert' => self::GOOGLE, |
| 375 |
'Enriqueta' => self::GOOGLE, |
| 376 |
'Epilogue' => self::GOOGLE, |
| 377 |
'Erica One' => self::GOOGLE, |
| 378 |
'Esteban' => self::GOOGLE, |
| 379 |
'Euphoria Script' => self::GOOGLE, |
| 380 |
'Ewert' => self::GOOGLE, |
| 381 |
'Exo' => self::GOOGLE, |
| 382 |
'Exo 2' => self::GOOGLE, |
| 383 |
'Expletus Sans' => self::GOOGLE, |
| 384 |
'Fahkwang' => self::GOOGLE, |
| 385 |
'Fanwood Text' => self::GOOGLE, |
| 386 |
'Farro' => self::GOOGLE, |
| 387 |
'Farsan' => self::GOOGLE, |
| 388 |
'Fascinate' => self::GOOGLE, |
| 389 |
'Fascinate Inline' => self::GOOGLE, |
| 390 |
'Faster One' => self::GOOGLE, |
| 391 |
'Fasthand' => self::GOOGLE, |
| 392 |
'Fauna One' => self::GOOGLE, |
| 393 |
'Faustina' => self::GOOGLE, |
| 394 |
'Federant' => self::GOOGLE, |
| 395 |
'Federo' => self::GOOGLE, |
| 396 |
'Felipa' => self::GOOGLE, |
| 397 |
'Fenix' => self::GOOGLE, |
| 398 |
'Finger Paint' => self::GOOGLE, |
| 399 |
'Fira Code' => self::GOOGLE, |
| 400 |
'Fira Mono' => self::GOOGLE, |
| 401 |
'Fira Sans' => self::GOOGLE, |
| 402 |
'Fira Sans Condensed' => self::GOOGLE, |
| 403 |
'Fira Sans Extra Condensed' => self::GOOGLE, |
| 404 |
'Fjalla One' => self::GOOGLE, |
| 405 |
'Fjord One' => self::GOOGLE, |
| 406 |
'Flamenco' => self::GOOGLE, |
| 407 |
'Flavors' => self::GOOGLE, |
| 408 |
'Fondamento' => self::GOOGLE, |
| 409 |
'Fontdiner Swanky' => self::GOOGLE, |
| 410 |
'Forum' => self::GOOGLE, |
| 411 |
'Francois One' => self::GOOGLE, |
| 412 |
'Frank Ruhl Libre' => self::GOOGLE, |
| 413 |
'Fraunces' => self::GOOGLE, |
| 414 |
'Freckle Face' => self::GOOGLE, |
| 415 |
'Fredericka the Great' => self::GOOGLE, |
| 416 |
'Fredoka One' => self::GOOGLE, |
| 417 |
'Freehand' => self::GOOGLE, |
| 418 |
'Fresca' => self::GOOGLE, |
| 419 |
'Frijole' => self::GOOGLE, |
| 420 |
'Fruktur' => self::GOOGLE, |
| 421 |
'Fugaz One' => self::GOOGLE, |
| 422 |
'GFS Didot' => self::GOOGLE, |
| 423 |
'GFS Neohellenic' => self::GOOGLE, |
| 424 |
'Gabriela' => self::GOOGLE, |
| 425 |
'Gaegu' => self::GOOGLE, |
| 426 |
'Gafata' => self::GOOGLE, |
| 427 |
'Galada' => self::GOOGLE, |
| 428 |
'Galdeano' => self::GOOGLE, |
| 429 |
'Galindo' => self::GOOGLE, |
| 430 |
'Gamja Flower' => self::GOOGLE, |
| 431 |
'Gayathri' => self::GOOGLE, |
| 432 |
'Gelasio' => self::GOOGLE, |
| 433 |
'Gentium Basic' => self::GOOGLE, |
| 434 |
'Gentium Book Basic' => self::GOOGLE, |
| 435 |
'Geo' => self::GOOGLE, |
| 436 |
'Geostar' => self::GOOGLE, |
| 437 |
'Geostar Fill' => self::GOOGLE, |
| 438 |
'Germania One' => self::GOOGLE, |
| 439 |
'Gidugu' => self::GOOGLE, |
| 440 |
'Gilda Display' => self::GOOGLE, |
| 441 |
'Girassol' => self::GOOGLE, |
| 442 |
'Give You Glory' => self::GOOGLE, |
| 443 |
'Glass Antiqua' => self::GOOGLE, |
| 444 |
'Glegoo' => self::GOOGLE, |
| 445 |
'Gloria Hallelujah' => self::GOOGLE, |
| 446 |
'Goblin One' => self::GOOGLE, |
| 447 |
'Gochi Hand' => self::GOOGLE, |
| 448 |
'Goldman' => self::GOOGLE, |
| 449 |
'Gorditas' => self::GOOGLE, |
| 450 |
'Gothic A1' => self::GOOGLE, |
| 451 |
'Gotu' => self::GOOGLE, |
| 452 |
'Goudy Bookletter 1911' => self::GOOGLE, |
| 453 |
'Graduate' => self::GOOGLE, |
| 454 |
'Grand Hotel' => self::GOOGLE, |
| 455 |
'Grandstander' => self::GOOGLE, |
| 456 |
'Gravitas One' => self::GOOGLE, |
| 457 |
'Great Vibes' => self::GOOGLE, |
| 458 |
'Grenze' => self::GOOGLE, |
| 459 |
'Grenze Gotisch' => self::GOOGLE, |
| 460 |
'Griffy' => self::GOOGLE, |
| 461 |
'Gruppo' => self::GOOGLE, |
| 462 |
'Gudea' => self::GOOGLE, |
| 463 |
'Gugi' => self::GOOGLE, |
| 464 |
'Gupter' => self::GOOGLE, |
| 465 |
'Gurajada' => self::GOOGLE, |
| 466 |
'Habibi' => self::GOOGLE, |
| 467 |
'Hachi Maru Pop' => self::GOOGLE, |
| 468 |
'Halant' => self::GOOGLE, |
| 469 |
'Hammersmith One' => self::GOOGLE, |
| 470 |
'Hanalei' => self::GOOGLE, |
| 471 |
'Hanalei Fill' => self::GOOGLE, |
| 472 |
'Handlee' => self::GOOGLE, |
| 473 |
'Hanuman' => self::GOOGLE, |
| 474 |
'Happy Monkey' => self::GOOGLE, |
| 475 |
'Harmattan' => self::GOOGLE, |
| 476 |
'Headland One' => self::GOOGLE, |
| 477 |
'Heebo' => self::GOOGLE, |
| 478 |
'Henny Penny' => self::GOOGLE, |
| 479 |
'Hepta Slab' => self::GOOGLE, |
| 480 |
'Herr Von Muellerhoff' => self::GOOGLE, |
| 481 |
'Hi Melody' => self::GOOGLE, |
| 482 |
'Hind' => self::GOOGLE, |
| 483 |
'Hind Guntur' => self::GOOGLE, |
| 484 |
'Hind Madurai' => self::GOOGLE, |
| 485 |
'Hind Siliguri' => self::GOOGLE, |
| 486 |
'Hind Vadodara' => self::GOOGLE, |
| 487 |
'Holtwood One SC' => self::GOOGLE, |
| 488 |
'Homemade Apple' => self::GOOGLE, |
| 489 |
'Homenaje' => self::GOOGLE, |
| 490 |
'IBM Plex Mono' => self::GOOGLE, |
| 491 |
'IBM Plex Sans' => self::GOOGLE, |
| 492 |
'IBM Plex Sans Condensed' => self::GOOGLE, |
| 493 |
'IBM Plex Serif' => self::GOOGLE, |
| 494 |
'IM Fell DW Pica' => self::GOOGLE, |
| 495 |
'IM Fell DW Pica SC' => self::GOOGLE, |
| 496 |
'IM Fell Double Pica' => self::GOOGLE, |
| 497 |
'IM Fell Double Pica SC' => self::GOOGLE, |
| 498 |
'IM Fell English' => self::GOOGLE, |
| 499 |
'IM Fell English SC' => self::GOOGLE, |
| 500 |
'IM Fell French Canon' => self::GOOGLE, |
| 501 |
'IM Fell French Canon SC' => self::GOOGLE, |
| 502 |
'IM Fell Great Primer' => self::GOOGLE, |
| 503 |
'IM Fell Great Primer SC' => self::GOOGLE, |
| 504 |
'Ibarra Real Nova' => self::GOOGLE, |
| 505 |
'Iceberg' => self::GOOGLE, |
| 506 |
'Iceland' => self::GOOGLE, |
| 507 |
'Imbue' => self::GOOGLE, |
| 508 |
'Imprima' => self::GOOGLE, |
| 509 |
'Inconsolata' => self::GOOGLE, |
| 510 |
'Inder' => self::GOOGLE, |
| 511 |
'Indie Flower' => self::GOOGLE, |
| 512 |
'Inika' => self::GOOGLE, |
| 513 |
'Inknut Antiqua' => self::GOOGLE, |
| 514 |
'Inria Sans' => self::GOOGLE, |
| 515 |
'Inria Serif' => self::GOOGLE, |
| 516 |
'Inter' => self::GOOGLE, |
| 517 |
'Irish Grover' => self::GOOGLE, |
| 518 |
'Istok Web' => self::GOOGLE, |
| 519 |
'Italiana' => self::GOOGLE, |
| 520 |
'Italianno' => self::GOOGLE, |
| 521 |
'Itim' => self::GOOGLE, |
| 522 |
'Jacques Francois' => self::GOOGLE, |
| 523 |
'Jacques Francois Shadow' => self::GOOGLE, |
| 524 |
'Jaldi' => self::GOOGLE, |
| 525 |
'JetBrains Mono' => self::GOOGLE, |
| 526 |
'Jim Nightshade' => self::GOOGLE, |
| 527 |
'Jockey One' => self::GOOGLE, |
| 528 |
'Jolly Lodger' => self::GOOGLE, |
| 529 |
'Jomhuria' => self::GOOGLE, |
| 530 |
'Jomolhari' => self::GOOGLE, |
| 531 |
'Josefin Sans' => self::GOOGLE, |
| 532 |
'Josefin Slab' => self::GOOGLE, |
| 533 |
'Jost' => self::GOOGLE, |
| 534 |
'Joti One' => self::GOOGLE, |
| 535 |
'Jua' => self::GOOGLE, |
| 536 |
'Judson' => self::GOOGLE, |
| 537 |
'Julee' => self::GOOGLE, |
| 538 |
'Julius Sans One' => self::GOOGLE, |
| 539 |
'Junge' => self::GOOGLE, |
| 540 |
'Jura' => self::GOOGLE, |
| 541 |
'Just Another Hand' => self::GOOGLE, |
| 542 |
'Just Me Again Down Here' => self::GOOGLE, |
| 543 |
'K2D' => self::GOOGLE, |
| 544 |
'Kadwa' => self::GOOGLE, |
| 545 |
'Kalam' => self::GOOGLE, |
| 546 |
'Kameron' => self::GOOGLE, |
| 547 |
'Kanit' => self::GOOGLE, |
| 548 |
'Kantumruy' => self::GOOGLE, |
| 549 |
'Karantina' => self::GOOGLE, |
| 550 |
'Karla' => self::GOOGLE, |
| 551 |
'Karma' => self::GOOGLE, |
| 552 |
'Katibeh' => self::GOOGLE, |
| 553 |
'Kaushan Script' => self::GOOGLE, |
| 554 |
'Kavivanar' => self::GOOGLE, |
| 555 |
'Kavoon' => self::GOOGLE, |
| 556 |
'Kdam Thmor' => self::GOOGLE, |
| 557 |
'Keania One' => self::GOOGLE, |
| 558 |
'Kelly Slab' => self::GOOGLE, |
| 559 |
'Kenia' => self::GOOGLE, |
| 560 |
'Khand' => self::GOOGLE, |
| 561 |
'Khmer' => self::GOOGLE, |
| 562 |
'Khula' => self::GOOGLE, |
| 563 |
'Kirang Haerang' => self::GOOGLE, |
| 564 |
'Kite One' => self::GOOGLE, |
| 565 |
'Kiwi Maru' => self::GOOGLE, |
| 566 |
'Knewave' => self::GOOGLE, |
| 567 |
'KoHo' => self::GOOGLE, |
| 568 |
'Kodchasan' => self::GOOGLE, |
| 569 |
'Kosugi' => self::GOOGLE, |
| 570 |
'Kosugi Maru' => self::GOOGLE, |
| 571 |
'Kotta One' => self::GOOGLE, |
| 572 |
'Koulen' => self::GOOGLE, |
| 573 |
'Kranky' => self::GOOGLE, |
| 574 |
'Kreon' => self::GOOGLE, |
| 575 |
'Kristi' => self::GOOGLE, |
| 576 |
'Krona One' => self::GOOGLE, |
| 577 |
'Krub' => self::GOOGLE, |
| 578 |
'Kufam' => self::GOOGLE, |
| 579 |
'Kulim Park' => self::GOOGLE, |
| 580 |
'Kumar One' => self::GOOGLE, |
| 581 |
'Kumar One Outline' => self::GOOGLE, |
| 582 |
'Kumbh Sans' => self::GOOGLE, |
| 583 |
'Kurale' => self::GOOGLE, |
| 584 |
'La Belle Aurore' => self::GOOGLE, |
| 585 |
'Lacquer' => self::GOOGLE, |
| 586 |
'Laila' => self::GOOGLE, |
| 587 |
'Lakki Reddy' => self::GOOGLE, |
| 588 |
'Lalezar' => self::GOOGLE, |
| 589 |
'Lancelot' => self::GOOGLE, |
| 590 |
'Langar' => self::GOOGLE, |
| 591 |
'Lateef' => self::GOOGLE, |
| 592 |
'Lato' => self::GOOGLE, |
| 593 |
'League Script' => self::GOOGLE, |
| 594 |
'Leckerli One' => self::GOOGLE, |
| 595 |
'Ledger' => self::GOOGLE, |
| 596 |
'Lekton' => self::GOOGLE, |
| 597 |
'Lemon' => self::GOOGLE, |
| 598 |
'Lemonada' => self::GOOGLE, |
| 599 |
'Lexend' => self::GOOGLE, |
| 600 |
'Lexend Deca' => self::GOOGLE, |
| 601 |
'Lexend Exa' => self::GOOGLE, |
| 602 |
'Lexend Giga' => self::GOOGLE, |
| 603 |
'Lexend Mega' => self::GOOGLE, |
| 604 |
'Lexend Peta' => self::GOOGLE, |
| 605 |
'Lexend Tera' => self::GOOGLE, |
| 606 |
'Lexend Zetta' => self::GOOGLE, |
| 607 |
'Libre Barcode 128' => self::GOOGLE, |
| 608 |
'Libre Barcode 128 Text' => self::GOOGLE, |
| 609 |
'Libre Barcode 39' => self::GOOGLE, |
| 610 |
'Libre Barcode 39 Extended' => self::GOOGLE, |
| 611 |
'Libre Barcode 39 Extended Text' => self::GOOGLE, |
| 612 |
'Libre Barcode 39 Text' => self::GOOGLE, |
| 613 |
'Libre Barcode EAN13 Text' => self::GOOGLE, |
| 614 |
'Libre Baskerville' => self::GOOGLE, |
| 615 |
'Libre Caslon Display' => self::GOOGLE, |
| 616 |
'Libre Caslon Text' => self::GOOGLE, |
| 617 |
'Libre Franklin' => self::GOOGLE, |
| 618 |
'Life Savers' => self::GOOGLE, |
| 619 |
'Lilita One' => self::GOOGLE, |
| 620 |
'Lily Script One' => self::GOOGLE, |
| 621 |
'Limelight' => self::GOOGLE, |
| 622 |
'Linden Hill' => self::GOOGLE, |
| 623 |
'Literata' => self::GOOGLE, |
| 624 |
'Liu Jian Mao Cao' => self::GOOGLE, |
| 625 |
'Livvic' => self::GOOGLE, |
| 626 |
'Lobster' => self::GOOGLE, |
| 627 |
'Lobster Two' => self::GOOGLE, |
| 628 |
'Londrina Outline' => self::GOOGLE, |
| 629 |
'Londrina Shadow' => self::GOOGLE, |
| 630 |
'Londrina Sketch' => self::GOOGLE, |
| 631 |
'Londrina Solid' => self::GOOGLE, |
| 632 |
'Long Cang' => self::GOOGLE, |
| 633 |
'Lora' => self::GOOGLE, |
| 634 |
'Love Ya Like A Sister' => self::GOOGLE, |
| 635 |
'Loved by the King' => self::GOOGLE, |
| 636 |
'Lovers Quarrel' => self::GOOGLE, |
| 637 |
'Luckiest Guy' => self::GOOGLE, |
| 638 |
'Lusitana' => self::GOOGLE, |
| 639 |
'Lustria' => self::GOOGLE, |
| 640 |
'M PLUS 1p' => self::GOOGLE, |
| 641 |
'M PLUS Rounded 1c' => self::GOOGLE, |
| 642 |
'Ma Shan Zheng' => self::GOOGLE, |
| 643 |
'Macondo' => self::GOOGLE, |
| 644 |
'Macondo Swash Caps' => self::GOOGLE, |
| 645 |
'Mada' => self::GOOGLE, |
| 646 |
'Magra' => self::GOOGLE, |
| 647 |
'Maiden Orange' => self::GOOGLE, |
| 648 |
'Maitree' => self::GOOGLE, |
| 649 |
'Major Mono Display' => self::GOOGLE, |
| 650 |
'Mako' => self::GOOGLE, |
| 651 |
'Mali' => self::GOOGLE, |
| 652 |
'Mallanna' => self::GOOGLE, |
| 653 |
'Mandali' => self::GOOGLE, |
| 654 |
'Manjari' => self::GOOGLE, |
| 655 |
'Manrope' => self::GOOGLE, |
| 656 |
'Mansalva' => self::GOOGLE, |
| 657 |
'Manuale' => self::GOOGLE, |
| 658 |
'Marcellus' => self::GOOGLE, |
| 659 |
'Marcellus SC' => self::GOOGLE, |
| 660 |
'Marck Script' => self::GOOGLE, |
| 661 |
'Margarine' => self::GOOGLE, |
| 662 |
'Markazi Text' => self::GOOGLE, |
| 663 |
'Marko One' => self::GOOGLE, |
| 664 |
'Marmelad' => self::GOOGLE, |
| 665 |
'Martel' => self::GOOGLE, |
| 666 |
'Martel Sans' => self::GOOGLE, |
| 667 |
'Marvel' => self::GOOGLE, |
| 668 |
'Mate' => self::GOOGLE, |
| 669 |
'Mate SC' => self::GOOGLE, |
| 670 |
'Maven Pro' => self::GOOGLE, |
| 671 |
'McLaren' => self::GOOGLE, |
| 672 |
'Meddon' => self::GOOGLE, |
| 673 |
'MedievalSharp' => self::GOOGLE, |
| 674 |
'Medula One' => self::GOOGLE, |
| 675 |
'Meera Inimai' => self::GOOGLE, |
| 676 |
'Megrim' => self::GOOGLE, |
| 677 |
'Meie Script' => self::GOOGLE, |
| 678 |
'Merienda' => self::GOOGLE, |
| 679 |
'Merienda One' => self::GOOGLE, |
| 680 |
'Merriweather' => self::GOOGLE, |
| 681 |
'Merriweather Sans' => self::GOOGLE, |
| 682 |
'Metal' => self::GOOGLE, |
| 683 |
'Metal Mania' => self::GOOGLE, |
| 684 |
'Metamorphous' => self::GOOGLE, |
| 685 |
'Metrophobic' => self::GOOGLE, |
| 686 |
'Michroma' => self::GOOGLE, |
| 687 |
'Milonga' => self::GOOGLE, |
| 688 |
'Miltonian' => self::GOOGLE, |
| 689 |
'Miltonian Tattoo' => self::GOOGLE, |
| 690 |
'Mina' => self::GOOGLE, |
| 691 |
'Miniver' => self::GOOGLE, |
| 692 |
'Miriam Libre' => self::GOOGLE, |
| 693 |
'Mirza' => self::GOOGLE, |
| 694 |
'Miss Fajardose' => self::GOOGLE, |
| 695 |
'Mitr' => self::GOOGLE, |
| 696 |
'Modak' => self::GOOGLE, |
| 697 |
'Modern Antiqua' => self::GOOGLE, |
| 698 |
'Mogra' => self::GOOGLE, |
| 699 |
'Molengo' => self::GOOGLE, |
| 700 |
'Molle' => self::GOOGLE, |
| 701 |
'Monda' => self::GOOGLE, |
| 702 |
'Monofett' => self::GOOGLE, |
| 703 |
'Monoton' => self::GOOGLE, |
| 704 |
'Monsieur La Doulaise' => self::GOOGLE, |
| 705 |
'Montaga' => self::GOOGLE, |
| 706 |
'Montez' => self::GOOGLE, |
| 707 |
'Montserrat' => self::GOOGLE, |
| 708 |
'Montserrat Alternates' => self::GOOGLE, |
| 709 |
'Montserrat Subrayada' => self::GOOGLE, |
| 710 |
'Moul' => self::GOOGLE, |
| 711 |
'Moulpali' => self::GOOGLE, |
| 712 |
'Mountains of Christmas' => self::GOOGLE, |
| 713 |
'Mouse Memoirs' => self::GOOGLE, |
| 714 |
'Mr Bedfort' => self::GOOGLE, |
| 715 |
'Mr Dafoe' => self::GOOGLE, |
| 716 |
'Mr De Haviland' => self::GOOGLE, |
| 717 |
'Mrs Saint Delafield' => self::GOOGLE, |
| 718 |
'Mrs Sheppards' => self::GOOGLE, |
| 719 |
'Mukta' => self::GOOGLE, |
| 720 |
'Mukta Mahee' => self::GOOGLE, |
| 721 |
'Mukta Malar' => self::GOOGLE, |
| 722 |
'Mukta Vaani' => self::GOOGLE, |
| 723 |
'Mulish' => self::GOOGLE, |
| 724 |
'MuseoModerno' => self::GOOGLE, |
| 725 |
'Mystery Quest' => self::GOOGLE, |
| 726 |
'NTR' => self::GOOGLE, |
| 727 |
'Nanum Brush Script' => self::GOOGLE, |
| 728 |
'Nanum Gothic' => self::GOOGLE, |
| 729 |
'Nanum Gothic Coding' => self::GOOGLE, |
| 730 |
'Nanum Myeongjo' => self::GOOGLE, |
| 731 |
'Nanum Pen Script' => self::GOOGLE, |
| 732 |
'Nerko One' => self::GOOGLE, |
| 733 |
'Neucha' => self::GOOGLE, |
| 734 |
'Neuton' => self::GOOGLE, |
| 735 |
'New Rocker' => self::GOOGLE, |
| 736 |
'New Tegomin' => self::GOOGLE, |
| 737 |
'News Cycle' => self::GOOGLE, |
| 738 |
'Newsreader' => self::GOOGLE, |
| 739 |
'Niconne' => self::GOOGLE, |
| 740 |
'Niramit' => self::GOOGLE, |
| 741 |
'Nixie One' => self::GOOGLE, |
| 742 |
'Nobile' => self::GOOGLE, |
| 743 |
'Nokora' => self::GOOGLE, |
| 744 |
'Norican' => self::GOOGLE, |
| 745 |
'Nosifer' => self::GOOGLE, |
| 746 |
'Notable' => self::GOOGLE, |
| 747 |
'Nothing You Could Do' => self::GOOGLE, |
| 748 |
'Noticia Text' => self::GOOGLE, |
| 749 |
'Noto Kufi Arabic' => self::EARLYACCESS, // Hack for Google Early Access. |
| 750 |
'Noto Naskh Arabic' => self::EARLYACCESS, // Hack for Google Early Access. |
| 751 |
'Noto Sans' => self::GOOGLE, |
| 752 |
'Noto Sans HK' => self::GOOGLE, |
| 753 |
'Noto Sans Hebrew' => self::EARLYACCESS, // Hack for Google Early Access. |
| 754 |
'Noto Sans JP' => self::GOOGLE, |
| 755 |
'Noto Sans KR' => self::GOOGLE, |
| 756 |
'Noto Sans SC' => self::GOOGLE, |
| 757 |
'Noto Sans TC' => self::GOOGLE, |
| 758 |
'Noto Serif' => self::GOOGLE, |
| 759 |
'Noto Serif JP' => self::GOOGLE, |
| 760 |
'Noto Serif KR' => self::GOOGLE, |
| 761 |
'Noto Serif SC' => self::GOOGLE, |
| 762 |
'Noto Serif TC' => self::GOOGLE, |
| 763 |
'Nova Cut' => self::GOOGLE, |
| 764 |
'Nova Flat' => self::GOOGLE, |
| 765 |
'Nova Mono' => self::GOOGLE, |
| 766 |
'Nova Oval' => self::GOOGLE, |
| 767 |
'Nova Round' => self::GOOGLE, |
| 768 |
'Nova Script' => self::GOOGLE, |
| 769 |
'Nova Slim' => self::GOOGLE, |
| 770 |
'Nova Square' => self::GOOGLE, |
| 771 |
'Numans' => self::GOOGLE, |
| 772 |
'Nunito' => self::GOOGLE, |
| 773 |
'Nunito Sans' => self::GOOGLE, |
| 774 |
'Odibee Sans' => self::GOOGLE, |
| 775 |
'Odor Mean Chey' => self::GOOGLE, |
| 776 |
'Offside' => self::GOOGLE, |
| 777 |
'Oi' => self::GOOGLE, |
| 778 |
'Old Standard TT' => self::GOOGLE, |
| 779 |
'Oldenburg' => self::GOOGLE, |
| 780 |
'Oleo Script' => self::GOOGLE, |
| 781 |
'Oleo Script Swash Caps' => self::GOOGLE, |
| 782 |
'Open Sans' => self::GOOGLE, |
| 783 |
'Open Sans Condensed' => self::GOOGLE, |
| 784 |
'Open Sans Hebrew' => self::EARLYACCESS, // Hack for Google Early Access. |
| 785 |
'Open Sans Hebrew Condensed' => self::EARLYACCESS, // Hack for Google Early Access. |
| 786 |
'Oranienbaum' => self::GOOGLE, |
| 787 |
'Orbitron' => self::GOOGLE, |
| 788 |
'Oregano' => self::GOOGLE, |
| 789 |
'Orelega One' => self::GOOGLE, |
| 790 |
'Orienta' => self::GOOGLE, |
| 791 |
'Original Surfer' => self::GOOGLE, |
| 792 |
'Oswald' => self::GOOGLE, |
| 793 |
'Over the Rainbow' => self::GOOGLE, |
| 794 |
'Overlock' => self::GOOGLE, |
| 795 |
'Overlock SC' => self::GOOGLE, |
| 796 |
'Overpass' => self::GOOGLE, |
| 797 |
'Overpass Mono' => self::GOOGLE, |
| 798 |
'Ovo' => self::GOOGLE, |
| 799 |
'Oxanium' => self::GOOGLE, |
| 800 |
'Oxygen' => self::GOOGLE, |
| 801 |
'Oxygen Mono' => self::GOOGLE, |
| 802 |
'PT Mono' => self::GOOGLE, |
| 803 |
'PT Sans' => self::GOOGLE, |
| 804 |
'PT Sans Caption' => self::GOOGLE, |
| 805 |
'PT Sans Narrow' => self::GOOGLE, |
| 806 |
'PT Serif' => self::GOOGLE, |
| 807 |
'PT Serif Caption' => self::GOOGLE, |
| 808 |
'Pacifico' => self::GOOGLE, |
| 809 |
'Padauk' => self::GOOGLE, |
| 810 |
'Palanquin' => self::GOOGLE, |
| 811 |
'Palanquin Dark' => self::GOOGLE, |
| 812 |
'Pangolin' => self::GOOGLE, |
| 813 |
'Paprika' => self::GOOGLE, |
| 814 |
'Parisienne' => self::GOOGLE, |
| 815 |
'Passero One' => self::GOOGLE, |
| 816 |
'Passion One' => self::GOOGLE, |
| 817 |
'Pathway Gothic One' => self::GOOGLE, |
| 818 |
'Patrick Hand' => self::GOOGLE, |
| 819 |
'Patrick Hand SC' => self::GOOGLE, |
| 820 |
'Pattaya' => self::GOOGLE, |
| 821 |
'Patua One' => self::GOOGLE, |
| 822 |
'Pavanam' => self::GOOGLE, |
| 823 |
'Paytone One' => self::GOOGLE, |
| 824 |
'Peddana' => self::GOOGLE, |
| 825 |
'Peralta' => self::GOOGLE, |
| 826 |
'Permanent Marker' => self::GOOGLE, |
| 827 |
'Petit Formal Script' => self::GOOGLE, |
| 828 |
'Petrona' => self::GOOGLE, |
| 829 |
'Philosopher' => self::GOOGLE, |
| 830 |
'Piazzolla' => self::GOOGLE, |
| 831 |
'Piedra' => self::GOOGLE, |
| 832 |
'Pinyon Script' => self::GOOGLE, |
| 833 |
'Pirata One' => self::GOOGLE, |
| 834 |
'Plaster' => self::GOOGLE, |
| 835 |
'Play' => self::GOOGLE, |
| 836 |
'Playball' => self::GOOGLE, |
| 837 |
'Playfair Display' => self::GOOGLE, |
| 838 |
'Playfair Display SC' => self::GOOGLE, |
| 839 |
'Podkova' => self::GOOGLE, |
| 840 |
'Poiret One' => self::GOOGLE, |
| 841 |
'Poller One' => self::GOOGLE, |
| 842 |
'Poly' => self::GOOGLE, |
| 843 |
'Pompiere' => self::GOOGLE, |
| 844 |
'Pontano Sans' => self::GOOGLE, |
| 845 |
'Poor Story' => self::GOOGLE, |
| 846 |
'Poppins' => self::GOOGLE, |
| 847 |
'Port Lligat Sans' => self::GOOGLE, |
| 848 |
'Port Lligat Slab' => self::GOOGLE, |
| 849 |
'Potta One' => self::GOOGLE, |
| 850 |
'Pragati Narrow' => self::GOOGLE, |
| 851 |
'Prata' => self::GOOGLE, |
| 852 |
'Preahvihear' => self::GOOGLE, |
| 853 |
'Press Start 2P' => self::GOOGLE, |
| 854 |
'Pridi' => self::GOOGLE, |
| 855 |
'Princess Sofia' => self::GOOGLE, |
| 856 |
'Prociono' => self::GOOGLE, |
| 857 |
'Prompt' => self::GOOGLE, |
| 858 |
'Prosto One' => self::GOOGLE, |
| 859 |
'Proza Libre' => self::GOOGLE, |
| 860 |
'Public Sans' => self::GOOGLE, |
| 861 |
'Puritan' => self::GOOGLE, |
| 862 |
'Purple Purse' => self::GOOGLE, |
| 863 |
'Quando' => self::GOOGLE, |
| 864 |
'Quantico' => self::GOOGLE, |
| 865 |
'Quattrocento' => self::GOOGLE, |
| 866 |
'Quattrocento Sans' => self::GOOGLE, |
| 867 |
'Questrial' => self::GOOGLE, |
| 868 |
'Quicksand' => self::GOOGLE, |
| 869 |
'Quintessential' => self::GOOGLE, |
| 870 |
'Qwigley' => self::GOOGLE, |
| 871 |
'Racing Sans One' => self::GOOGLE, |
| 872 |
'Radley' => self::GOOGLE, |
| 873 |
'Rajdhani' => self::GOOGLE, |
| 874 |
'Rakkas' => self::GOOGLE, |
| 875 |
'Raleway' => self::GOOGLE, |
| 876 |
'Raleway Dots' => self::GOOGLE, |
| 877 |
'Ramabhadra' => self::GOOGLE, |
| 878 |
'Ramaraja' => self::GOOGLE, |
| 879 |
'Rambla' => self::GOOGLE, |
| 880 |
'Rammetto One' => self::GOOGLE, |
| 881 |
'Ranchers' => self::GOOGLE, |
| 882 |
'Rancho' => self::GOOGLE, |
| 883 |
'Ranga' => self::GOOGLE, |
| 884 |
'Rasa' => self::GOOGLE, |
| 885 |
'Rationale' => self::GOOGLE, |
| 886 |
'Ravi Prakash' => self::GOOGLE, |
| 887 |
'Recursive' => self::GOOGLE, |
| 888 |
'Red Hat Display' => self::GOOGLE, |
| 889 |
'Red Hat Text' => self::GOOGLE, |
| 890 |
'Red Rose' => self::GOOGLE, |
| 891 |
'Redressed' => self::GOOGLE, |
| 892 |
'Reem Kufi' => self::GOOGLE, |
| 893 |
'Reenie Beanie' => self::GOOGLE, |
| 894 |
'Reggae One' => self::GOOGLE, |
| 895 |
'Revalia' => self::GOOGLE, |
| 896 |
'Rhodium Libre' => self::GOOGLE, |
| 897 |
'Ribeye' => self::GOOGLE, |
| 898 |
'Ribeye Marrow' => self::GOOGLE, |
| 899 |
'Righteous' => self::GOOGLE, |
| 900 |
'Risque' => self::GOOGLE, |
| 901 |
'Roboto' => self::GOOGLE, |
| 902 |
'Roboto Condensed' => self::GOOGLE, |
| 903 |
'Roboto Mono' => self::GOOGLE, |
| 904 |
'Roboto Slab' => self::GOOGLE, |
| 905 |
'Rochester' => self::GOOGLE, |
| 906 |
'Rock Salt' => self::GOOGLE, |
| 907 |
'RocknRoll One' => self::GOOGLE, |
| 908 |
'Rokkitt' => self::GOOGLE, |
| 909 |
'Romanesco' => self::GOOGLE, |
| 910 |
'Ropa Sans' => self::GOOGLE, |
| 911 |
'Rosario' => self::GOOGLE, |
| 912 |
'Rosarivo' => self::GOOGLE, |
| 913 |
'Rouge Script' => self::GOOGLE, |
| 914 |
'Rowdies' => self::GOOGLE, |
| 915 |
'Rozha One' => self::GOOGLE, |
| 916 |
'Rubik' => self::GOOGLE, |
| 917 |
'Rubik Mono One' => self::GOOGLE, |
| 918 |
'Ruda' => self::GOOGLE, |
| 919 |
'Rufina' => self::GOOGLE, |
| 920 |
'Ruge Boogie' => self::GOOGLE, |
| 921 |
'Ruluko' => self::GOOGLE, |
| 922 |
'Rum Raisin' => self::GOOGLE, |
| 923 |
'Ruslan Display' => self::GOOGLE, |
| 924 |
'Russo One' => self::GOOGLE, |
| 925 |
'Ruthie' => self::GOOGLE, |
| 926 |
'Rye' => self::GOOGLE, |
| 927 |
'Sacramento' => self::GOOGLE, |
| 928 |
'Sahitya' => self::GOOGLE, |
| 929 |
'Sail' => self::GOOGLE, |
| 930 |
'Saira' => self::GOOGLE, |
| 931 |
'Saira Condensed' => self::GOOGLE, |
| 932 |
'Saira Extra Condensed' => self::GOOGLE, |
| 933 |
'Saira Semi Condensed' => self::GOOGLE, |
| 934 |
'Saira Stencil One' => self::GOOGLE, |
| 935 |
'Salsa' => self::GOOGLE, |
| 936 |
'Sanchez' => self::GOOGLE, |
| 937 |
'Sancreek' => self::GOOGLE, |
| 938 |
'Sansita' => self::GOOGLE, |
| 939 |
'Sansita Swashed' => self::GOOGLE, |
| 940 |
'Sarabun' => self::GOOGLE, |
| 941 |
'Sarala' => self::GOOGLE, |
| 942 |
'Sarina' => self::GOOGLE, |
| 943 |
'Sarpanch' => self::GOOGLE, |
| 944 |
'Satisfy' => self::GOOGLE, |
| 945 |
'Sawarabi Gothic' => self::GOOGLE, |
| 946 |
'Sawarabi Mincho' => self::GOOGLE, |
| 947 |
'Scada' => self::GOOGLE, |
| 948 |
'Scheherazade' => self::GOOGLE, |
| 949 |
'Schoolbell' => self::GOOGLE, |
| 950 |
'Scope One' => self::GOOGLE, |
| 951 |
'Seaweed Script' => self::GOOGLE, |
| 952 |
'Secular One' => self::GOOGLE, |
| 953 |
'Sedgwick Ave' => self::GOOGLE, |
| 954 |
'Sedgwick Ave Display' => self::GOOGLE, |
| 955 |
'Sen' => self::GOOGLE, |
| 956 |
'Sevillana' => self::GOOGLE, |
| 957 |
'Seymour One' => self::GOOGLE, |
| 958 |
'Shadows Into Light' => self::GOOGLE, |
| 959 |
'Shadows Into Light Two' => self::GOOGLE, |
| 960 |
'Shanti' => self::GOOGLE, |
| 961 |
'Share' => self::GOOGLE, |
| 962 |
'Share Tech' => self::GOOGLE, |
| 963 |
'Share Tech Mono' => self::GOOGLE, |
| 964 |
'Shippori Mincho' => self::GOOGLE, |
| 965 |
'Shippori Mincho B1' => self::GOOGLE, |
| 966 |
'Shojumaru' => self::GOOGLE, |
| 967 |
'Short Stack' => self::GOOGLE, |
| 968 |
'Shrikhand' => self::GOOGLE, |
| 969 |
'Siemreap' => self::GOOGLE, |
| 970 |
'Sigmar One' => self::GOOGLE, |
| 971 |
'Signika' => self::GOOGLE, |
| 972 |
'Signika Negative' => self::GOOGLE, |
| 973 |
'Simonetta' => self::GOOGLE, |
| 974 |
'Single Day' => self::GOOGLE, |
| 975 |
'Sintony' => self::GOOGLE, |
| 976 |
'Sirin Stencil' => self::GOOGLE, |
| 977 |
'Six Caps' => self::GOOGLE, |
| 978 |
'Skranji' => self::GOOGLE, |
| 979 |
'Slabo 13px' => self::GOOGLE, |
| 980 |
'Slabo 27px' => self::GOOGLE, |
| 981 |
'Slackey' => self::GOOGLE, |
| 982 |
'Smokum' => self::GOOGLE, |
| 983 |
'Smythe' => self::GOOGLE, |
| 984 |
'Sniglet' => self::GOOGLE, |
| 985 |
'Snippet' => self::GOOGLE, |
| 986 |
'Snowburst One' => self::GOOGLE, |
| 987 |
'Sofadi One' => self::GOOGLE, |
| 988 |
'Sofia' => self::GOOGLE, |
| 989 |
'Solway' => self::GOOGLE, |
| 990 |
'Song Myung' => self::GOOGLE, |
| 991 |
'Sonsie One' => self::GOOGLE, |
| 992 |
'Sora' => self::GOOGLE, |
| 993 |
'Sorts Mill Goudy' => self::GOOGLE, |
| 994 |
'Source Code Pro' => self::GOOGLE, |
| 995 |
'Source Sans Pro' => self::GOOGLE, |
| 996 |
'Source Serif Pro' => self::GOOGLE, |
| 997 |
'Space Grotesk' => self::GOOGLE, |
| 998 |
'Space Mono' => self::GOOGLE, |
| 999 |
'Spartan' => self::GOOGLE, |
| 1000 |
'Special Elite' => self::GOOGLE, |
| 1001 |
'Spectral' => self::GOOGLE, |
| 1002 |
'Spectral SC' => self::GOOGLE, |
| 1003 |
'Spicy Rice' => self::GOOGLE, |
| 1004 |
'Spinnaker' => self::GOOGLE, |
| 1005 |
'Spirax' => self::GOOGLE, |
| 1006 |
'Squada One' => self::GOOGLE, |
| 1007 |
'Sree Krushnadevaraya' => self::GOOGLE, |
| 1008 |
'Sriracha' => self::GOOGLE, |
| 1009 |
'Srisakdi' => self::GOOGLE, |
| 1010 |
'Staatliches' => self::GOOGLE, |
| 1011 |
'Stalemate' => self::GOOGLE, |
| 1012 |
'Stalinist One' => self::GOOGLE, |
| 1013 |
'Stardos Stencil' => self::GOOGLE, |
| 1014 |
'Stick' => self::GOOGLE, |
| 1015 |
'Stint Ultra Condensed' => self::GOOGLE, |
| 1016 |
'Stint Ultra Expanded' => self::GOOGLE, |
| 1017 |
'Stoke' => self::GOOGLE, |
| 1018 |
'Strait' => self::GOOGLE, |
| 1019 |
'Stylish' => self::GOOGLE, |
| 1020 |
'Sue Ellen Francisco' => self::GOOGLE, |
| 1021 |
'Suez One' => self::GOOGLE, |
| 1022 |
'Sulphur Point' => self::GOOGLE, |
| 1023 |
'Sumana' => self::GOOGLE, |
| 1024 |
'Sunflower' => self::GOOGLE, |
| 1025 |
'Sunshiney' => self::GOOGLE, |
| 1026 |
'Supermercado One' => self::GOOGLE, |
| 1027 |
'Sura' => self::GOOGLE, |
| 1028 |
'Suranna' => self::GOOGLE, |
| 1029 |
'Suravaram' => self::GOOGLE, |
| 1030 |
'Suwannaphum' => self::GOOGLE, |
| 1031 |
'Swanky and Moo Moo' => self::GOOGLE, |
| 1032 |
'Syncopate' => self::GOOGLE, |
| 1033 |
'Syne' => self::GOOGLE, |
| 1034 |
'Syne Mono' => self::GOOGLE, |
| 1035 |
'Syne Tactile' => self::GOOGLE, |
| 1036 |
'Tajawal' => self::GOOGLE, |
| 1037 |
'Tangerine' => self::GOOGLE, |
| 1038 |
'Taprom' => self::GOOGLE, |
| 1039 |
'Tauri' => self::GOOGLE, |
| 1040 |
'Taviraj' => self::GOOGLE, |
| 1041 |
'Teko' => self::GOOGLE, |
| 1042 |
'Telex' => self::GOOGLE, |
| 1043 |
'Tenali Ramakrishna' => self::GOOGLE, |
| 1044 |
'Tenor Sans' => self::GOOGLE, |
| 1045 |
'Text Me One' => self::GOOGLE, |
| 1046 |
'Texturina' => self::GOOGLE, |
| 1047 |
'Thasadith' => self::GOOGLE, |
| 1048 |
'The Girl Next Door' => self::GOOGLE, |
| 1049 |
'Tienne' => self::GOOGLE, |
| 1050 |
'Tillana' => self::GOOGLE, |
| 1051 |
'Timmana' => self::GOOGLE, |
| 1052 |
'Tinos' => self::GOOGLE, |
| 1053 |
'Titan One' => self::GOOGLE, |
| 1054 |
'Titillium Web' => self::GOOGLE, |
| 1055 |
'Tomorrow' => self::GOOGLE, |
| 1056 |
'Trade Winds' => self::GOOGLE, |
| 1057 |
'Train One' => self::GOOGLE, |
| 1058 |
'Trirong' => self::GOOGLE, |
| 1059 |
'Trispace' => self::GOOGLE, |
| 1060 |
'Trocchi' => self::GOOGLE, |
| 1061 |
'Trochut' => self::GOOGLE, |
| 1062 |
'Truculenta' => self::GOOGLE, |
| 1063 |
'Trykker' => self::GOOGLE, |
| 1064 |
'Tulpen One' => self::GOOGLE, |
| 1065 |
'Turret Road' => self::GOOGLE, |
| 1066 |
'Ubuntu' => self::GOOGLE, |
| 1067 |
'Ubuntu Condensed' => self::GOOGLE, |
| 1068 |
'Ubuntu Mono' => self::GOOGLE, |
| 1069 |
'Ultra' => self::GOOGLE, |
| 1070 |
'Uncial Antiqua' => self::GOOGLE, |
| 1071 |
'Underdog' => self::GOOGLE, |
| 1072 |
'Unica One' => self::GOOGLE, |
| 1073 |
'UnifrakturCook' => self::GOOGLE, |
| 1074 |
'UnifrakturMaguntia' => self::GOOGLE, |
| 1075 |
'Unkempt' => self::GOOGLE, |
| 1076 |
'Unlock' => self::GOOGLE, |
| 1077 |
'Unna' => self::GOOGLE, |
| 1078 |
'VT323' => self::GOOGLE, |
| 1079 |
'Vampiro One' => self::GOOGLE, |
| 1080 |
'Varela' => self::GOOGLE, |
| 1081 |
'Varela Round' => self::GOOGLE, |
| 1082 |
'Varta' => self::GOOGLE, |
| 1083 |
'Vast Shadow' => self::GOOGLE, |
| 1084 |
'Vesper Libre' => self::GOOGLE, |
| 1085 |
'Viaoda Libre' => self::GOOGLE, |
| 1086 |
'Vibes' => self::GOOGLE, |
| 1087 |
'Vibur' => self::GOOGLE, |
| 1088 |
'Vidaloka' => self::GOOGLE, |
| 1089 |
'Viga' => self::GOOGLE, |
| 1090 |
'Voces' => self::GOOGLE, |
| 1091 |
'Volkhov' => self::GOOGLE, |
| 1092 |
'Vollkorn' => self::GOOGLE, |
| 1093 |
'Vollkorn SC' => self::GOOGLE, |
| 1094 |
'Voltaire' => self::GOOGLE, |
| 1095 |
'Waiting for the Sunrise' => self::GOOGLE, |
| 1096 |
'Wallpoet' => self::GOOGLE, |
| 1097 |
'Walter Turncoat' => self::GOOGLE, |
| 1098 |
'Warnes' => self::GOOGLE, |
| 1099 |
'Wellfleet' => self::GOOGLE, |
| 1100 |
'Wendy One' => self::GOOGLE, |
| 1101 |
'Wire One' => self::GOOGLE, |
| 1102 |
'Work Sans' => self::GOOGLE, |
| 1103 |
'Xanh Mono' => self::GOOGLE, |
| 1104 |
'Yanone Kaffeesatz' => self::GOOGLE, |
| 1105 |
'Yantramanav' => self::GOOGLE, |
| 1106 |
'Yatra One' => self::GOOGLE, |
| 1107 |
'Yellowtail' => self::GOOGLE, |
| 1108 |
'Yeon Sung' => self::GOOGLE, |
| 1109 |
'Yeseva One' => self::GOOGLE, |
| 1110 |
'Yesteryear' => self::GOOGLE, |
| 1111 |
'Yrsa' => self::GOOGLE, |
| 1112 |
'Yusei Magic' => self::GOOGLE, |
| 1113 |
'ZCOOL KuaiLe' => self::GOOGLE, |
| 1114 |
'ZCOOL QingKe HuangYou' => self::GOOGLE, |
| 1115 |
'ZCOOL XiaoWei' => self::GOOGLE, |
| 1116 |
'Zen Dots' => self::GOOGLE, |
| 1117 |
'Zeyada' => self::GOOGLE, |
| 1118 |
'Zhi Mang Xing' => self::GOOGLE, |
| 1119 |
'Zilla Slab' => self::GOOGLE, |
| 1120 |
'Zilla Slab Highlight' => self::GOOGLE, |
| 1121 |
]; |
| 1122 |
} |
| 1123 |
|
| 1124 |
public static function get_font_type( $name ) { |
| 1125 |
$fonts = self::_get_fonts(); |
| 1126 |
|
| 1127 |
if ( empty( $fonts[ $name ] ) ) { |
| 1128 |
return false; |
| 1129 |
} |
| 1130 |
|
| 1131 |
return $fonts[ $name ]; |
| 1132 |
} |
| 1133 |
|
| 1134 |
public static function get_fonts_by_groups( $groups = [] ) { |
| 1135 |
return array_filter( self::_get_fonts(), function( $font ) use ( $groups ) { |
| 1136 |
return in_array( $font, $groups ); |
| 1137 |
} ); |
| 1138 |
} |
| 1139 |
|
| 1140 |
public static function get_fonts() { |
| 1141 |
|
| 1142 |
$_fonts = array_keys( self::_get_fonts() ); |
| 1143 |
|
| 1144 |
$fonts = [ |
| 1145 |
[ |
| 1146 |
'label' => 'Default', |
| 1147 |
'value' => '' |
| 1148 |
] |
| 1149 |
]; |
| 1150 |
|
| 1151 |
foreach ( $_fonts as $font ) { |
| 1152 |
$fonts[] = [ |
| 1153 |
'label' => $font, |
| 1154 |
'value' => $font |
| 1155 |
]; |
| 1156 |
} |
| 1157 |
|
| 1158 |
return $fonts; |
| 1159 |
|
| 1160 |
} |
| 1161 |
|
| 1162 |
} |