Created
February 8, 2017 10:19
-
-
Save chrishieu/a3df8b9fc0e829c7b975684ac7b0732d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$weights = array( | |
strtolower( 'UltraLight' ) => 100, | |
strtolower( 'UltraLight Italic' ) => 100, | |
strtolower( 'Ultra Light' ) => 100, | |
strtolower( 'Ultra Light Italic' ) => 100, | |
strtolower( 'Thin' ) => 100, | |
strtolower( 'ThinItalic' ) => 100, | |
strtolower( 'Thin Italic' ) => 100, | |
strtolower( 'ExtraLight' ) => 200, | |
strtolower( 'ExtraLight Italic' ) => 200, | |
strtolower( 'Extra Light' ) => 200, | |
strtolower( 'Extra Light Italic' ) => 200, | |
strtolower( 'Light' ) => 300, | |
strtolower( 'LightItalic' ) => 300, | |
strtolower( 'Light Italic' ) => 300, | |
strtolower( 'Book' ) => 400, | |
strtolower( 'Book Italic' ) => 400, | |
strtolower( 'Normal' ) => 400, | |
strtolower( 'Regular' ) => 400, | |
strtolower( 'Roman' ) => 400, | |
strtolower( 'Italic' ) => 450, | |
strtolower( 'Medium' ) => 500, | |
strtolower( 'MediumItalic' ) => 500, | |
strtolower( 'Medium Italic' ) => 500, | |
strtolower( 'SemiBold' ) => 600, | |
strtolower( 'Semi Bold' ) => 600, | |
strtolower( 'DemiBold' ) => 600, | |
strtolower( 'Demi Bold' ) => 600, | |
strtolower( 'SemiBold Italic' ) => 600, | |
strtolower( 'DemiBold Italic' ) => 600, | |
strtolower( 'Semi Bold Italic' ) => 600, | |
strtolower( 'Demi Bold Italic' ) => 600, | |
strtolower( 'Bold' ) => 700, | |
strtolower( 'Bold Italic' ) => 700, | |
strtolower( 'ExtraBold' ) => 800, | |
strtolower( 'ExtraBold Italic' ) => 800, | |
strtolower( 'Extra Bold' ) => 800, | |
strtolower( 'Extra Bold Italic' ) => 800, | |
strtolower( 'Black' ) => 900, | |
strtolower( 'Poster' ) => 900, | |
strtolower( 'Heavy' ) => 900, | |
strtolower( 'Black Italic' ) => 900, | |
strtolower( 'Poster Italic' ) => 900, | |
strtolower( 'Heavy Italic' ) => 900, | |
); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment