Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

105 KB
Raw Blame
use phf::phf_map;

pub(crate) static COURIER: phf::Map<&'static str, f32> = phf_map! {
    "space" => 600_f32,
    "exclam" => 600_f32,
    "quotedbl" => 600_f32,
    "numbersign" => 600_f32,
    "dollar" => 600_f32,
    "percent" => 600_f32,
    "ampersand" => 600_f32,
    "quoteright" => 600_f32,
    "parenleft" => 600_f32,
    "parenright" => 600_f32,
    "asterisk" => 600_f32,
    "plus" => 600_f32,
    "comma" => 600_f32,
    "hyphen" => 600_f32,
    "period" => 600_f32,
    "slash" => 600_f32,
    "zero" => 600_f32,
    "one" => 600_f32,
    "two" => 600_f32,
    "three" => 600_f32,
    "four" => 600_f32,
    "five" => 600_f32,
    "six" => 600_f32,
    "seven" => 600_f32,
    "eight" => 600_f32,
    "nine" => 600_f32,
    "colon" => 600_f32,
    "semicolon" => 600_f32,
    "less" => 600_f32,
    "equal" => 600_f32,
    "greater" => 600_f32,
    "question" => 600_f32,
    "at" => 600_f32,
    "A" => 600_f32,
    "B" => 600_f32,
    "C" => 600_f32,
    "D" => 600_f32,
    "E" => 600_f32,
    "F" => 600_f32,
    "G" => 600_f32,
    "H" => 600_f32,
    "I" => 600_f32,
    "J" => 600_f32,
    "K" => 600_f32,
    "L" => 600_f32,
    "M" => 600_f32,
    "N" => 600_f32,
    "O" => 600_f32,
    "P" => 600_f32,
    "Q" => 600_f32,
    "R" => 600_f32,
    "S" => 600_f32,
    "T" => 600_f32,
    "U" => 600_f32,
    "V" => 600_f32,
    "W" => 600_f32,
    "X" => 600_f32,
    "Y" => 600_f32,
    "Z" => 600_f32,
    "bracketleft" => 600_f32,
    "backslash" => 600_f32,
    "bracketright" => 600_f32,
    "asciicircum" => 600_f32,
    "underscore" => 600_f32,
    "quoteleft" => 600_f32,
    "a" => 600_f32,
    "b" => 600_f32,
    "c" => 600_f32,
    "d" => 600_f32,
    "e" => 600_f32,
    "f" => 600_f32,
    "g" => 600_f32,
    "h" => 600_f32,
    "i" => 600_f32,
    "j" => 600_f32,
    "k" => 600_f32,
    "l" => 600_f32,
    "m" => 600_f32,
    "n" => 600_f32,
    "o" => 600_f32,
    "p" => 600_f32,
    "q" => 600_f32,
    "r" => 600_f32,
    "s" => 600_f32,
    "t" => 600_f32,
    "u" => 600_f32,
    "v" => 600_f32,
    "w" => 600_f32,
    "x" => 600_f32,
    "y" => 600_f32,
    "z" => 600_f32,
    "braceleft" => 600_f32,
    "bar" => 600_f32,
    "braceright" => 600_f32,
    "asciitilde" => 600_f32,
    "exclamdown" => 600_f32,
    "cent" => 600_f32,
    "sterling" => 600_f32,
    "fraction" => 600_f32,
    "yen" => 600_f32,
    "florin" => 600_f32,
    "section" => 600_f32,
    "currency" => 600_f32,
    "quotesingle" => 600_f32,
    "quotedblleft" => 600_f32,
    "guillemotleft" => 600_f32,
    "guilsinglleft" => 600_f32,
    "guilsinglright" => 600_f32,
    "fi" => 600_f32,
    "fl" => 600_f32,
    "endash" => 600_f32,
    "dagger" => 600_f32,
    "daggerdbl" => 600_f32,
    "periodcentered" => 600_f32,
    "paragraph" => 600_f32,
    "bullet" => 600_f32,
    "quotesinglbase" => 600_f32,
    "quotedblbase" => 600_f32,
    "quotedblright" => 600_f32,
    "guillemotright" => 600_f32,
    "ellipsis" => 600_f32,
    "perthousand" => 600_f32,
    "questiondown" => 600_f32,
    "grave" => 600_f32,
    "acute" => 600_f32,
    "circumflex" => 600_f32,
    "tilde" => 600_f32,
    "macron" => 600_f32,
    "breve" => 600_f32,
    "dotaccent" => 600_f32,
    "dieresis" => 600_f32,
    "ring" => 600_f32,
    "cedilla" => 600_f32,
    "hungarumlaut" => 600_f32,
    "ogonek" => 600_f32,
    "caron" => 600_f32,
    "emdash" => 600_f32,
    "AE" => 600_f32,
    "ordfeminine" => 600_f32,
    "Lslash" => 600_f32,
    "Oslash" => 600_f32,
    "OE" => 600_f32,
    "ordmasculine" => 600_f32,
    "ae" => 600_f32,
    "dotlessi" => 600_f32,
    "lslash" => 600_f32,
    "oslash" => 600_f32,
    "oe" => 600_f32,
    "germandbls" => 600_f32,
    "Idieresis" => 600_f32,
    "eacute" => 600_f32,
    "abreve" => 600_f32,
    "uhungarumlaut" => 600_f32,
    "ecaron" => 600_f32,
    "Ydieresis" => 600_f32,
    "divide" => 600_f32,
    "Yacute" => 600_f32,
    "Acircumflex" => 600_f32,
    "aacute" => 600_f32,
    "Ucircumflex" => 600_f32,
    "yacute" => 600_f32,
    "scommaaccent" => 600_f32,
    "ecircumflex" => 600_f32,
    "Uring" => 600_f32,
    "Udieresis" => 600_f32,
    "aogonek" => 600_f32,
    "Uacute" => 600_f32,
    "uogonek" => 600_f32,
    "Edieresis" => 600_f32,
    "Dcroat" => 600_f32,
    "commaaccent" => 600_f32,
    "copyright" => 600_f32,
    "Emacron" => 600_f32,
    "ccaron" => 600_f32,
    "aring" => 600_f32,
    "Ncommaaccent" => 600_f32,
    "lacute" => 600_f32,
    "agrave" => 600_f32,
    "Tcommaaccent" => 600_f32,
    "Cacute" => 600_f32,
    "atilde" => 600_f32,
    "Edotaccent" => 600_f32,
    "scaron" => 600_f32,
    "scedilla" => 600_f32,
    "iacute" => 600_f32,
    "lozenge" => 600_f32,
    "Rcaron" => 600_f32,
    "Gcommaaccent" => 600_f32,
    "ucircumflex" => 600_f32,
    "acircumflex" => 600_f32,
    "Amacron" => 600_f32,
    "rcaron" => 600_f32,
    "ccedilla" => 600_f32,
    "Zdotaccent" => 600_f32,
    "Thorn" => 600_f32,
    "Omacron" => 600_f32,
    "Racute" => 600_f32,
    "Sacute" => 600_f32,
    "dcaron" => 600_f32,
    "Umacron" => 600_f32,
    "uring" => 600_f32,
    "threesuperior" => 600_f32,
    "Ograve" => 600_f32,
    "Agrave" => 600_f32,
    "Abreve" => 600_f32,
    "multiply" => 600_f32,
    "uacute" => 600_f32,
    "Tcaron" => 600_f32,
    "partialdiff" => 600_f32,
    "ydieresis" => 600_f32,
    "Nacute" => 600_f32,
    "icircumflex" => 600_f32,
    "Ecircumflex" => 600_f32,
    "adieresis" => 600_f32,
    "edieresis" => 600_f32,
    "cacute" => 600_f32,
    "nacute" => 600_f32,
    "umacron" => 600_f32,
    "Ncaron" => 600_f32,
    "Iacute" => 600_f32,
    "plusminus" => 600_f32,
    "brokenbar" => 600_f32,
    "registered" => 600_f32,
    "Gbreve" => 600_f32,
    "Idotaccent" => 600_f32,
    "summation" => 600_f32,
    "Egrave" => 600_f32,
    "racute" => 600_f32,
    "omacron" => 600_f32,
    "Zacute" => 600_f32,
    "Zcaron" => 600_f32,
    "greaterequal" => 600_f32,
    "Eth" => 600_f32,
    "Ccedilla" => 600_f32,
    "lcommaaccent" => 600_f32,
    "tcaron" => 600_f32,
    "eogonek" => 600_f32,
    "Uogonek" => 600_f32,
    "Aacute" => 600_f32,
    "Adieresis" => 600_f32,
    "egrave" => 600_f32,
    "zacute" => 600_f32,
    "iogonek" => 600_f32,
    "Oacute" => 600_f32,
    "oacute" => 600_f32,
    "amacron" => 600_f32,
    "sacute" => 600_f32,
    "idieresis" => 600_f32,
    "Ocircumflex" => 600_f32,
    "Ugrave" => 600_f32,
    "Delta" => 600_f32,
    "thorn" => 600_f32,
    "twosuperior" => 600_f32,
    "Odieresis" => 600_f32,
    "mu" => 600_f32,
    "igrave" => 600_f32,
    "ohungarumlaut" => 600_f32,
    "Eogonek" => 600_f32,
    "dcroat" => 600_f32,
    "threequarters" => 600_f32,
    "Scedilla" => 600_f32,
    "lcaron" => 600_f32,
    "Kcommaaccent" => 600_f32,
    "Lacute" => 600_f32,
    "trademark" => 600_f32,
    "edotaccent" => 600_f32,
    "Igrave" => 600_f32,
    "Imacron" => 600_f32,
    "Lcaron" => 600_f32,
    "onehalf" => 600_f32,
    "lessequal" => 600_f32,
    "ocircumflex" => 600_f32,
    "ntilde" => 600_f32,
    "Uhungarumlaut" => 600_f32,
    "Eacute" => 600_f32,
    "emacron" => 600_f32,
    "gbreve" => 600_f32,
    "onequarter" => 600_f32,
    "Scaron" => 600_f32,
    "Scommaaccent" => 600_f32,
    "Ohungarumlaut" => 600_f32,
    "degree" => 600_f32,
    "ograve" => 600_f32,
    "Ccaron" => 600_f32,
    "ugrave" => 600_f32,
    "radical" => 600_f32,
    "Dcaron" => 600_f32,
    "rcommaaccent" => 600_f32,
    "Ntilde" => 600_f32,
    "otilde" => 600_f32,
    "Rcommaaccent" => 600_f32,
    "Lcommaaccent" => 600_f32,
    "Atilde" => 600_f32,
    "Aogonek" => 600_f32,
    "Aring" => 600_f32,
    "Otilde" => 600_f32,
    "zdotaccent" => 600_f32,
    "Ecaron" => 600_f32,
    "Iogonek" => 600_f32,
    "kcommaaccent" => 600_f32,
    "minus" => 600_f32,
    "Icircumflex" => 600_f32,
    "ncaron" => 600_f32,
    "tcommaaccent" => 600_f32,
    "logicalnot" => 600_f32,
    "odieresis" => 600_f32,
    "udieresis" => 600_f32,
    "notequal" => 600_f32,
    "gcommaaccent" => 600_f32,
    "eth" => 600_f32,
    "zcaron" => 600_f32,
    "ncommaaccent" => 600_f32,
    "onesuperior" => 600_f32,
    "imacron" => 600_f32,
    "Euro" => 600_f32,
};

pub(crate) static COURIER_BOLD: phf::Map<&'static str, f32> = phf_map! {
    "space" => 600_f32,
    "exclam" => 600_f32,
    "quotedbl" => 600_f32,
    "numbersign" => 600_f32,
    "dollar" => 600_f32,
    "percent" => 600_f32,
    "ampersand" => 600_f32,
    "quoteright" => 600_f32,
    "parenleft" => 600_f32,
    "parenright" => 600_f32,
    "asterisk" => 600_f32,
    "plus" => 600_f32,
    "comma" => 600_f32,
    "hyphen" => 600_f32,
    "period" => 600_f32,
    "slash" => 600_f32,
    "zero" => 600_f32,
    "one" => 600_f32,
    "two" => 600_f32,
    "three" => 600_f32,
    "four" => 600_f32,
    "five" => 600_f32,
    "six" => 600_f32,
    "seven" => 600_f32,
    "eight" => 600_f32,
    "nine" => 600_f32,
    "colon" => 600_f32,
    "semicolon" => 600_f32,
    "less" => 600_f32,
    "equal" => 600_f32,
    "greater" => 600_f32,
    "question" => 600_f32,
    "at" => 600_f32,
    "A" => 600_f32,
    "B" => 600_f32,
    "C" => 600_f32,
    "D" => 600_f32,
    "E" => 600_f32,
    "F" => 600_f32,
    "G" => 600_f32,
    "H" => 600_f32,
    "I" => 600_f32,
    "J" => 600_f32,
    "K" => 600_f32,
    "L" => 600_f32,
    "M" => 600_f32,
    "N" => 600_f32,
    "O" => 600_f32,
    "P" => 600_f32,
    "Q" => 600_f32,
    "R" => 600_f32,
    "S" => 600_f32,
    "T" => 600_f32,
    "U" => 600_f32,
    "V" => 600_f32,
    "W" => 600_f32,
    "X" => 600_f32,
    "Y" => 600_f32,
    "Z" => 600_f32,
    "bracketleft" => 600_f32,
    "backslash" => 600_f32,
    "bracketright" => 600_f32,
    "asciicircum" => 600_f32,
    "underscore" => 600_f32,
    "quoteleft" => 600_f32,
    "a" => 600_f32,
    "b" => 600_f32,
    "c" => 600_f32,
    "d" => 600_f32,
    "e" => 600_f32,
    "f" => 600_f32,
    "g" => 600_f32,
    "h" => 600_f32,
    "i" => 600_f32,
    "j" => 600_f32,
    "k" => 600_f32,
    "l" => 600_f32,
    "m" => 600_f32,
    "n" => 600_f32,
    "o" => 600_f32,
    "p" => 600_f32,
    "q" => 600_f32,
    "r" => 600_f32,
    "s" => 600_f32,
    "t" => 600_f32,
    "u" => 600_f32,
    "v" => 600_f32,
    "w" => 600_f32,
    "x" => 600_f32,
    "y" => 600_f32,
    "z" => 600_f32,
    "braceleft" => 600_f32,
    "bar" => 600_f32,
    "braceright" => 600_f32,
    "asciitilde" => 600_f32,
    "exclamdown" => 600_f32,
    "cent" => 600_f32,
    "sterling" => 600_f32,
    "fraction" => 600_f32,
    "yen" => 600_f32,
    "florin" => 600_f32,
    "section" => 600_f32,
    "currency" => 600_f32,
    "quotesingle" => 600_f32,
    "quotedblleft" => 600_f32,
    "guillemotleft" => 600_f32,
    "guilsinglleft" => 600_f32,
    "guilsinglright" => 600_f32,
    "fi" => 600_f32,
    "fl" => 600_f32,
    "endash" => 600_f32,
    "dagger" => 600_f32,
    "daggerdbl" => 600_f32,
    "periodcentered" => 600_f32,
    "paragraph" => 600_f32,
    "bullet" => 600_f32,
    "quotesinglbase" => 600_f32,
    "quotedblbase" => 600_f32,
    "quotedblright" => 600_f32,
    "guillemotright" => 600_f32,
    "ellipsis" => 600_f32,
    "perthousand" => 600_f32,
    "questiondown" => 600_f32,
    "grave" => 600_f32,
    "acute" => 600_f32,
    "circumflex" => 600_f32,
    "tilde" => 600_f32,
    "macron" => 600_f32,
    "breve" => 600_f32,
    "dotaccent" => 600_f32,
    "dieresis" => 600_f32,
    "ring" => 600_f32,
    "cedilla" => 600_f32,
    "hungarumlaut" => 600_f32,
    "ogonek" => 600_f32,
    "caron" => 600_f32,
    "emdash" => 600_f32,
    "AE" => 600_f32,
    "ordfeminine" => 600_f32,
    "Lslash" => 600_f32,
    "Oslash" => 600_f32,
    "OE" => 600_f32,
    "ordmasculine" => 600_f32,
    "ae" => 600_f32,
    "dotlessi" => 600_f32,
    "lslash" => 600_f32,
    "oslash" => 600_f32,
    "oe" => 600_f32,
    "germandbls" => 600_f32,
    "Idieresis" => 600_f32,
    "eacute" => 600_f32,
    "abreve" => 600_f32,
    "uhungarumlaut" => 600_f32,
    "ecaron" => 600_f32,
    "Ydieresis" => 600_f32,
    "divide" => 600_f32,
    "Yacute" => 600_f32,
    "Acircumflex" => 600_f32,
    "aacute" => 600_f32,
    "Ucircumflex" => 600_f32,
    "yacute" => 600_f32,
    "scommaaccent" => 600_f32,
    "ecircumflex" => 600_f32,
    "Uring" => 600_f32,
    "Udieresis" => 600_f32,
    "aogonek" => 600_f32,
    "Uacute" => 600_f32,
    "uogonek" => 600_f32,
    "Edieresis" => 600_f32,
    "Dcroat" => 600_f32,
    "commaaccent" => 600_f32,
    "copyright" => 600_f32,
    "Emacron" => 600_f32,
    "ccaron" => 600_f32,
    "aring" => 600_f32,
    "Ncommaaccent" => 600_f32,
    "lacute" => 600_f32,
    "agrave" => 600_f32,
    "Tcommaaccent" => 600_f32,
    "Cacute" => 600_f32,
    "atilde" => 600_f32,
    "Edotaccent" => 600_f32,
    "scaron" => 600_f32,
    "scedilla" => 600_f32,
    "iacute" => 600_f32,
    "lozenge" => 600_f32,
    "Rcaron" => 600_f32,
    "Gcommaaccent" => 600_f32,
    "ucircumflex" => 600_f32,
    "acircumflex" => 600_f32,
    "Amacron" => 600_f32,
    "rcaron" => 600_f32,
    "ccedilla" => 600_f32,
    "Zdotaccent" => 600_f32,
    "Thorn" => 600_f32,
    "Omacron" => 600_f32,
    "Racute" => 600_f32,
    "Sacute" => 600_f32,
    "dcaron" => 600_f32,
    "Umacron" => 600_f32,
    "uring" => 600_f32,
    "threesuperior" => 600_f32,
    "Ograve" => 600_f32,
    "Agrave" => 600_f32,
    "Abreve" => 600_f32,
    "multiply" => 600_f32,
    "uacute" => 600_f32,
    "Tcaron" => 600_f32,
    "partialdiff" => 600_f32,
    "ydieresis" => 600_f32,
    "Nacute" => 600_f32,
    "icircumflex" => 600_f32,
    "Ecircumflex" => 600_f32,
    "adieresis" => 600_f32,
    "edieresis" => 600_f32,
    "cacute" => 600_f32,
    "nacute" => 600_f32,
    "umacron" => 600_f32,
    "Ncaron" => 600_f32,
    "Iacute" => 600_f32,
    "plusminus" => 600_f32,
    "brokenbar" => 600_f32,
    "registered" => 600_f32,
    "Gbreve" => 600_f32,
    "Idotaccent" => 600_f32,
    "summation" => 600_f32,
    "Egrave" => 600_f32,
    "racute" => 600_f32,
    "omacron" => 600_f32,
    "Zacute" => 600_f32,
    "Zcaron" => 600_f32,
    "greaterequal" => 600_f32,
    "Eth" => 600_f32,
    "Ccedilla" => 600_f32,
    "lcommaaccent" => 600_f32,
    "tcaron" => 600_f32,
    "eogonek" => 600_f32,
    "Uogonek" => 600_f32,
    "Aacute" => 600_f32,
    "Adieresis" => 600_f32,
    "egrave" => 600_f32,
    "zacute" => 600_f32,
    "iogonek" => 600_f32,
    "Oacute" => 600_f32,
    "oacute" => 600_f32,
    "amacron" => 600_f32,
    "sacute" => 600_f32,
    "idieresis" => 600_f32,
    "Ocircumflex" => 600_f32,
    "Ugrave" => 600_f32,
    "Delta" => 600_f32,
    "thorn" => 600_f32,
    "twosuperior" => 600_f32,
    "Odieresis" => 600_f32,
    "mu" => 600_f32,
    "igrave" => 600_f32,
    "ohungarumlaut" => 600_f32,
    "Eogonek" => 600_f32,
    "dcroat" => 600_f32,
    "threequarters" => 600_f32,
    "Scedilla" => 600_f32,
    "lcaron" => 600_f32,
    "Kcommaaccent" => 600_f32,
    "Lacute" => 600_f32,
    "trademark" => 600_f32,
    "edotaccent" => 600_f32,
    "Igrave" => 600_f32,
    "Imacron" => 600_f32,
    "Lcaron" => 600_f32,
    "onehalf" => 600_f32,
    "lessequal" => 600_f32,
    "ocircumflex" => 600_f32,
    "ntilde" => 600_f32,
    "Uhungarumlaut" => 600_f32,
    "Eacute" => 600_f32,
    "emacron" => 600_f32,
    "gbreve" => 600_f32,
    "onequarter" => 600_f32,
    "Scaron" => 600_f32,
    "Scommaaccent" => 600_f32,
    "Ohungarumlaut" => 600_f32,
    "degree" => 600_f32,
    "ograve" => 600_f32,
    "Ccaron" => 600_f32,
    "ugrave" => 600_f32,
    "radical" => 600_f32,
    "Dcaron" => 600_f32,
    "rcommaaccent" => 600_f32,
    "Ntilde" => 600_f32,
    "otilde" => 600_f32,
    "Rcommaaccent" => 600_f32,
    "Lcommaaccent" => 600_f32,
    "Atilde" => 600_f32,
    "Aogonek" => 600_f32,
    "Aring" => 600_f32,
    "Otilde" => 600_f32,
    "zdotaccent" => 600_f32,
    "Ecaron" => 600_f32,
    "Iogonek" => 600_f32,
    "kcommaaccent" => 600_f32,
    "minus" => 600_f32,
    "Icircumflex" => 600_f32,
    "ncaron" => 600_f32,
    "tcommaaccent" => 600_f32,
    "logicalnot" => 600_f32,
    "odieresis" => 600_f32,
    "udieresis" => 600_f32,
    "notequal" => 600_f32,
    "gcommaaccent" => 600_f32,
    "eth" => 600_f32,
    "zcaron" => 600_f32,
    "ncommaaccent" => 600_f32,
    "onesuperior" => 600_f32,
    "imacron" => 600_f32,
    "Euro" => 600_f32,
};

pub(crate) static COURIER_BOLD_OBLIQUE: phf::Map<&'static str, f32> = phf_map! {
    "space" => 600_f32,
    "exclam" => 600_f32,
    "quotedbl" => 600_f32,
    "numbersign" => 600_f32,
    "dollar" => 600_f32,
    "percent" => 600_f32,
    "ampersand" => 600_f32,
    "quoteright" => 600_f32,
    "parenleft" => 600_f32,
    "parenright" => 600_f32,
    "asterisk" => 600_f32,
    "plus" => 600_f32,
    "comma" => 600_f32,
    "hyphen" => 600_f32,
    "period" => 600_f32,
    "slash" => 600_f32,
    "zero" => 600_f32,
    "one" => 600_f32,
    "two" => 600_f32,
    "three" => 600_f32,
    "four" => 600_f32,
    "five" => 600_f32,
    "six" => 600_f32,
    "seven" => 600_f32,
    "eight" => 600_f32,
    "nine" => 600_f32,
    "colon" => 600_f32,
    "semicolon" => 600_f32,
    "less" => 600_f32,
    "equal" => 600_f32,
    "greater" => 600_f32,
    "question" => 600_f32,
    "at" => 600_f32,
    "A" => 600_f32,
    "B" => 600_f32,
    "C" => 600_f32,
    "D" => 600_f32,
    "E" => 600_f32,
    "F" => 600_f32,
    "G" => 600_f32,
    "H" => 600_f32,
    "I" => 600_f32,
    "J" => 600_f32,
    "K" => 600_f32,
    "L" => 600_f32,
    "M" => 600_f32,
    "N" => 600_f32,
    "O" => 600_f32,
    "P" => 600_f32,
    "Q" => 600_f32,
    "R" => 600_f32,
    "S" => 600_f32,
    "T" => 600_f32,
    "U" => 600_f32,
    "V" => 600_f32,
    "W" => 600_f32,
    "X" => 600_f32,
    "Y" => 600_f32,
    "Z" => 600_f32,
    "bracketleft" => 600_f32,
    "backslash" => 600_f32,
    "bracketright" => 600_f32,
    "asciicircum" => 600_f32,
    "underscore" => 600_f32,
    "quoteleft" => 600_f32,
    "a" => 600_f32,
    "b" => 600_f32,
    "c" => 600_f32,
    "d" => 600_f32,
    "e" => 600_f32,
    "f" => 600_f32,
    "g" => 600_f32,
    "h" => 600_f32,
    "i" => 600_f32,
    "j" => 600_f32,
    "k" => 600_f32,
    "l" => 600_f32,
    "m" => 600_f32,
    "n" => 600_f32,
    "o" => 600_f32,
    "p" => 600_f32,
    "q" => 600_f32,
    "r" => 600_f32,
    "s" => 600_f32,
    "t" => 600_f32,
    "u" => 600_f32,
    "v" => 600_f32,
    "w" => 600_f32,
    "x" => 600_f32,
    "y" => 600_f32,
    "z" => 600_f32,
    "braceleft" => 600_f32,
    "bar" => 600_f32,
    "braceright" => 600_f32,
    "asciitilde" => 600_f32,
    "exclamdown" => 600_f32,
    "cent" => 600_f32,
    "sterling" => 600_f32,
    "fraction" => 600_f32,
    "yen" => 600_f32,
    "florin" => 600_f32,
    "section" => 600_f32,
    "currency" => 600_f32,
    "quotesingle" => 600_f32,
    "quotedblleft" => 600_f32,
    "guillemotleft" => 600_f32,
    "guilsinglleft" => 600_f32,
    "guilsinglright" => 600_f32,
    "fi" => 600_f32,
    "fl" => 600_f32,
    "endash" => 600_f32,
    "dagger" => 600_f32,
    "daggerdbl" => 600_f32,
    "periodcentered" => 600_f32,
    "paragraph" => 600_f32,
    "bullet" => 600_f32,
    "quotesinglbase" => 600_f32,
    "quotedblbase" => 600_f32,
    "quotedblright" => 600_f32,
    "guillemotright" => 600_f32,
    "ellipsis" => 600_f32,
    "perthousand" => 600_f32,
    "questiondown" => 600_f32,
    "grave" => 600_f32,
    "acute" => 600_f32,
    "circumflex" => 600_f32,
    "tilde" => 600_f32,
    "macron" => 600_f32,
    "breve" => 600_f32,
    "dotaccent" => 600_f32,
    "dieresis" => 600_f32,
    "ring" => 600_f32,
    "cedilla" => 600_f32,
    "hungarumlaut" => 600_f32,
    "ogonek" => 600_f32,
    "caron" => 600_f32,
    "emdash" => 600_f32,
    "AE" => 600_f32,
    "ordfeminine" => 600_f32,
    "Lslash" => 600_f32,
    "Oslash" => 600_f32,
    "OE" => 600_f32,
    "ordmasculine" => 600_f32,
    "ae" => 600_f32,
    "dotlessi" => 600_f32,
    "lslash" => 600_f32,
    "oslash" => 600_f32,
    "oe" => 600_f32,
    "germandbls" => 600_f32,
    "Idieresis" => 600_f32,
    "eacute" => 600_f32,
    "abreve" => 600_f32,
    "uhungarumlaut" => 600_f32,
    "ecaron" => 600_f32,
    "Ydieresis" => 600_f32,
    "divide" => 600_f32,
    "Yacute" => 600_f32,
    "Acircumflex" => 600_f32,
    "aacute" => 600_f32,
    "Ucircumflex" => 600_f32,
    "yacute" => 600_f32,
    "scommaaccent" => 600_f32,
    "ecircumflex" => 600_f32,
    "Uring" => 600_f32,
    "Udieresis" => 600_f32,
    "aogonek" => 600_f32,
    "Uacute" => 600_f32,
    "uogonek" => 600_f32,
    "Edieresis" => 600_f32,
    "Dcroat" => 600_f32,
    "commaaccent" => 600_f32,
    "copyright" => 600_f32,
    "Emacron" => 600_f32,
    "ccaron" => 600_f32,
    "aring" => 600_f32,
    "Ncommaaccent" => 600_f32,
    "lacute" => 600_f32,
    "agrave" => 600_f32,
    "Tcommaaccent" => 600_f32,
    "Cacute" => 600_f32,
    "atilde" => 600_f32,
    "Edotaccent" => 600_f32,
    "scaron" => 600_f32,
    "scedilla" => 600_f32,
    "iacute" => 600_f32,
    "lozenge" => 600_f32,
    "Rcaron" => 600_f32,
    "Gcommaaccent" => 600_f32,
    "ucircumflex" => 600_f32,
    "acircumflex" => 600_f32,
    "Amacron" => 600_f32,
    "rcaron" => 600_f32,
    "ccedilla" => 600_f32,
    "Zdotaccent" => 600_f32,
    "Thorn" => 600_f32,
    "Omacron" => 600_f32,
    "Racute" => 600_f32,
    "Sacute" => 600_f32,
    "dcaron" => 600_f32,
    "Umacron" => 600_f32,
    "uring" => 600_f32,
    "threesuperior" => 600_f32,
    "Ograve" => 600_f32,
    "Agrave" => 600_f32,
    "Abreve" => 600_f32,
    "multiply" => 600_f32,
    "uacute" => 600_f32,
    "Tcaron" => 600_f32,
    "partialdiff" => 600_f32,
    "ydieresis" => 600_f32,
    "Nacute" => 600_f32,
    "icircumflex" => 600_f32,
    "Ecircumflex" => 600_f32,
    "adieresis" => 600_f32,
    "edieresis" => 600_f32,
    "cacute" => 600_f32,
    "nacute" => 600_f32,
    "umacron" => 600_f32,
    "Ncaron" => 600_f32,
    "Iacute" => 600_f32,
    "plusminus" => 600_f32,
    "brokenbar" => 600_f32,
    "registered" => 600_f32,
    "Gbreve" => 600_f32,
    "Idotaccent" => 600_f32,
    "summation" => 600_f32,
    "Egrave" => 600_f32,
    "racute" => 600_f32,
    "omacron" => 600_f32,
    "Zacute" => 600_f32,
    "Zcaron" => 600_f32,
    "greaterequal" => 600_f32,
    "Eth" => 600_f32,
    "Ccedilla" => 600_f32,
    "lcommaaccent" => 600_f32,
    "tcaron" => 600_f32,
    "eogonek" => 600_f32,
    "Uogonek" => 600_f32,
    "Aacute" => 600_f32,
    "Adieresis" => 600_f32,
    "egrave" => 600_f32,
    "zacute" => 600_f32,
    "iogonek" => 600_f32,
    "Oacute" => 600_f32,
    "oacute" => 600_f32,
    "amacron" => 600_f32,
    "sacute" => 600_f32,
    "idieresis" => 600_f32,
    "Ocircumflex" => 600_f32,
    "Ugrave" => 600_f32,
    "Delta" => 600_f32,
    "thorn" => 600_f32,
    "twosuperior" => 600_f32,
    "Odieresis" => 600_f32,
    "mu" => 600_f32,
    "igrave" => 600_f32,
    "ohungarumlaut" => 600_f32,
    "Eogonek" => 600_f32,
    "dcroat" => 600_f32,
    "threequarters" => 600_f32,
    "Scedilla" => 600_f32,
    "lcaron" => 600_f32,
    "Kcommaaccent" => 600_f32,
    "Lacute" => 600_f32,
    "trademark" => 600_f32,
    "edotaccent" => 600_f32,
    "Igrave" => 600_f32,
    "Imacron" => 600_f32,
    "Lcaron" => 600_f32,
    "onehalf" => 600_f32,
    "lessequal" => 600_f32,
    "ocircumflex" => 600_f32,
    "ntilde" => 600_f32,
    "Uhungarumlaut" => 600_f32,
    "Eacute" => 600_f32,
    "emacron" => 600_f32,
    "gbreve" => 600_f32,
    "onequarter" => 600_f32,
    "Scaron" => 600_f32,
    "Scommaaccent" => 600_f32,
    "Ohungarumlaut" => 600_f32,
    "degree" => 600_f32,
    "ograve" => 600_f32,
    "Ccaron" => 600_f32,
    "ugrave" => 600_f32,
    "radical" => 600_f32,
    "Dcaron" => 600_f32,
    "rcommaaccent" => 600_f32,
    "Ntilde" => 600_f32,
    "otilde" => 600_f32,
    "Rcommaaccent" => 600_f32,
    "Lcommaaccent" => 600_f32,
    "Atilde" => 600_f32,
    "Aogonek" => 600_f32,
    "Aring" => 600_f32,
    "Otilde" => 600_f32,
    "zdotaccent" => 600_f32,
    "Ecaron" => 600_f32,
    "Iogonek" => 600_f32,
    "kcommaaccent" => 600_f32,
    "minus" => 600_f32,
    "Icircumflex" => 600_f32,
    "ncaron" => 600_f32,
    "tcommaaccent" => 600_f32,
    "logicalnot" => 600_f32,
    "odieresis" => 600_f32,
    "udieresis" => 600_f32,
    "notequal" => 600_f32,
    "gcommaaccent" => 600_f32,
    "eth" => 600_f32,
    "zcaron" => 600_f32,
    "ncommaaccent" => 600_f32,
    "onesuperior" => 600_f32,
    "imacron" => 600_f32,
    "Euro" => 600_f32,
};

pub(crate) static COURIER_OBLIQUE: phf::Map<&'static str, f32> = phf_map! {
    "space" => 600_f32,
    "exclam" => 600_f32,
    "quotedbl" => 600_f32,
    "numbersign" => 600_f32,
    "dollar" => 600_f32,
    "percent" => 600_f32,
    "ampersand" => 600_f32,
    "quoteright" => 600_f32,
    "parenleft" => 600_f32,
    "parenright" => 600_f32,
    "asterisk" => 600_f32,
    "plus" => 600_f32,
    "comma" => 600_f32,
    "hyphen" => 600_f32,
    "period" => 600_f32,
    "slash" => 600_f32,
    "zero" => 600_f32,
    "one" => 600_f32,
    "two" => 600_f32,
    "three" => 600_f32,
    "four" => 600_f32,
    "five" => 600_f32,
    "six" => 600_f32,
    "seven" => 600_f32,
    "eight" => 600_f32,
    "nine" => 600_f32,
    "colon" => 600_f32,
    "semicolon" => 600_f32,
    "less" => 600_f32,
    "equal" => 600_f32,
    "greater" => 600_f32,
    "question" => 600_f32,
    "at" => 600_f32,
    "A" => 600_f32,
    "B" => 600_f32,
    "C" => 600_f32,
    "D" => 600_f32,
    "E" => 600_f32,
    "F" => 600_f32,
    "G" => 600_f32,
    "H" => 600_f32,
    "I" => 600_f32,
    "J" => 600_f32,
    "K" => 600_f32,
    "L" => 600_f32,
    "M" => 600_f32,
    "N" => 600_f32,
    "O" => 600_f32,
    "P" => 600_f32,
    "Q" => 600_f32,
    "R" => 600_f32,
    "S" => 600_f32,
    "T" => 600_f32,
    "U" => 600_f32,
    "V" => 600_f32,
    "W" => 600_f32,
    "X" => 600_f32,
    "Y" => 600_f32,
    "Z" => 600_f32,
    "bracketleft" => 600_f32,
    "backslash" => 600_f32,
    "bracketright" => 600_f32,
    "asciicircum" => 600_f32,
    "underscore" => 600_f32,
    "quoteleft" => 600_f32,
    "a" => 600_f32,
    "b" => 600_f32,
    "c" => 600_f32,
    "d" => 600_f32,
    "e" => 600_f32,
    "f" => 600_f32,
    "g" => 600_f32,
    "h" => 600_f32,
    "i" => 600_f32,
    "j" => 600_f32,
    "k" => 600_f32,
    "l" => 600_f32,
    "m" => 600_f32,
    "n" => 600_f32,
    "o" => 600_f32,
    "p" => 600_f32,
    "q" => 600_f32,
    "r" => 600_f32,
    "s" => 600_f32,
    "t" => 600_f32,
    "u" => 600_f32,
    "v" => 600_f32,
    "w" => 600_f32,
    "x" => 600_f32,
    "y" => 600_f32,
    "z" => 600_f32,
    "braceleft" => 600_f32,
    "bar" => 600_f32,
    "braceright" => 600_f32,
    "asciitilde" => 600_f32,
    "exclamdown" => 600_f32,
    "cent" => 600_f32,
    "sterling" => 600_f32,
    "fraction" => 600_f32,
    "yen" => 600_f32,
    "florin" => 600_f32,
    "section" => 600_f32,
    "currency" => 600_f32,
    "quotesingle" => 600_f32,
    "quotedblleft" => 600_f32,
    "guillemotleft" => 600_f32,
    "guilsinglleft" => 600_f32,
    "guilsinglright" => 600_f32,
    "fi" => 600_f32,
    "fl" => 600_f32,
    "endash" => 600_f32,
    "dagger" => 600_f32,
    "daggerdbl" => 600_f32,
    "periodcentered" => 600_f32,
    "paragraph" => 600_f32,
    "bullet" => 600_f32,
    "quotesinglbase" => 600_f32,
    "quotedblbase" => 600_f32,
    "quotedblright" => 600_f32,
    "guillemotright" => 600_f32,
    "ellipsis" => 600_f32,
    "perthousand" => 600_f32,
    "questiondown" => 600_f32,
    "grave" => 600_f32,
    "acute" => 600_f32,
    "circumflex" => 600_f32,
    "tilde" => 600_f32,
    "macron" => 600_f32,
    "breve" => 600_f32,
    "dotaccent" => 600_f32,
    "dieresis" => 600_f32,
    "ring" => 600_f32,
    "cedilla" => 600_f32,
    "hungarumlaut" => 600_f32,
    "ogonek" => 600_f32,
    "caron" => 600_f32,
    "emdash" => 600_f32,
    "AE" => 600_f32,
    "ordfeminine" => 600_f32,
    "Lslash" => 600_f32,
    "Oslash" => 600_f32,
    "OE" => 600_f32,
    "ordmasculine" => 600_f32,
    "ae" => 600_f32,
    "dotlessi" => 600_f32,
    "lslash" => 600_f32,
    "oslash" => 600_f32,
    "oe" => 600_f32,
    "germandbls" => 600_f32,
    "Idieresis" => 600_f32,
    "eacute" => 600_f32,
    "abreve" => 600_f32,
    "uhungarumlaut" => 600_f32,
    "ecaron" => 600_f32,
    "Ydieresis" => 600_f32,
    "divide" => 600_f32,
    "Yacute" => 600_f32,
    "Acircumflex" => 600_f32,
    "aacute" => 600_f32,
    "Ucircumflex" => 600_f32,
    "yacute" => 600_f32,
    "scommaaccent" => 600_f32,
    "ecircumflex" => 600_f32,
    "Uring" => 600_f32,
    "Udieresis" => 600_f32,
    "aogonek" => 600_f32,
    "Uacute" => 600_f32,
    "uogonek" => 600_f32,
    "Edieresis" => 600_f32,
    "Dcroat" => 600_f32,
    "commaaccent" => 600_f32,
    "copyright" => 600_f32,
    "Emacron" => 600_f32,
    "ccaron" => 600_f32,
    "aring" => 600_f32,
    "Ncommaaccent" => 600_f32,
    "lacute" => 600_f32,
    "agrave" => 600_f32,
    "Tcommaaccent" => 600_f32,
    "Cacute" => 600_f32,
    "atilde" => 600_f32,
    "Edotaccent" => 600_f32,
    "scaron" => 600_f32,
    "scedilla" => 600_f32,
    "iacute" => 600_f32,
    "lozenge" => 600_f32,
    "Rcaron" => 600_f32,
    "Gcommaaccent" => 600_f32,
    "ucircumflex" => 600_f32,
    "acircumflex" => 600_f32,
    "Amacron" => 600_f32,
    "rcaron" => 600_f32,
    "ccedilla" => 600_f32,
    "Zdotaccent" => 600_f32,
    "Thorn" => 600_f32,
    "Omacron" => 600_f32,
    "Racute" => 600_f32,
    "Sacute" => 600_f32,
    "dcaron" => 600_f32,
    "Umacron" => 600_f32,
    "uring" => 600_f32,
    "threesuperior" => 600_f32,
    "Ograve" => 600_f32,
    "Agrave" => 600_f32,
    "Abreve" => 600_f32,
    "multiply" => 600_f32,
    "uacute" => 600_f32,
    "Tcaron" => 600_f32,
    "partialdiff" => 600_f32,
    "ydieresis" => 600_f32,
    "Nacute" => 600_f32,
    "icircumflex" => 600_f32,
    "Ecircumflex" => 600_f32,
    "adieresis" => 600_f32,
    "edieresis" => 600_f32,
    "cacute" => 600_f32,
    "nacute" => 600_f32,
    "umacron" => 600_f32,
    "Ncaron" => 600_f32,
    "Iacute" => 600_f32,
    "plusminus" => 600_f32,
    "brokenbar" => 600_f32,
    "registered" => 600_f32,
    "Gbreve" => 600_f32,
    "Idotaccent" => 600_f32,
    "summation" => 600_f32,
    "Egrave" => 600_f32,
    "racute" => 600_f32,
    "omacron" => 600_f32,
    "Zacute" => 600_f32,
    "Zcaron" => 600_f32,
    "greaterequal" => 600_f32,
    "Eth" => 600_f32,
    "Ccedilla" => 600_f32,
    "lcommaaccent" => 600_f32,
    "tcaron" => 600_f32,
    "eogonek" => 600_f32,
    "Uogonek" => 600_f32,
    "Aacute" => 600_f32,
    "Adieresis" => 600_f32,
    "egrave" => 600_f32,
    "zacute" => 600_f32,
    "iogonek" => 600_f32,
    "Oacute" => 600_f32,
    "oacute" => 600_f32,
    "amacron" => 600_f32,
    "sacute" => 600_f32,
    "idieresis" => 600_f32,
    "Ocircumflex" => 600_f32,
    "Ugrave" => 600_f32,
    "Delta" => 600_f32,
    "thorn" => 600_f32,
    "twosuperior" => 600_f32,
    "Odieresis" => 600_f32,
    "mu" => 600_f32,
    "igrave" => 600_f32,
    "ohungarumlaut" => 600_f32,
    "Eogonek" => 600_f32,
    "dcroat" => 600_f32,
    "threequarters" => 600_f32,
    "Scedilla" => 600_f32,
    "lcaron" => 600_f32,
    "Kcommaaccent" => 600_f32,
    "Lacute" => 600_f32,
    "trademark" => 600_f32,
    "edotaccent" => 600_f32,
    "Igrave" => 600_f32,
    "Imacron" => 600_f32,
    "Lcaron" => 600_f32,
    "onehalf" => 600_f32,
    "lessequal" => 600_f32,
    "ocircumflex" => 600_f32,
    "ntilde" => 600_f32,
    "Uhungarumlaut" => 600_f32,
    "Eacute" => 600_f32,
    "emacron" => 600_f32,
    "gbreve" => 600_f32,
    "onequarter" => 600_f32,
    "Scaron" => 600_f32,
    "Scommaaccent" => 600_f32,
    "Ohungarumlaut" => 600_f32,
    "degree" => 600_f32,
    "ograve" => 600_f32,
    "Ccaron" => 600_f32,
    "ugrave" => 600_f32,
    "radical" => 600_f32,
    "Dcaron" => 600_f32,
    "rcommaaccent" => 600_f32,
    "Ntilde" => 600_f32,
    "otilde" => 600_f32,
    "Rcommaaccent" => 600_f32,
    "Lcommaaccent" => 600_f32,
    "Atilde" => 600_f32,
    "Aogonek" => 600_f32,
    "Aring" => 600_f32,
    "Otilde" => 600_f32,
    "zdotaccent" => 600_f32,
    "Ecaron" => 600_f32,
    "Iogonek" => 600_f32,
    "kcommaaccent" => 600_f32,
    "minus" => 600_f32,
    "Icircumflex" => 600_f32,
    "ncaron" => 600_f32,
    "tcommaaccent" => 600_f32,
    "logicalnot" => 600_f32,
    "odieresis" => 600_f32,
    "udieresis" => 600_f32,
    "notequal" => 600_f32,
    "gcommaaccent" => 600_f32,
    "eth" => 600_f32,
    "zcaron" => 600_f32,
    "ncommaaccent" => 600_f32,
    "onesuperior" => 600_f32,
    "imacron" => 600_f32,
    "Euro" => 600_f32,
};

pub(crate) static HELVETICA: phf::Map<&'static str, f32> = phf_map! {
    "space" => 278_f32,
    "exclam" => 278_f32,
    "quotedbl" => 355_f32,
    "numbersign" => 556_f32,
    "dollar" => 556_f32,
    "percent" => 889_f32,
    "ampersand" => 667_f32,
    "quoteright" => 222_f32,
    "parenleft" => 333_f32,
    "parenright" => 333_f32,
    "asterisk" => 389_f32,
    "plus" => 584_f32,
    "comma" => 278_f32,
    "hyphen" => 333_f32,
    "period" => 278_f32,
    "slash" => 278_f32,
    "zero" => 556_f32,
    "one" => 556_f32,
    "two" => 556_f32,
    "three" => 556_f32,
    "four" => 556_f32,
    "five" => 556_f32,
    "six" => 556_f32,
    "seven" => 556_f32,
    "eight" => 556_f32,
    "nine" => 556_f32,
    "colon" => 278_f32,
    "semicolon" => 278_f32,
    "less" => 584_f32,
    "equal" => 584_f32,
    "greater" => 584_f32,
    "question" => 556_f32,
    "at" => 1015_f32,
    "A" => 667_f32,
    "B" => 667_f32,
    "C" => 722_f32,
    "D" => 722_f32,
    "E" => 667_f32,
    "F" => 611_f32,
    "G" => 778_f32,
    "H" => 722_f32,
    "I" => 278_f32,
    "J" => 500_f32,
    "K" => 667_f32,
    "L" => 556_f32,
    "M" => 833_f32,
    "N" => 722_f32,
    "O" => 778_f32,
    "P" => 667_f32,
    "Q" => 778_f32,
    "R" => 722_f32,
    "S" => 667_f32,
    "T" => 611_f32,
    "U" => 722_f32,
    "V" => 667_f32,
    "W" => 944_f32,
    "X" => 667_f32,
    "Y" => 667_f32,
    "Z" => 611_f32,
    "bracketleft" => 278_f32,
    "backslash" => 278_f32,
    "bracketright" => 278_f32,
    "asciicircum" => 469_f32,
    "underscore" => 556_f32,
    "quoteleft" => 222_f32,
    "a" => 556_f32,
    "b" => 556_f32,
    "c" => 500_f32,
    "d" => 556_f32,
    "e" => 556_f32,
    "f" => 278_f32,
    "g" => 556_f32,
    "h" => 556_f32,
    "i" => 222_f32,
    "j" => 222_f32,
    "k" => 500_f32,
    "l" => 222_f32,
    "m" => 833_f32,
    "n" => 556_f32,
    "o" => 556_f32,
    "p" => 556_f32,
    "q" => 556_f32,
    "r" => 333_f32,
    "s" => 500_f32,
    "t" => 278_f32,
    "u" => 556_f32,
    "v" => 500_f32,
    "w" => 722_f32,
    "x" => 500_f32,
    "y" => 500_f32,
    "z" => 500_f32,
    "braceleft" => 334_f32,
    "bar" => 260_f32,
    "braceright" => 334_f32,
    "asciitilde" => 584_f32,
    "exclamdown" => 333_f32,
    "cent" => 556_f32,
    "sterling" => 556_f32,
    "fraction" => 167_f32,
    "yen" => 556_f32,
    "florin" => 556_f32,
    "section" => 556_f32,
    "currency" => 556_f32,
    "quotesingle" => 191_f32,
    "quotedblleft" => 333_f32,
    "guillemotleft" => 556_f32,
    "guilsinglleft" => 333_f32,
    "guilsinglright" => 333_f32,
    "fi" => 500_f32,
    "fl" => 500_f32,
    "endash" => 556_f32,
    "dagger" => 556_f32,
    "daggerdbl" => 556_f32,
    "periodcentered" => 278_f32,
    "paragraph" => 537_f32,
    "bullet" => 350_f32,
    "quotesinglbase" => 222_f32,
    "quotedblbase" => 333_f32,
    "quotedblright" => 333_f32,
    "guillemotright" => 556_f32,
    "ellipsis" => 1000_f32,
    "perthousand" => 1000_f32,
    "questiondown" => 611_f32,
    "grave" => 333_f32,
    "acute" => 333_f32,
    "circumflex" => 333_f32,
    "tilde" => 333_f32,
    "macron" => 333_f32,
    "breve" => 333_f32,
    "dotaccent" => 333_f32,
    "dieresis" => 333_f32,
    "ring" => 333_f32,
    "cedilla" => 333_f32,
    "hungarumlaut" => 333_f32,
    "ogonek" => 333_f32,
    "caron" => 333_f32,
    "emdash" => 1000_f32,
    "AE" => 1000_f32,
    "ordfeminine" => 370_f32,
    "Lslash" => 556_f32,
    "Oslash" => 778_f32,
    "OE" => 1000_f32,
    "ordmasculine" => 365_f32,
    "ae" => 889_f32,
    "dotlessi" => 278_f32,
    "lslash" => 222_f32,
    "oslash" => 611_f32,
    "oe" => 944_f32,
    "germandbls" => 611_f32,
    "Idieresis" => 278_f32,
    "eacute" => 556_f32,
    "abreve" => 556_f32,
    "uhungarumlaut" => 556_f32,
    "ecaron" => 556_f32,
    "Ydieresis" => 667_f32,
    "divide" => 584_f32,
    "Yacute" => 667_f32,
    "Acircumflex" => 667_f32,
    "aacute" => 556_f32,
    "Ucircumflex" => 722_f32,
    "yacute" => 500_f32,
    "scommaaccent" => 500_f32,
    "ecircumflex" => 556_f32,
    "Uring" => 722_f32,
    "Udieresis" => 722_f32,
    "aogonek" => 556_f32,
    "Uacute" => 722_f32,
    "uogonek" => 556_f32,
    "Edieresis" => 667_f32,
    "Dcroat" => 722_f32,
    "commaaccent" => 250_f32,
    "copyright" => 737_f32,
    "Emacron" => 667_f32,
    "ccaron" => 500_f32,
    "aring" => 556_f32,
    "Ncommaaccent" => 722_f32,
    "lacute" => 222_f32,
    "agrave" => 556_f32,
    "Tcommaaccent" => 611_f32,
    "Cacute" => 722_f32,
    "atilde" => 556_f32,
    "Edotaccent" => 667_f32,
    "scaron" => 500_f32,
    "scedilla" => 500_f32,
    "iacute" => 278_f32,
    "lozenge" => 471_f32,
    "Rcaron" => 722_f32,
    "Gcommaaccent" => 778_f32,
    "ucircumflex" => 556_f32,
    "acircumflex" => 556_f32,
    "Amacron" => 667_f32,
    "rcaron" => 333_f32,
    "ccedilla" => 500_f32,
    "Zdotaccent" => 611_f32,
    "Thorn" => 667_f32,
    "Omacron" => 778_f32,
    "Racute" => 722_f32,
    "Sacute" => 667_f32,
    "dcaron" => 643_f32,
    "Umacron" => 722_f32,
    "uring" => 556_f32,
    "threesuperior" => 333_f32,
    "Ograve" => 778_f32,
    "Agrave" => 667_f32,
    "Abreve" => 667_f32,
    "multiply" => 584_f32,
    "uacute" => 556_f32,
    "Tcaron" => 611_f32,
    "partialdiff" => 476_f32,
    "ydieresis" => 500_f32,
    "Nacute" => 722_f32,
    "icircumflex" => 278_f32,
    "Ecircumflex" => 667_f32,
    "adieresis" => 556_f32,
    "edieresis" => 556_f32,
    "cacute" => 500_f32,
    "nacute" => 556_f32,
    "umacron" => 556_f32,
    "Ncaron" => 722_f32,
    "Iacute" => 278_f32,
    "plusminus" => 584_f32,
    "brokenbar" => 260_f32,
    "registered" => 737_f32,
    "Gbreve" => 778_f32,
    "Idotaccent" => 278_f32,
    "summation" => 600_f32,
    "Egrave" => 667_f32,
    "racute" => 333_f32,
    "omacron" => 556_f32,
    "Zacute" => 611_f32,
    "Zcaron" => 611_f32,
    "greaterequal" => 549_f32,
    "Eth" => 722_f32,
    "Ccedilla" => 722_f32,
    "lcommaaccent" => 222_f32,
    "tcaron" => 317_f32,
    "eogonek" => 556_f32,
    "Uogonek" => 722_f32,
    "Aacute" => 667_f32,
    "Adieresis" => 667_f32,
    "egrave" => 556_f32,
    "zacute" => 500_f32,
    "iogonek" => 222_f32,
    "Oacute" => 778_f32,
    "oacute" => 556_f32,
    "amacron" => 556_f32,
    "sacute" => 500_f32,
    "idieresis" => 278_f32,
    "Ocircumflex" => 778_f32,
    "Ugrave" => 722_f32,
    "Delta" => 612_f32,
    "thorn" => 556_f32,
    "twosuperior" => 333_f32,
    "Odieresis" => 778_f32,
    "mu" => 556_f32,
    "igrave" => 278_f32,
    "ohungarumlaut" => 556_f32,
    "Eogonek" => 667_f32,
    "dcroat" => 556_f32,
    "threequarters" => 834_f32,
    "Scedilla" => 667_f32,
    "lcaron" => 299_f32,
    "Kcommaaccent" => 667_f32,
    "Lacute" => 556_f32,
    "trademark" => 1000_f32,
    "edotaccent" => 556_f32,
    "Igrave" => 278_f32,
    "Imacron" => 278_f32,
    "Lcaron" => 556_f32,
    "onehalf" => 834_f32,
    "lessequal" => 549_f32,
    "ocircumflex" => 556_f32,
    "ntilde" => 556_f32,
    "Uhungarumlaut" => 722_f32,
    "Eacute" => 667_f32,
    "emacron" => 556_f32,
    "gbreve" => 556_f32,
    "onequarter" => 834_f32,
    "Scaron" => 667_f32,
    "Scommaaccent" => 667_f32,
    "Ohungarumlaut" => 778_f32,
    "degree" => 400_f32,
    "ograve" => 556_f32,
    "Ccaron" => 722_f32,
    "ugrave" => 556_f32,
    "radical" => 453_f32,
    "Dcaron" => 722_f32,
    "rcommaaccent" => 333_f32,
    "Ntilde" => 722_f32,
    "otilde" => 556_f32,
    "Rcommaaccent" => 722_f32,
    "Lcommaaccent" => 556_f32,
    "Atilde" => 667_f32,
    "Aogonek" => 667_f32,
    "Aring" => 667_f32,
    "Otilde" => 778_f32,
    "zdotaccent" => 500_f32,
    "Ecaron" => 667_f32,
    "Iogonek" => 278_f32,
    "kcommaaccent" => 500_f32,
    "minus" => 584_f32,
    "Icircumflex" => 278_f32,
    "ncaron" => 556_f32,
    "tcommaaccent" => 278_f32,
    "logicalnot" => 584_f32,
    "odieresis" => 556_f32,
    "udieresis" => 556_f32,
    "notequal" => 549_f32,
    "gcommaaccent" => 556_f32,
    "eth" => 556_f32,
    "zcaron" => 500_f32,
    "ncommaaccent" => 556_f32,
    "onesuperior" => 333_f32,
    "imacron" => 278_f32,
    "Euro" => 556_f32,
};

pub(crate) static HELVETICA_BOLD: phf::Map<&'static str, f32> = phf_map! {
    "space" => 278_f32,
    "exclam" => 333_f32,
    "quotedbl" => 474_f32,
    "numbersign" => 556_f32,
    "dollar" => 556_f32,
    "percent" => 889_f32,
    "ampersand" => 722_f32,
    "quoteright" => 278_f32,
    "parenleft" => 333_f32,
    "parenright" => 333_f32,
    "asterisk" => 389_f32,
    "plus" => 584_f32,
    "comma" => 278_f32,
    "hyphen" => 333_f32,
    "period" => 278_f32,
    "slash" => 278_f32,
    "zero" => 556_f32,
    "one" => 556_f32,
    "two" => 556_f32,
    "three" => 556_f32,
    "four" => 556_f32,
    "five" => 556_f32,
    "six" => 556_f32,
    "seven" => 556_f32,
    "eight" => 556_f32,
    "nine" => 556_f32,
    "colon" => 333_f32,
    "semicolon" => 333_f32,
    "less" => 584_f32,
    "equal" => 584_f32,
    "greater" => 584_f32,
    "question" => 611_f32,
    "at" => 975_f32,
    "A" => 722_f32,
    "B" => 722_f32,
    "C" => 722_f32,
    "D" => 722_f32,
    "E" => 667_f32,
    "F" => 611_f32,
    "G" => 778_f32,
    "H" => 722_f32,
    "I" => 278_f32,
    "J" => 556_f32,
    "K" => 722_f32,
    "L" => 611_f32,
    "M" => 833_f32,
    "N" => 722_f32,
    "O" => 778_f32,
    "P" => 667_f32,
    "Q" => 778_f32,
    "R" => 722_f32,
    "S" => 667_f32,
    "T" => 611_f32,
    "U" => 722_f32,
    "V" => 667_f32,
    "W" => 944_f32,
    "X" => 667_f32,
    "Y" => 667_f32,
    "Z" => 611_f32,
    "bracketleft" => 333_f32,
    "backslash" => 278_f32,
    "bracketright" => 333_f32,
    "asciicircum" => 584_f32,
    "underscore" => 556_f32,
    "quoteleft" => 278_f32,
    "a" => 556_f32,
    "b" => 611_f32,
    "c" => 556_f32,
    "d" => 611_f32,
    "e" => 556_f32,
    "f" => 333_f32,
    "g" => 611_f32,
    "h" => 611_f32,
    "i" => 278_f32,
    "j" => 278_f32,
    "k" => 556_f32,
    "l" => 278_f32,
    "m" => 889_f32,
    "n" => 611_f32,
    "o" => 611_f32,
    "p" => 611_f32,
    "q" => 611_f32,
    "r" => 389_f32,
    "s" => 556_f32,
    "t" => 333_f32,
    "u" => 611_f32,
    "v" => 556_f32,
    "w" => 778_f32,
    "x" => 556_f32,
    "y" => 556_f32,
    "z" => 500_f32,
    "braceleft" => 389_f32,
    "bar" => 280_f32,
    "braceright" => 389_f32,
    "asciitilde" => 584_f32,
    "exclamdown" => 333_f32,
    "cent" => 556_f32,
    "sterling" => 556_f32,
    "fraction" => 167_f32,
    "yen" => 556_f32,
    "florin" => 556_f32,
    "section" => 556_f32,
    "currency" => 556_f32,
    "quotesingle" => 238_f32,
    "quotedblleft" => 500_f32,
    "guillemotleft" => 556_f32,
    "guilsinglleft" => 333_f32,
    "guilsinglright" => 333_f32,
    "fi" => 611_f32,
    "fl" => 611_f32,
    "endash" => 556_f32,
    "dagger" => 556_f32,
    "daggerdbl" => 556_f32,
    "periodcentered" => 278_f32,
    "paragraph" => 556_f32,
    "bullet" => 350_f32,
    "quotesinglbase" => 278_f32,
    "quotedblbase" => 500_f32,
    "quotedblright" => 500_f32,
    "guillemotright" => 556_f32,
    "ellipsis" => 1000_f32,
    "perthousand" => 1000_f32,
    "questiondown" => 611_f32,
    "grave" => 333_f32,
    "acute" => 333_f32,
    "circumflex" => 333_f32,
    "tilde" => 333_f32,
    "macron" => 333_f32,
    "breve" => 333_f32,
    "dotaccent" => 333_f32,
    "dieresis" => 333_f32,
    "ring" => 333_f32,
    "cedilla" => 333_f32,
    "hungarumlaut" => 333_f32,
    "ogonek" => 333_f32,
    "caron" => 333_f32,
    "emdash" => 1000_f32,
    "AE" => 1000_f32,
    "ordfeminine" => 370_f32,
    "Lslash" => 611_f32,
    "Oslash" => 778_f32,
    "OE" => 1000_f32,
    "ordmasculine" => 365_f32,
    "ae" => 889_f32,
    "dotlessi" => 278_f32,
    "lslash" => 278_f32,
    "oslash" => 611_f32,
    "oe" => 944_f32,
    "germandbls" => 611_f32,
    "Idieresis" => 278_f32,
    "eacute" => 556_f32,
    "abreve" => 556_f32,
    "uhungarumlaut" => 611_f32,
    "ecaron" => 556_f32,
    "Ydieresis" => 667_f32,
    "divide" => 584_f32,
    "Yacute" => 667_f32,
    "Acircumflex" => 722_f32,
    "aacute" => 556_f32,
    "Ucircumflex" => 722_f32,
    "yacute" => 556_f32,
    "scommaaccent" => 556_f32,
    "ecircumflex" => 556_f32,
    "Uring" => 722_f32,
    "Udieresis" => 722_f32,
    "aogonek" => 556_f32,
    "Uacute" => 722_f32,
    "uogonek" => 611_f32,
    "Edieresis" => 667_f32,
    "Dcroat" => 722_f32,
    "commaaccent" => 250_f32,
    "copyright" => 737_f32,
    "Emacron" => 667_f32,
    "ccaron" => 556_f32,
    "aring" => 556_f32,
    "Ncommaaccent" => 722_f32,
    "lacute" => 278_f32,
    "agrave" => 556_f32,
    "Tcommaaccent" => 611_f32,
    "Cacute" => 722_f32,
    "atilde" => 556_f32,
    "Edotaccent" => 667_f32,
    "scaron" => 556_f32,
    "scedilla" => 556_f32,
    "iacute" => 278_f32,
    "lozenge" => 494_f32,
    "Rcaron" => 722_f32,
    "Gcommaaccent" => 778_f32,
    "ucircumflex" => 611_f32,
    "acircumflex" => 556_f32,
    "Amacron" => 722_f32,
    "rcaron" => 389_f32,
    "ccedilla" => 556_f32,
    "Zdotaccent" => 611_f32,
    "Thorn" => 667_f32,
    "Omacron" => 778_f32,
    "Racute" => 722_f32,
    "Sacute" => 667_f32,
    "dcaron" => 743_f32,
    "Umacron" => 722_f32,
    "uring" => 611_f32,
    "threesuperior" => 333_f32,
    "Ograve" => 778_f32,
    "Agrave" => 722_f32,
    "Abreve" => 722_f32,
    "multiply" => 584_f32,
    "uacute" => 611_f32,
    "Tcaron" => 611_f32,
    "partialdiff" => 494_f32,
    "ydieresis" => 556_f32,
    "Nacute" => 722_f32,
    "icircumflex" => 278_f32,
    "Ecircumflex" => 667_f32,
    "adieresis" => 556_f32,
    "edieresis" => 556_f32,
    "cacute" => 556_f32,
    "nacute" => 611_f32,
    "umacron" => 611_f32,
    "Ncaron" => 722_f32,
    "Iacute" => 278_f32,
    "plusminus" => 584_f32,
    "brokenbar" => 280_f32,
    "registered" => 737_f32,
    "Gbreve" => 778_f32,
    "Idotaccent" => 278_f32,
    "summation" => 600_f32,
    "Egrave" => 667_f32,
    "racute" => 389_f32,
    "omacron" => 611_f32,
    "Zacute" => 611_f32,
    "Zcaron" => 611_f32,
    "greaterequal" => 549_f32,
    "Eth" => 722_f32,
    "Ccedilla" => 722_f32,
    "lcommaaccent" => 278_f32,
    "tcaron" => 389_f32,
    "eogonek" => 556_f32,
    "Uogonek" => 722_f32,
    "Aacute" => 722_f32,
    "Adieresis" => 722_f32,
    "egrave" => 556_f32,
    "zacute" => 500_f32,
    "iogonek" => 278_f32,
    "Oacute" => 778_f32,
    "oacute" => 611_f32,
    "amacron" => 556_f32,
    "sacute" => 556_f32,
    "idieresis" => 278_f32,
    "Ocircumflex" => 778_f32,
    "Ugrave" => 722_f32,
    "Delta" => 612_f32,
    "thorn" => 611_f32,
    "twosuperior" => 333_f32,
    "Odieresis" => 778_f32,
    "mu" => 611_f32,
    "igrave" => 278_f32,
    "ohungarumlaut" => 611_f32,
    "Eogonek" => 667_f32,
    "dcroat" => 611_f32,
    "threequarters" => 834_f32,
    "Scedilla" => 667_f32,
    "lcaron" => 400_f32,
    "Kcommaaccent" => 722_f32,
    "Lacute" => 611_f32,
    "trademark" => 1000_f32,
    "edotaccent" => 556_f32,
    "Igrave" => 278_f32,
    "Imacron" => 278_f32,
    "Lcaron" => 611_f32,
    "onehalf" => 834_f32,
    "lessequal" => 549_f32,
    "ocircumflex" => 611_f32,
    "ntilde" => 611_f32,
    "Uhungarumlaut" => 722_f32,
    "Eacute" => 667_f32,
    "emacron" => 556_f32,
    "gbreve" => 611_f32,
    "onequarter" => 834_f32,
    "Scaron" => 667_f32,
    "Scommaaccent" => 667_f32,
    "Ohungarumlaut" => 778_f32,
    "degree" => 400_f32,
    "ograve" => 611_f32,
    "Ccaron" => 722_f32,
    "ugrave" => 611_f32,
    "radical" => 549_f32,
    "Dcaron" => 722_f32,
    "rcommaaccent" => 389_f32,
    "Ntilde" => 722_f32,
    "otilde" => 611_f32,
    "Rcommaaccent" => 722_f32,
    "Lcommaaccent" => 611_f32,
    "Atilde" => 722_f32,
    "Aogonek" => 722_f32,
    "Aring" => 722_f32,
    "Otilde" => 778_f32,
    "zdotaccent" => 500_f32,
    "Ecaron" => 667_f32,
    "Iogonek" => 278_f32,
    "kcommaaccent" => 556_f32,
    "minus" => 584_f32,
    "Icircumflex" => 278_f32,
    "ncaron" => 611_f32,
    "tcommaaccent" => 333_f32,
    "logicalnot" => 584_f32,
    "odieresis" => 611_f32,
    "udieresis" => 611_f32,
    "notequal" => 549_f32,
    "gcommaaccent" => 611_f32,
    "eth" => 611_f32,
    "zcaron" => 500_f32,
    "ncommaaccent" => 611_f32,
    "onesuperior" => 333_f32,
    "imacron" => 278_f32,
    "Euro" => 556_f32,
};

pub(crate) static HELVETICA_BOLD_OBLIQUE: phf::Map<&'static str, f32> = phf_map! {
    "space" => 278_f32,
    "exclam" => 333_f32,
    "quotedbl" => 474_f32,
    "numbersign" => 556_f32,
    "dollar" => 556_f32,
    "percent" => 889_f32,
    "ampersand" => 722_f32,
    "quoteright" => 278_f32,
    "parenleft" => 333_f32,
    "parenright" => 333_f32,
    "asterisk" => 389_f32,
    "plus" => 584_f32,
    "comma" => 278_f32,
    "hyphen" => 333_f32,
    "period" => 278_f32,
    "slash" => 278_f32,
    "zero" => 556_f32,
    "one" => 556_f32,
    "two" => 556_f32,
    "three" => 556_f32,
    "four" => 556_f32,
    "five" => 556_f32,
    "six" => 556_f32,
    "seven" => 556_f32,
    "eight" => 556_f32,
    "nine" => 556_f32,
    "colon" => 333_f32,
    "semicolon" => 333_f32,
    "less" => 584_f32,
    "equal" => 584_f32,
    "greater" => 584_f32,
    "question" => 611_f32,
    "at" => 975_f32,
    "A" => 722_f32,
    "B" => 722_f32,
    "C" => 722_f32,
    "D" => 722_f32,
    "E" => 667_f32,
    "F" => 611_f32,
    "G" => 778_f32,
    "H" => 722_f32,
    "I" => 278_f32,
    "J" => 556_f32,
    "K" => 722_f32,
    "L" => 611_f32,
    "M" => 833_f32,
    "N" => 722_f32,
    "O" => 778_f32,
    "P" => 667_f32,
    "Q" => 778_f32,
    "R" => 722_f32,
    "S" => 667_f32,
    "T" => 611_f32,
    "U" => 722_f32,
    "V" => 667_f32,
    "W" => 944_f32,
    "X" => 667_f32,
    "Y" => 667_f32,
    "Z" => 611_f32,
    "bracketleft" => 333_f32,
    "backslash" => 278_f32,
    "bracketright" => 333_f32,
    "asciicircum" => 584_f32,
    "underscore" => 556_f32,
    "quoteleft" => 278_f32,
    "a" => 556_f32,
    "b" => 611_f32,
    "c" => 556_f32,
    "d" => 611_f32,
    "e" => 556_f32,
    "f" => 333_f32,
    "g" => 611_f32,
    "h" => 611_f32,
    "i" => 278_f32,
    "j" => 278_f32,
    "k" => 556_f32,
    "l" => 278_f32,
    "m" => 889_f32,
    "n" => 611_f32,
    "o" => 611_f32,
    "p" => 611_f32,
    "q" => 611_f32,
    "r" => 389_f32,
    "s" => 556_f32,
    "t" => 333_f32,
    "u" => 611_f32,
    "v" => 556_f32,
    "w" => 778_f32,
    "x" => 556_f32,
    "y" => 556_f32,
    "z" => 500_f32,
    "braceleft" => 389_f32,
    "bar" => 280_f32,
    "braceright" => 389_f32,
    "asciitilde" => 584_f32,
    "exclamdown" => 333_f32,
    "cent" => 556_f32,
    "sterling" => 556_f32,
    "fraction" => 167_f32,
    "yen" => 556_f32,
    "florin" => 556_f32,
    "section" => 556_f32,
    "currency" => 556_f32,
    "quotesingle" => 238_f32,
    "quotedblleft" => 500_f32,
    "guillemotleft" => 556_f32,
    "guilsinglleft" => 333_f32,
    "guilsinglright" => 333_f32,
    "fi" => 611_f32,
    "fl" => 611_f32,
    "endash" => 556_f32,
    "dagger" => 556_f32,
    "daggerdbl" => 556_f32,
    "periodcentered" => 278_f32,
    "paragraph" => 556_f32,
    "bullet" => 350_f32,
    "quotesinglbase" => 278_f32,
    "quotedblbase" => 500_f32,
    "quotedblright" => 500_f32,
    "guillemotright" => 556_f32,
    "ellipsis" => 1000_f32,
    "perthousand" => 1000_f32,
    "questiondown" => 611_f32,
    "grave" => 333_f32,
    "acute" => 333_f32,
    "circumflex" => 333_f32,
    "tilde" => 333_f32,
    "macron" => 333_f32,
    "breve" => 333_f32,
    "dotaccent" => 333_f32,
    "dieresis" => 333_f32,
    "ring" => 333_f32,
    "cedilla" => 333_f32,
    "hungarumlaut" => 333_f32,
    "ogonek" => 333_f32,
    "caron" => 333_f32,
    "emdash" => 1000_f32,
    "AE" => 1000_f32,
    "ordfeminine" => 370_f32,
    "Lslash" => 611_f32,
    "Oslash" => 778_f32,
    "OE" => 1000_f32,
    "ordmasculine" => 365_f32,
    "ae" => 889_f32,
    "dotlessi" => 278_f32,
    "lslash" => 278_f32,
    "oslash" => 611_f32,
    "oe" => 944_f32,
    "germandbls" => 611_f32,
    "Idieresis" => 278_f32,
    "eacute" => 556_f32,
    "abreve" => 556_f32,
    "uhungarumlaut" => 611_f32,
    "ecaron" => 556_f32,
    "Ydieresis" => 667_f32,
    "divide" => 584_f32,
    "Yacute" => 667_f32,
    "Acircumflex" => 722_f32,
    "aacute" => 556_f32,
    "Ucircumflex" => 722_f32,
    "yacute" => 556_f32,
    "scommaaccent" => 556_f32,
    "ecircumflex" => 556_f32,
    "Uring" => 722_f32,
    "Udieresis" => 722_f32,
    "aogonek" => 556_f32,
    "Uacute" => 722_f32,
    "uogonek" => 611_f32,
    "Edieresis" => 667_f32,
    "Dcroat" => 722_f32,
    "commaaccent" => 250_f32,
    "copyright" => 737_f32,
    "Emacron" => 667_f32,
    "ccaron" => 556_f32,
    "aring" => 556_f32,
    "Ncommaaccent" => 722_f32,
    "lacute" => 278_f32,
    "agrave" => 556_f32,
    "Tcommaaccent" => 611_f32,
    "Cacute" => 722_f32,
    "atilde" => 556_f32,
    "Edotaccent" => 667_f32,
    "scaron" => 556_f32,
    "scedilla" => 556_f32,
    "iacute" => 278_f32,
    "lozenge" => 494_f32,
    "Rcaron" => 722_f32,
    "Gcommaaccent" => 778_f32,
    "ucircumflex" => 611_f32,
    "acircumflex" => 556_f32,
    "Amacron" => 722_f32,
    "rcaron" => 389_f32,
    "ccedilla" => 556_f32,
    "Zdotaccent" => 611_f32,
    "Thorn" => 667_f32,
    "Omacron" => 778_f32,
    "Racute" => 722_f32,
    "Sacute" => 667_f32,
    "dcaron" => 743_f32,
    "Umacron" => 722_f32,
    "uring" => 611_f32,
    "threesuperior" => 333_f32,
    "Ograve" => 778_f32,
    "Agrave" => 722_f32,
    "Abreve" => 722_f32,
    "multiply" => 584_f32,
    "uacute" => 611_f32,
    "Tcaron" => 611_f32,
    "partialdiff" => 494_f32,
    "ydieresis" => 556_f32,
    "Nacute" => 722_f32,
    "icircumflex" => 278_f32,
    "Ecircumflex" => 667_f32,
    "adieresis" => 556_f32,
    "edieresis" => 556_f32,
    "cacute" => 556_f32,
    "nacute" => 611_f32,
    "umacron" => 611_f32,
    "Ncaron" => 722_f32,
    "Iacute" => 278_f32,
    "plusminus" => 584_f32,
    "brokenbar" => 280_f32,
    "registered" => 737_f32,
    "Gbreve" => 778_f32,
    "Idotaccent" => 278_f32,
    "summation" => 600_f32,
    "Egrave" => 667_f32,
    "racute" => 389_f32,
    "omacron" => 611_f32,
    "Zacute" => 611_f32,
    "Zcaron" => 611_f32,
    "greaterequal" => 549_f32,
    "Eth" => 722_f32,
    "Ccedilla" => 722_f32,
    "lcommaaccent" => 278_f32,
    "tcaron" => 389_f32,
    "eogonek" => 556_f32,
    "Uogonek" => 722_f32,
    "Aacute" => 722_f32,
    "Adieresis" => 722_f32,
    "egrave" => 556_f32,
    "zacute" => 500_f32,
    "iogonek" => 278_f32,
    "Oacute" => 778_f32,
    "oacute" => 611_f32,
    "amacron" => 556_f32,
    "sacute" => 556_f32,
    "idieresis" => 278_f32,
    "Ocircumflex" => 778_f32,
    "Ugrave" => 722_f32,
    "Delta" => 612_f32,
    "thorn" => 611_f32,
    "twosuperior" => 333_f32,
    "Odieresis" => 778_f32,
    "mu" => 611_f32,
    "igrave" => 278_f32,
    "ohungarumlaut" => 611_f32,
    "Eogonek" => 667_f32,
    "dcroat" => 611_f32,
    "threequarters" => 834_f32,
    "Scedilla" => 667_f32,
    "lcaron" => 400_f32,
    "Kcommaaccent" => 722_f32,
    "Lacute" => 611_f32,
    "trademark" => 1000_f32,
    "edotaccent" => 556_f32,
    "Igrave" => 278_f32,
    "Imacron" => 278_f32,
    "Lcaron" => 611_f32,
    "onehalf" => 834_f32,
    "lessequal" => 549_f32,
    "ocircumflex" => 611_f32,
    "ntilde" => 611_f32,
    "Uhungarumlaut" => 722_f32,
    "Eacute" => 667_f32,
    "emacron" => 556_f32,
    "gbreve" => 611_f32,
    "onequarter" => 834_f32,
    "Scaron" => 667_f32,
    "Scommaaccent" => 667_f32,
    "Ohungarumlaut" => 778_f32,
    "degree" => 400_f32,
    "ograve" => 611_f32,
    "Ccaron" => 722_f32,
    "ugrave" => 611_f32,
    "radical" => 549_f32,
    "Dcaron" => 722_f32,
    "rcommaaccent" => 389_f32,
    "Ntilde" => 722_f32,
    "otilde" => 611_f32,
    "Rcommaaccent" => 722_f32,
    "Lcommaaccent" => 611_f32,
    "Atilde" => 722_f32,
    "Aogonek" => 722_f32,
    "Aring" => 722_f32,
    "Otilde" => 778_f32,
    "zdotaccent" => 500_f32,
    "Ecaron" => 667_f32,
    "Iogonek" => 278_f32,
    "kcommaaccent" => 556_f32,
    "minus" => 584_f32,
    "Icircumflex" => 278_f32,
    "ncaron" => 611_f32,
    "tcommaaccent" => 333_f32,
    "logicalnot" => 584_f32,
    "odieresis" => 611_f32,
    "udieresis" => 611_f32,
    "notequal" => 549_f32,
    "gcommaaccent" => 611_f32,
    "eth" => 611_f32,
    "zcaron" => 500_f32,
    "ncommaaccent" => 611_f32,
    "onesuperior" => 333_f32,
    "imacron" => 278_f32,
    "Euro" => 556_f32,
};

pub(crate) static HELVETICA_OBLIQUE: phf::Map<&'static str, f32> = phf_map! {
    "space" => 278_f32,
    "exclam" => 278_f32,
    "quotedbl" => 355_f32,
    "numbersign" => 556_f32,
    "dollar" => 556_f32,
    "percent" => 889_f32,
    "ampersand" => 667_f32,
    "quoteright" => 222_f32,
    "parenleft" => 333_f32,
    "parenright" => 333_f32,
    "asterisk" => 389_f32,
    "plus" => 584_f32,
    "comma" => 278_f32,
    "hyphen" => 333_f32,
    "period" => 278_f32,
    "slash" => 278_f32,
    "zero" => 556_f32,
    "one" => 556_f32,
    "two" => 556_f32,
    "three" => 556_f32,
    "four" => 556_f32,
    "five" => 556_f32,
    "six" => 556_f32,
    "seven" => 556_f32,
    "eight" => 556_f32,
    "nine" => 556_f32,
    "colon" => 278_f32,
    "semicolon" => 278_f32,
    "less" => 584_f32,
    "equal" => 584_f32,
    "greater" => 584_f32,
    "question" => 556_f32,
    "at" => 1015_f32,
    "A" => 667_f32,
    "B" => 667_f32,
    "C" => 722_f32,
    "D" => 722_f32,
    "E" => 667_f32,
    "F" => 611_f32,
    "G" => 778_f32,
    "H" => 722_f32,
    "I" => 278_f32,
    "J" => 500_f32,
    "K" => 667_f32,
    "L" => 556_f32,
    "M" => 833_f32,
    "N" => 722_f32,
    "O" => 778_f32,
    "P" => 667_f32,
    "Q" => 778_f32,
    "R" => 722_f32,
    "S" => 667_f32,
    "T" => 611_f32,
    "U" => 722_f32,
    "V" => 667_f32,
    "W" => 944_f32,
    "X" => 667_f32,
    "Y" => 667_f32,
    "Z" => 611_f32,
    "bracketleft" => 278_f32,
    "backslash" => 278_f32,
    "bracketright" => 278_f32,
    "asciicircum" => 469_f32,
    "underscore" => 556_f32,
    "quoteleft" => 222_f32,
    "a" => 556_f32,
    "b" => 556_f32,
    "c" => 500_f32,
    "d" => 556_f32,
    "e" => 556_f32,
    "f" => 278_f32,
    "g" => 556_f32,
    "h" => 556_f32,
    "i" => 222_f32,
    "j" => 222_f32,
    "k" => 500_f32,
    "l" => 222_f32,
    "m" => 833_f32,
    "n" => 556_f32,
    "o" => 556_f32,
    "p" => 556_f32,
    "q" => 556_f32,
    "r" => 333_f32,
    "s" => 500_f32,
    "t" => 278_f32,
    "u" => 556_f32,
    "v" => 500_f32,
    "w" => 722_f32,
    "x" => 500_f32,
    "y" => 500_f32,
    "z" => 500_f32,
    "braceleft" => 334_f32,
    "bar" => 260_f32,
    "braceright" => 334_f32,
    "asciitilde" => 584_f32,
    "exclamdown" => 333_f32,
    "cent" => 556_f32,
    "sterling" => 556_f32,
    "fraction" => 167_f32,
    "yen" => 556_f32,
    "florin" => 556_f32,
    "section" => 556_f32,
    "currency" => 556_f32,
    "quotesingle" => 191_f32,
    "quotedblleft" => 333_f32,
    "guillemotleft" => 556_f32,
    "guilsinglleft" => 333_f32,
    "guilsinglright" => 333_f32,
    "fi" => 500_f32,
    "fl" => 500_f32,
    "endash" => 556_f32,
    "dagger" => 556_f32,
    "daggerdbl" => 556_f32,
    "periodcentered" => 278_f32,
    "paragraph" => 537_f32,
    "bullet" => 350_f32,
    "quotesinglbase" => 222_f32,
    "quotedblbase" => 333_f32,
    "quotedblright" => 333_f32,
    "guillemotright" => 556_f32,
    "ellipsis" => 1000_f32,
    "perthousand" => 1000_f32,
    "questiondown" => 611_f32,
    "grave" => 333_f32,
    "acute" => 333_f32,
    "circumflex" => 333_f32,
    "tilde" => 333_f32,
    "macron" => 333_f32,
    "breve" => 333_f32,
    "dotaccent" => 333_f32,
    "dieresis" => 333_f32,
    "ring" => 333_f32,
    "cedilla" => 333_f32,
    "hungarumlaut" => 333_f32,
    "ogonek" => 333_f32,
    "caron" => 333_f32,
    "emdash" => 1000_f32,
    "AE" => 1000_f32,
    "ordfeminine" => 370_f32,
    "Lslash" => 556_f32,
    "Oslash" => 778_f32,
    "OE" => 1000_f32,
    "ordmasculine" => 365_f32,
    "ae" => 889_f32,
    "dotlessi" => 278_f32,
    "lslash" => 222_f32,
    "oslash" => 611_f32,
    "oe" => 944_f32,
    "germandbls" => 611_f32,
    "Idieresis" => 278_f32,
    "eacute" => 556_f32,
    "abreve" => 556_f32,
    "uhungarumlaut" => 556_f32,
    "ecaron" => 556_f32,
    "Ydieresis" => 667_f32,
    "divide" => 584_f32,
    "Yacute" => 667_f32,
    "Acircumflex" => 667_f32,
    "aacute" => 556_f32,
    "Ucircumflex" => 722_f32,
    "yacute" => 500_f32,
    "scommaaccent" => 500_f32,
    "ecircumflex" => 556_f32,
    "Uring" => 722_f32,
    "Udieresis" => 722_f32,
    "aogonek" => 556_f32,
    "Uacute" => 722_f32,
    "uogonek" => 556_f32,
    "Edieresis" => 667_f32,
    "Dcroat" => 722_f32,
    "commaaccent" => 250_f32,
    "copyright" => 737_f32,
    "Emacron" => 667_f32,
    "ccaron" => 500_f32,
    "aring" => 556_f32,
    "Ncommaaccent" => 722_f32,
    "lacute" => 222_f32,
    "agrave" => 556_f32,
    "Tcommaaccent" => 611_f32,
    "Cacute" => 722_f32,
    "atilde" => 556_f32,
    "Edotaccent" => 667_f32,
    "scaron" => 500_f32,
    "scedilla" => 500_f32,
    "iacute" => 278_f32,
    "lozenge" => 471_f32,
    "Rcaron" => 722_f32,
    "Gcommaaccent" => 778_f32,
    "ucircumflex" => 556_f32,
    "acircumflex" => 556_f32,
    "Amacron" => 667_f32,
    "rcaron" => 333_f32,
    "ccedilla" => 500_f32,
    "Zdotaccent" => 611_f32,
    "Thorn" => 667_f32,
    "Omacron" => 778_f32,
    "Racute" => 722_f32,
    "Sacute" => 667_f32,
    "dcaron" => 643_f32,
    "Umacron" => 722_f32,
    "uring" => 556_f32,
    "threesuperior" => 333_f32,
    "Ograve" => 778_f32,
    "Agrave" => 667_f32,
    "Abreve" => 667_f32,
    "multiply" => 584_f32,
    "uacute" => 556_f32,
    "Tcaron" => 611_f32,
    "partialdiff" => 476_f32,
    "ydieresis" => 500_f32,
    "Nacute" => 722_f32,
    "icircumflex" => 278_f32,
    "Ecircumflex" => 667_f32,
    "adieresis" => 556_f32,
    "edieresis" => 556_f32,
    "cacute" => 500_f32,
    "nacute" => 556_f32,
    "umacron" => 556_f32,
    "Ncaron" => 722_f32,
    "Iacute" => 278_f32,
    "plusminus" => 584_f32,
    "brokenbar" => 260_f32,
    "registered" => 737_f32,
    "Gbreve" => 778_f32,
    "Idotaccent" => 278_f32,
    "summation" => 600_f32,
    "Egrave" => 667_f32,
    "racute" => 333_f32,
    "omacron" => 556_f32,
    "Zacute" => 611_f32,
    "Zcaron" => 611_f32,
    "greaterequal" => 549_f32,
    "Eth" => 722_f32,
    "Ccedilla" => 722_f32,
    "lcommaaccent" => 222_f32,
    "tcaron" => 317_f32,
    "eogonek" => 556_f32,
    "Uogonek" => 722_f32,
    "Aacute" => 667_f32,
    "Adieresis" => 667_f32,
    "egrave" => 556_f32,
    "zacute" => 500_f32,
    "iogonek" => 222_f32,
    "Oacute" => 778_f32,
    "oacute" => 556_f32,
    "amacron" => 556_f32,
    "sacute" => 500_f32,
    "idieresis" => 278_f32,
    "Ocircumflex" => 778_f32,
    "Ugrave" => 722_f32,
    "Delta" => 612_f32,
    "thorn" => 556_f32,
    "twosuperior" => 333_f32,
    "Odieresis" => 778_f32,
    "mu" => 556_f32,
    "igrave" => 278_f32,
    "ohungarumlaut" => 556_f32,
    "Eogonek" => 667_f32,
    "dcroat" => 556_f32,
    "threequarters" => 834_f32,
    "Scedilla" => 667_f32,
    "lcaron" => 299_f32,
    "Kcommaaccent" => 667_f32,
    "Lacute" => 556_f32,
    "trademark" => 1000_f32,
    "edotaccent" => 556_f32,
    "Igrave" => 278_f32,
    "Imacron" => 278_f32,
    "Lcaron" => 556_f32,
    "onehalf" => 834_f32,
    "lessequal" => 549_f32,
    "ocircumflex" => 556_f32,
    "ntilde" => 556_f32,
    "Uhungarumlaut" => 722_f32,
    "Eacute" => 667_f32,
    "emacron" => 556_f32,
    "gbreve" => 556_f32,
    "onequarter" => 834_f32,
    "Scaron" => 667_f32,
    "Scommaaccent" => 667_f32,
    "Ohungarumlaut" => 778_f32,
    "degree" => 400_f32,
    "ograve" => 556_f32,
    "Ccaron" => 722_f32,
    "ugrave" => 556_f32,
    "radical" => 453_f32,
    "Dcaron" => 722_f32,
    "rcommaaccent" => 333_f32,
    "Ntilde" => 722_f32,
    "otilde" => 556_f32,
    "Rcommaaccent" => 722_f32,
    "Lcommaaccent" => 556_f32,
    "Atilde" => 667_f32,
    "Aogonek" => 667_f32,
    "Aring" => 667_f32,
    "Otilde" => 778_f32,
    "zdotaccent" => 500_f32,
    "Ecaron" => 667_f32,
    "Iogonek" => 278_f32,
    "kcommaaccent" => 500_f32,
    "minus" => 584_f32,
    "Icircumflex" => 278_f32,
    "ncaron" => 556_f32,
    "tcommaaccent" => 278_f32,
    "logicalnot" => 584_f32,
    "odieresis" => 556_f32,
    "udieresis" => 556_f32,
    "notequal" => 549_f32,
    "gcommaaccent" => 556_f32,
    "eth" => 556_f32,
    "zcaron" => 500_f32,
    "ncommaaccent" => 556_f32,
    "onesuperior" => 333_f32,
    "imacron" => 278_f32,
    "Euro" => 556_f32,
};

pub(crate) static SYMBOL: phf::Map<&'static str, f32> = phf_map! {
    "space" => 250_f32,
    "exclam" => 333_f32,
    "universal" => 713_f32,
    "numbersign" => 500_f32,
    "existential" => 549_f32,
    "percent" => 833_f32,
    "ampersand" => 778_f32,
    "suchthat" => 439_f32,
    "parenleft" => 333_f32,
    "parenright" => 333_f32,
    "asteriskmath" => 500_f32,
    "plus" => 549_f32,
    "comma" => 250_f32,
    "minus" => 549_f32,
    "period" => 250_f32,
    "slash" => 278_f32,
    "zero" => 500_f32,
    "one" => 500_f32,
    "two" => 500_f32,
    "three" => 500_f32,
    "four" => 500_f32,
    "five" => 500_f32,
    "six" => 500_f32,
    "seven" => 500_f32,
    "eight" => 500_f32,
    "nine" => 500_f32,
    "colon" => 278_f32,
    "semicolon" => 278_f32,
    "less" => 549_f32,
    "equal" => 549_f32,
    "greater" => 549_f32,
    "question" => 444_f32,
    "congruent" => 549_f32,
    "Alpha" => 722_f32,
    "Beta" => 667_f32,
    "Chi" => 722_f32,
    "Delta" => 612_f32,
    "Epsilon" => 611_f32,
    "Phi" => 763_f32,
    "Gamma" => 603_f32,
    "Eta" => 722_f32,
    "Iota" => 333_f32,
    "theta1" => 631_f32,
    "Kappa" => 722_f32,
    "Lambda" => 686_f32,
    "Mu" => 889_f32,
    "Nu" => 722_f32,
    "Omicron" => 722_f32,
    "Pi" => 768_f32,
    "Theta" => 741_f32,
    "Rho" => 556_f32,
    "Sigma" => 592_f32,
    "Tau" => 611_f32,
    "Upsilon" => 690_f32,
    "sigma1" => 439_f32,
    "Omega" => 768_f32,
    "Xi" => 645_f32,
    "Psi" => 795_f32,
    "Zeta" => 611_f32,
    "bracketleft" => 333_f32,
    "therefore" => 863_f32,
    "bracketright" => 333_f32,
    "perpendicular" => 658_f32,
    "underscore" => 500_f32,
    "radicalex" => 500_f32,
    "alpha" => 631_f32,
    "beta" => 549_f32,
    "chi" => 549_f32,
    "delta" => 494_f32,
    "epsilon" => 439_f32,
    "phi" => 521_f32,
    "gamma" => 411_f32,
    "eta" => 603_f32,
    "iota" => 329_f32,
    "phi1" => 603_f32,
    "kappa" => 549_f32,
    "lambda" => 549_f32,
    "mu" => 576_f32,
    "nu" => 521_f32,
    "omicron" => 549_f32,
    "pi" => 549_f32,
    "theta" => 521_f32,
    "rho" => 549_f32,
    "sigma" => 603_f32,
    "tau" => 439_f32,
    "upsilon" => 576_f32,
    "omega1" => 713_f32,
    "omega" => 686_f32,
    "xi" => 493_f32,
    "psi" => 686_f32,
    "zeta" => 494_f32,
    "braceleft" => 480_f32,
    "bar" => 200_f32,
    "braceright" => 480_f32,
    "similar" => 549_f32,
    "Euro" => 750_f32,
    "Upsilon1" => 620_f32,
    "minute" => 247_f32,
    "lessequal" => 549_f32,
    "fraction" => 167_f32,
    "infinity" => 713_f32,
    "florin" => 500_f32,
    "club" => 753_f32,
    "diamond" => 753_f32,
    "heart" => 753_f32,
    "spade" => 753_f32,
    "arrowboth" => 1042_f32,
    "arrowleft" => 987_f32,
    "arrowup" => 603_f32,
    "arrowright" => 987_f32,
    "arrowdown" => 603_f32,
    "degree" => 400_f32,
    "plusminus" => 549_f32,
    "second" => 411_f32,
    "greaterequal" => 549_f32,
    "multiply" => 549_f32,
    "proportional" => 713_f32,
    "partialdiff" => 494_f32,
    "bullet" => 460_f32,
    "divide" => 549_f32,
    "notequal" => 549_f32,
    "equivalence" => 549_f32,
    "approxequal" => 549_f32,
    "ellipsis" => 1000_f32,
    "arrowvertex" => 603_f32,
    "arrowhorizex" => 1000_f32,
    "carriagereturn" => 658_f32,
    "aleph" => 823_f32,
    "Ifraktur" => 686_f32,
    "Rfraktur" => 795_f32,
    "weierstrass" => 987_f32,
    "circlemultiply" => 768_f32,
    "circleplus" => 768_f32,
    "emptyset" => 823_f32,
    "intersection" => 768_f32,
    "union" => 768_f32,
    "propersuperset" => 713_f32,
    "reflexsuperset" => 713_f32,
    "notsubset" => 713_f32,
    "propersubset" => 713_f32,
    "reflexsubset" => 713_f32,
    "element" => 713_f32,
    "notelement" => 713_f32,
    "angle" => 768_f32,
    "gradient" => 713_f32,
    "registerserif" => 790_f32,
    "copyrightserif" => 790_f32,
    "trademarkserif" => 890_f32,
    "product" => 823_f32,
    "radical" => 549_f32,
    "dotmath" => 250_f32,
    "logicalnot" => 713_f32,
    "logicaland" => 603_f32,
    "logicalor" => 603_f32,
    "arrowdblboth" => 1042_f32,
    "arrowdblleft" => 987_f32,
    "arrowdblup" => 603_f32,
    "arrowdblright" => 987_f32,
    "arrowdbldown" => 603_f32,
    "lozenge" => 494_f32,
    "angleleft" => 329_f32,
    "registersans" => 790_f32,
    "copyrightsans" => 790_f32,
    "trademarksans" => 786_f32,
    "summation" => 713_f32,
    "parenlefttp" => 384_f32,
    "parenleftex" => 384_f32,
    "parenleftbt" => 384_f32,
    "bracketlefttp" => 384_f32,
    "bracketleftex" => 384_f32,
    "bracketleftbt" => 384_f32,
    "bracelefttp" => 494_f32,
    "braceleftmid" => 494_f32,
    "braceleftbt" => 494_f32,
    "braceex" => 494_f32,
    "angleright" => 329_f32,
    "integral" => 274_f32,
    "integraltp" => 686_f32,
    "integralex" => 686_f32,
    "integralbt" => 686_f32,
    "parenrighttp" => 384_f32,
    "parenrightex" => 384_f32,
    "parenrightbt" => 384_f32,
    "bracketrighttp" => 384_f32,
    "bracketrightex" => 384_f32,
    "bracketrightbt" => 384_f32,
    "bracerighttp" => 494_f32,
    "bracerightmid" => 494_f32,
    "bracerightbt" => 494_f32,
    "apple" => 790_f32,
};

pub(crate) static TIMES_BOLD: phf::Map<&'static str, f32> = phf_map! {
    "space" => 250_f32,
    "exclam" => 333_f32,
    "quotedbl" => 555_f32,
    "numbersign" => 500_f32,
    "dollar" => 500_f32,
    "percent" => 1000_f32,
    "ampersand" => 833_f32,
    "quoteright" => 333_f32,
    "parenleft" => 333_f32,
    "parenright" => 333_f32,
    "asterisk" => 500_f32,
    "plus" => 570_f32,
    "comma" => 250_f32,
    "hyphen" => 333_f32,
    "period" => 250_f32,
    "slash" => 278_f32,
    "zero" => 500_f32,
    "one" => 500_f32,
    "two" => 500_f32,
    "three" => 500_f32,
    "four" => 500_f32,
    "five" => 500_f32,
    "six" => 500_f32,
    "seven" => 500_f32,
    "eight" => 500_f32,
    "nine" => 500_f32,
    "colon" => 333_f32,
    "semicolon" => 333_f32,
    "less" => 570_f32,
    "equal" => 570_f32,
    "greater" => 570_f32,
    "question" => 500_f32,
    "at" => 930_f32,
    "A" => 722_f32,
    "B" => 667_f32,
    "C" => 722_f32,
    "D" => 722_f32,
    "E" => 667_f32,
    "F" => 611_f32,
    "G" => 778_f32,
    "H" => 778_f32,
    "I" => 389_f32,
    "J" => 500_f32,
    "K" => 778_f32,
    "L" => 667_f32,
    "M" => 944_f32,
    "N" => 722_f32,
    "O" => 778_f32,
    "P" => 611_f32,
    "Q" => 778_f32,
    "R" => 722_f32,
    "S" => 556_f32,
    "T" => 667_f32,
    "U" => 722_f32,
    "V" => 722_f32,
    "W" => 1000_f32,
    "X" => 722_f32,
    "Y" => 722_f32,
    "Z" => 667_f32,
    "bracketleft" => 333_f32,
    "backslash" => 278_f32,
    "bracketright" => 333_f32,
    "asciicircum" => 581_f32,
    "underscore" => 500_f32,
    "quoteleft" => 333_f32,
    "a" => 500_f32,
    "b" => 556_f32,
    "c" => 444_f32,
    "d" => 556_f32,
    "e" => 444_f32,
    "f" => 333_f32,
    "g" => 500_f32,
    "h" => 556_f32,
    "i" => 278_f32,
    "j" => 333_f32,
    "k" => 556_f32,
    "l" => 278_f32,
    "m" => 833_f32,
    "n" => 556_f32,
    "o" => 500_f32,
    "p" => 556_f32,
    "q" => 556_f32,
    "r" => 444_f32,
    "s" => 389_f32,
    "t" => 333_f32,
    "u" => 556_f32,
    "v" => 500_f32,
    "w" => 722_f32,
    "x" => 500_f32,
    "y" => 500_f32,
    "z" => 444_f32,
    "braceleft" => 394_f32,
    "bar" => 220_f32,
    "braceright" => 394_f32,
    "asciitilde" => 520_f32,
    "exclamdown" => 333_f32,
    "cent" => 500_f32,
    "sterling" => 500_f32,
    "fraction" => 167_f32,
    "yen" => 500_f32,
    "florin" => 500_f32,
    "section" => 500_f32,
    "currency" => 500_f32,
    "quotesingle" => 278_f32,
    "quotedblleft" => 500_f32,
    "guillemotleft" => 500_f32,
    "guilsinglleft" => 333_f32,
    "guilsinglright" => 333_f32,
    "fi" => 556_f32,
    "fl" => 556_f32,
    "endash" => 500_f32,
    "dagger" => 500_f32,
    "daggerdbl" => 500_f32,
    "periodcentered" => 250_f32,
    "paragraph" => 540_f32,
    "bullet" => 350_f32,
    "quotesinglbase" => 333_f32,
    "quotedblbase" => 500_f32,
    "quotedblright" => 500_f32,
    "guillemotright" => 500_f32,
    "ellipsis" => 1000_f32,
    "perthousand" => 1000_f32,
    "questiondown" => 500_f32,
    "grave" => 333_f32,
    "acute" => 333_f32,
    "circumflex" => 333_f32,
    "tilde" => 333_f32,
    "macron" => 333_f32,
    "breve" => 333_f32,
    "dotaccent" => 333_f32,
    "dieresis" => 333_f32,
    "ring" => 333_f32,
    "cedilla" => 333_f32,
    "hungarumlaut" => 333_f32,
    "ogonek" => 333_f32,
    "caron" => 333_f32,
    "emdash" => 1000_f32,
    "AE" => 1000_f32,
    "ordfeminine" => 300_f32,
    "Lslash" => 667_f32,
    "Oslash" => 778_f32,
    "OE" => 1000_f32,
    "ordmasculine" => 330_f32,
    "ae" => 722_f32,
    "dotlessi" => 278_f32,
    "lslash" => 278_f32,
    "oslash" => 500_f32,
    "oe" => 722_f32,
    "germandbls" => 556_f32,
    "Idieresis" => 389_f32,
    "eacute" => 444_f32,
    "abreve" => 500_f32,
    "uhungarumlaut" => 556_f32,
    "ecaron" => 444_f32,
    "Ydieresis" => 722_f32,
    "divide" => 570_f32,
    "Yacute" => 722_f32,
    "Acircumflex" => 722_f32,
    "aacute" => 500_f32,
    "Ucircumflex" => 722_f32,
    "yacute" => 500_f32,
    "scommaaccent" => 389_f32,
    "ecircumflex" => 444_f32,
    "Uring" => 722_f32,
    "Udieresis" => 722_f32,
    "aogonek" => 500_f32,
    "Uacute" => 722_f32,
    "uogonek" => 556_f32,
    "Edieresis" => 667_f32,
    "Dcroat" => 722_f32,
    "commaaccent" => 250_f32,
    "copyright" => 747_f32,
    "Emacron" => 667_f32,
    "ccaron" => 444_f32,
    "aring" => 500_f32,
    "Ncommaaccent" => 722_f32,
    "lacute" => 278_f32,
    "agrave" => 500_f32,
    "Tcommaaccent" => 667_f32,
    "Cacute" => 722_f32,
    "atilde" => 500_f32,
    "Edotaccent" => 667_f32,
    "scaron" => 389_f32,
    "scedilla" => 389_f32,
    "iacute" => 278_f32,
    "lozenge" => 494_f32,
    "Rcaron" => 722_f32,
    "Gcommaaccent" => 778_f32,
    "ucircumflex" => 556_f32,
    "acircumflex" => 500_f32,
    "Amacron" => 722_f32,
    "rcaron" => 444_f32,
    "ccedilla" => 444_f32,
    "Zdotaccent" => 667_f32,
    "Thorn" => 611_f32,
    "Omacron" => 778_f32,
    "Racute" => 722_f32,
    "Sacute" => 556_f32,
    "dcaron" => 672_f32,
    "Umacron" => 722_f32,
    "uring" => 556_f32,
    "threesuperior" => 300_f32,
    "Ograve" => 778_f32,
    "Agrave" => 722_f32,
    "Abreve" => 722_f32,
    "multiply" => 570_f32,
    "uacute" => 556_f32,
    "Tcaron" => 667_f32,
    "partialdiff" => 494_f32,
    "ydieresis" => 500_f32,
    "Nacute" => 722_f32,
    "icircumflex" => 278_f32,
    "Ecircumflex" => 667_f32,
    "adieresis" => 500_f32,
    "edieresis" => 444_f32,
    "cacute" => 444_f32,
    "nacute" => 556_f32,
    "umacron" => 556_f32,
    "Ncaron" => 722_f32,
    "Iacute" => 389_f32,
    "plusminus" => 570_f32,
    "brokenbar" => 220_f32,
    "registered" => 747_f32,
    "Gbreve" => 778_f32,
    "Idotaccent" => 389_f32,
    "summation" => 600_f32,
    "Egrave" => 667_f32,
    "racute" => 444_f32,
    "omacron" => 500_f32,
    "Zacute" => 667_f32,
    "Zcaron" => 667_f32,
    "greaterequal" => 549_f32,
    "Eth" => 722_f32,
    "Ccedilla" => 722_f32,
    "lcommaaccent" => 278_f32,
    "tcaron" => 416_f32,
    "eogonek" => 444_f32,
    "Uogonek" => 722_f32,
    "Aacute" => 722_f32,
    "Adieresis" => 722_f32,
    "egrave" => 444_f32,
    "zacute" => 444_f32,
    "iogonek" => 278_f32,
    "Oacute" => 778_f32,
    "oacute" => 500_f32,
    "amacron" => 500_f32,
    "sacute" => 389_f32,
    "idieresis" => 278_f32,
    "Ocircumflex" => 778_f32,
    "Ugrave" => 722_f32,
    "Delta" => 612_f32,
    "thorn" => 556_f32,
    "twosuperior" => 300_f32,
    "Odieresis" => 778_f32,
    "mu" => 556_f32,
    "igrave" => 278_f32,
    "ohungarumlaut" => 500_f32,
    "Eogonek" => 667_f32,
    "dcroat" => 556_f32,
    "threequarters" => 750_f32,
    "Scedilla" => 556_f32,
    "lcaron" => 394_f32,
    "Kcommaaccent" => 778_f32,
    "Lacute" => 667_f32,
    "trademark" => 1000_f32,
    "edotaccent" => 444_f32,
    "Igrave" => 389_f32,
    "Imacron" => 389_f32,
    "Lcaron" => 667_f32,
    "onehalf" => 750_f32,
    "lessequal" => 549_f32,
    "ocircumflex" => 500_f32,
    "ntilde" => 556_f32,
    "Uhungarumlaut" => 722_f32,
    "Eacute" => 667_f32,
    "emacron" => 444_f32,
    "gbreve" => 500_f32,
    "onequarter" => 750_f32,
    "Scaron" => 556_f32,
    "Scommaaccent" => 556_f32,
    "Ohungarumlaut" => 778_f32,
    "degree" => 400_f32,
    "ograve" => 500_f32,
    "Ccaron" => 722_f32,
    "ugrave" => 556_f32,
    "radical" => 549_f32,
    "Dcaron" => 722_f32,
    "rcommaaccent" => 444_f32,
    "Ntilde" => 722_f32,
    "otilde" => 500_f32,
    "Rcommaaccent" => 722_f32,
    "Lcommaaccent" => 667_f32,
    "Atilde" => 722_f32,
    "Aogonek" => 722_f32,
    "Aring" => 722_f32,
    "Otilde" => 778_f32,
    "zdotaccent" => 444_f32,
    "Ecaron" => 667_f32,
    "Iogonek" => 389_f32,
    "kcommaaccent" => 556_f32,
    "minus" => 570_f32,
    "Icircumflex" => 389_f32,
    "ncaron" => 556_f32,
    "tcommaaccent" => 333_f32,
    "logicalnot" => 570_f32,
    "odieresis" => 500_f32,
    "udieresis" => 556_f32,
    "notequal" => 549_f32,
    "gcommaaccent" => 500_f32,
    "eth" => 500_f32,
    "zcaron" => 444_f32,
    "ncommaaccent" => 556_f32,
    "onesuperior" => 300_f32,
    "imacron" => 278_f32,
    "Euro" => 500_f32,
};

pub(crate) static TIMES_BOLD_ITALIC: phf::Map<&'static str, f32> = phf_map! {
    "space" => 250_f32,
    "exclam" => 389_f32,
    "quotedbl" => 555_f32,
    "numbersign" => 500_f32,
    "dollar" => 500_f32,
    "percent" => 833_f32,
    "ampersand" => 778_f32,
    "quoteright" => 333_f32,
    "parenleft" => 333_f32,
    "parenright" => 333_f32,
    "asterisk" => 500_f32,
    "plus" => 570_f32,
    "comma" => 250_f32,
    "hyphen" => 333_f32,
    "period" => 250_f32,
    "slash" => 278_f32,
    "zero" => 500_f32,
    "one" => 500_f32,
    "two" => 500_f32,
    "three" => 500_f32,
    "four" => 500_f32,
    "five" => 500_f32,
    "six" => 500_f32,
    "seven" => 500_f32,
    "eight" => 500_f32,
    "nine" => 500_f32,
    "colon" => 333_f32,
    "semicolon" => 333_f32,
    "less" => 570_f32,
    "equal" => 570_f32,
    "greater" => 570_f32,
    "question" => 500_f32,
    "at" => 832_f32,
    "A" => 667_f32,
    "B" => 667_f32,
    "C" => 667_f32,
    "D" => 722_f32,
    "E" => 667_f32,
    "F" => 667_f32,
    "G" => 722_f32,
    "H" => 778_f32,
    "I" => 389_f32,
    "J" => 500_f32,
    "K" => 667_f32,
    "L" => 611_f32,
    "M" => 889_f32,
    "N" => 722_f32,
    "O" => 722_f32,
    "P" => 611_f32,
    "Q" => 722_f32,
    "R" => 667_f32,
    "S" => 556_f32,
    "T" => 611_f32,
    "U" => 722_f32,
    "V" => 667_f32,
    "W" => 889_f32,
    "X" => 667_f32,
    "Y" => 611_f32,
    "Z" => 611_f32,
    "bracketleft" => 333_f32,
    "backslash" => 278_f32,
    "bracketright" => 333_f32,
    "asciicircum" => 570_f32,
    "underscore" => 500_f32,
    "quoteleft" => 333_f32,
    "a" => 500_f32,
    "b" => 500_f32,
    "c" => 444_f32,
    "d" => 500_f32,
    "e" => 444_f32,
    "f" => 333_f32,
    "g" => 500_f32,
    "h" => 556_f32,
    "i" => 278_f32,
    "j" => 278_f32,
    "k" => 500_f32,
    "l" => 278_f32,
    "m" => 778_f32,
    "n" => 556_f32,
    "o" => 500_f32,
    "p" => 500_f32,
    "q" => 500_f32,
    "r" => 389_f32,
    "s" => 389_f32,
    "t" => 278_f32,
    "u" => 556_f32,
    "v" => 444_f32,
    "w" => 667_f32,
    "x" => 500_f32,
    "y" => 444_f32,
    "z" => 389_f32,
    "braceleft" => 348_f32,
    "bar" => 220_f32,
    "braceright" => 348_f32,
    "asciitilde" => 570_f32,
    "exclamdown" => 389_f32,
    "cent" => 500_f32,
    "sterling" => 500_f32,
    "fraction" => 167_f32,
    "yen" => 500_f32,
    "florin" => 500_f32,
    "section" => 500_f32,
    "currency" => 500_f32,
    "quotesingle" => 278_f32,
    "quotedblleft" => 500_f32,
    "guillemotleft" => 500_f32,
    "guilsinglleft" => 333_f32,
    "guilsinglright" => 333_f32,
    "fi" => 556_f32,
    "fl" => 556_f32,
    "endash" => 500_f32,
    "dagger" => 500_f32,
    "daggerdbl" => 500_f32,
    "periodcentered" => 250_f32,
    "paragraph" => 500_f32,
    "bullet" => 350_f32,
    "quotesinglbase" => 333_f32,
    "quotedblbase" => 500_f32,
    "quotedblright" => 500_f32,
    "guillemotright" => 500_f32,
    "ellipsis" => 1000_f32,
    "perthousand" => 1000_f32,
    "questiondown" => 500_f32,
    "grave" => 333_f32,
    "acute" => 333_f32,
    "circumflex" => 333_f32,
    "tilde" => 333_f32,
    "macron" => 333_f32,
    "breve" => 333_f32,
    "dotaccent" => 333_f32,
    "dieresis" => 333_f32,
    "ring" => 333_f32,
    "cedilla" => 333_f32,
    "hungarumlaut" => 333_f32,
    "ogonek" => 333_f32,
    "caron" => 333_f32,
    "emdash" => 1000_f32,
    "AE" => 944_f32,
    "ordfeminine" => 266_f32,
    "Lslash" => 611_f32,
    "Oslash" => 722_f32,
    "OE" => 944_f32,
    "ordmasculine" => 300_f32,
    "ae" => 722_f32,
    "dotlessi" => 278_f32,
    "lslash" => 278_f32,
    "oslash" => 500_f32,
    "oe" => 722_f32,
    "germandbls" => 500_f32,
    "Idieresis" => 389_f32,
    "eacute" => 444_f32,
    "abreve" => 500_f32,
    "uhungarumlaut" => 556_f32,
    "ecaron" => 444_f32,
    "Ydieresis" => 611_f32,
    "divide" => 570_f32,
    "Yacute" => 611_f32,
    "Acircumflex" => 667_f32,
    "aacute" => 500_f32,
    "Ucircumflex" => 722_f32,
    "yacute" => 444_f32,
    "scommaaccent" => 389_f32,
    "ecircumflex" => 444_f32,
    "Uring" => 722_f32,
    "Udieresis" => 722_f32,
    "aogonek" => 500_f32,
    "Uacute" => 722_f32,
    "uogonek" => 556_f32,
    "Edieresis" => 667_f32,
    "Dcroat" => 722_f32,
    "commaaccent" => 250_f32,
    "copyright" => 747_f32,
    "Emacron" => 667_f32,
    "ccaron" => 444_f32,
    "aring" => 500_f32,
    "Ncommaaccent" => 722_f32,
    "lacute" => 278_f32,
    "agrave" => 500_f32,
    "Tcommaaccent" => 611_f32,
    "Cacute" => 667_f32,
    "atilde" => 500_f32,
    "Edotaccent" => 667_f32,
    "scaron" => 389_f32,
    "scedilla" => 389_f32,
    "iacute" => 278_f32,
    "lozenge" => 494_f32,
    "Rcaron" => 667_f32,
    "Gcommaaccent" => 722_f32,
    "ucircumflex" => 556_f32,
    "acircumflex" => 500_f32,
    "Amacron" => 667_f32,
    "rcaron" => 389_f32,
    "ccedilla" => 444_f32,
    "Zdotaccent" => 611_f32,
    "Thorn" => 611_f32,
    "Omacron" => 722_f32,
    "Racute" => 667_f32,
    "Sacute" => 556_f32,
    "dcaron" => 608_f32,
    "Umacron" => 722_f32,
    "uring" => 556_f32,
    "threesuperior" => 300_f32,
    "Ograve" => 722_f32,
    "Agrave" => 667_f32,
    "Abreve" => 667_f32,
    "multiply" => 570_f32,
    "uacute" => 556_f32,
    "Tcaron" => 611_f32,
    "partialdiff" => 494_f32,
    "ydieresis" => 444_f32,
    "Nacute" => 722_f32,
    "icircumflex" => 278_f32,
    "Ecircumflex" => 667_f32,
    "adieresis" => 500_f32,
    "edieresis" => 444_f32,
    "cacute" => 444_f32,
    "nacute" => 556_f32,
    "umacron" => 556_f32,
    "Ncaron" => 722_f32,
    "Iacute" => 389_f32,
    "plusminus" => 570_f32,
    "brokenbar" => 220_f32,
    "registered" => 747_f32,
    "Gbreve" => 722_f32,
    "Idotaccent" => 389_f32,
    "summation" => 600_f32,
    "Egrave" => 667_f32,
    "racute" => 389_f32,
    "omacron" => 500_f32,
    "Zacute" => 611_f32,
    "Zcaron" => 611_f32,
    "greaterequal" => 549_f32,
    "Eth" => 722_f32,
    "Ccedilla" => 667_f32,
    "lcommaaccent" => 278_f32,
    "tcaron" => 366_f32,
    "eogonek" => 444_f32,
    "Uogonek" => 722_f32,
    "Aacute" => 667_f32,
    "Adieresis" => 667_f32,
    "egrave" => 444_f32,
    "zacute" => 389_f32,
    "iogonek" => 278_f32,
    "Oacute" => 722_f32,
    "oacute" => 500_f32,
    "amacron" => 500_f32,
    "sacute" => 389_f32,
    "idieresis" => 278_f32,
    "Ocircumflex" => 722_f32,
    "Ugrave" => 722_f32,
    "Delta" => 612_f32,
    "thorn" => 500_f32,
    "twosuperior" => 300_f32,
    "Odieresis" => 722_f32,
    "mu" => 576_f32,
    "igrave" => 278_f32,
    "ohungarumlaut" => 500_f32,
    "Eogonek" => 667_f32,
    "dcroat" => 500_f32,
    "threequarters" => 750_f32,
    "Scedilla" => 556_f32,
    "lcaron" => 382_f32,
    "Kcommaaccent" => 667_f32,
    "Lacute" => 611_f32,
    "trademark" => 1000_f32,
    "edotaccent" => 444_f32,
    "Igrave" => 389_f32,
    "Imacron" => 389_f32,
    "Lcaron" => 611_f32,
    "onehalf" => 750_f32,
    "lessequal" => 549_f32,
    "ocircumflex" => 500_f32,
    "ntilde" => 556_f32,
    "Uhungarumlaut" => 722_f32,
    "Eacute" => 667_f32,
    "emacron" => 444_f32,
    "gbreve" => 500_f32,
    "onequarter" => 750_f32,
    "Scaron" => 556_f32,
    "Scommaaccent" => 556_f32,
    "Ohungarumlaut" => 722_f32,
    "degree" => 400_f32,
    "ograve" => 500_f32,
    "Ccaron" => 667_f32,
    "ugrave" => 556_f32,
    "radical" => 549_f32,
    "Dcaron" => 722_f32,
    "rcommaaccent" => 389_f32,
    "Ntilde" => 722_f32,
    "otilde" => 500_f32,
    "Rcommaaccent" => 667_f32,
    "Lcommaaccent" => 611_f32,
    "Atilde" => 667_f32,
    "Aogonek" => 667_f32,
    "Aring" => 667_f32,
    "Otilde" => 722_f32,
    "zdotaccent" => 389_f32,
    "Ecaron" => 667_f32,
    "Iogonek" => 389_f32,
    "kcommaaccent" => 500_f32,
    "minus" => 606_f32,
    "Icircumflex" => 389_f32,
    "ncaron" => 556_f32,
    "tcommaaccent" => 278_f32,
    "logicalnot" => 606_f32,
    "odieresis" => 500_f32,
    "udieresis" => 556_f32,
    "notequal" => 549_f32,
    "gcommaaccent" => 500_f32,
    "eth" => 500_f32,
    "zcaron" => 389_f32,
    "ncommaaccent" => 556_f32,
    "onesuperior" => 300_f32,
    "imacron" => 278_f32,
    "Euro" => 500_f32,
};

pub(crate) static TIMES_ITALIC: phf::Map<&'static str, f32> = phf_map! {
    "space" => 250_f32,
    "exclam" => 333_f32,
    "quotedbl" => 420_f32,
    "numbersign" => 500_f32,
    "dollar" => 500_f32,
    "percent" => 833_f32,
    "ampersand" => 778_f32,
    "quoteright" => 333_f32,
    "parenleft" => 333_f32,
    "parenright" => 333_f32,
    "asterisk" => 500_f32,
    "plus" => 675_f32,
    "comma" => 250_f32,
    "hyphen" => 333_f32,
    "period" => 250_f32,
    "slash" => 278_f32,
    "zero" => 500_f32,
    "one" => 500_f32,
    "two" => 500_f32,
    "three" => 500_f32,
    "four" => 500_f32,
    "five" => 500_f32,
    "six" => 500_f32,
    "seven" => 500_f32,
    "eight" => 500_f32,
    "nine" => 500_f32,
    "colon" => 333_f32,
    "semicolon" => 333_f32,
    "less" => 675_f32,
    "equal" => 675_f32,
    "greater" => 675_f32,
    "question" => 500_f32,
    "at" => 920_f32,
    "A" => 611_f32,
    "B" => 611_f32,
    "C" => 667_f32,
    "D" => 722_f32,
    "E" => 611_f32,
    "F" => 611_f32,
    "G" => 722_f32,
    "H" => 722_f32,
    "I" => 333_f32,
    "J" => 444_f32,
    "K" => 667_f32,
    "L" => 556_f32,
    "M" => 833_f32,
    "N" => 667_f32,
    "O" => 722_f32,
    "P" => 611_f32,
    "Q" => 722_f32,
    "R" => 611_f32,
    "S" => 500_f32,
    "T" => 556_f32,
    "U" => 722_f32,
    "V" => 611_f32,
    "W" => 833_f32,
    "X" => 611_f32,
    "Y" => 556_f32,
    "Z" => 556_f32,
    "bracketleft" => 389_f32,
    "backslash" => 278_f32,
    "bracketright" => 389_f32,
    "asciicircum" => 422_f32,
    "underscore" => 500_f32,
    "quoteleft" => 333_f32,
    "a" => 500_f32,
    "b" => 500_f32,
    "c" => 444_f32,
    "d" => 500_f32,
    "e" => 444_f32,
    "f" => 278_f32,
    "g" => 500_f32,
    "h" => 500_f32,
    "i" => 278_f32,
    "j" => 278_f32,
    "k" => 444_f32,
    "l" => 278_f32,
    "m" => 722_f32,
    "n" => 500_f32,
    "o" => 500_f32,
    "p" => 500_f32,
    "q" => 500_f32,
    "r" => 389_f32,
    "s" => 389_f32,
    "t" => 278_f32,
    "u" => 500_f32,
    "v" => 444_f32,
    "w" => 667_f32,
    "x" => 444_f32,
    "y" => 444_f32,
    "z" => 389_f32,
    "braceleft" => 400_f32,
    "bar" => 275_f32,
    "braceright" => 400_f32,
    "asciitilde" => 541_f32,
    "exclamdown" => 389_f32,
    "cent" => 500_f32,
    "sterling" => 500_f32,
    "fraction" => 167_f32,
    "yen" => 500_f32,
    "florin" => 500_f32,
    "section" => 500_f32,
    "currency" => 500_f32,
    "quotesingle" => 214_f32,
    "quotedblleft" => 556_f32,
    "guillemotleft" => 500_f32,
    "guilsinglleft" => 333_f32,
    "guilsinglright" => 333_f32,
    "fi" => 500_f32,
    "fl" => 500_f32,
    "endash" => 500_f32,
    "dagger" => 500_f32,
    "daggerdbl" => 500_f32,
    "periodcentered" => 250_f32,
    "paragraph" => 523_f32,
    "bullet" => 350_f32,
    "quotesinglbase" => 333_f32,
    "quotedblbase" => 556_f32,
    "quotedblright" => 556_f32,
    "guillemotright" => 500_f32,
    "ellipsis" => 889_f32,
    "perthousand" => 1000_f32,
    "questiondown" => 500_f32,
    "grave" => 333_f32,
    "acute" => 333_f32,
    "circumflex" => 333_f32,
    "tilde" => 333_f32,
    "macron" => 333_f32,
    "breve" => 333_f32,
    "dotaccent" => 333_f32,
    "dieresis" => 333_f32,
    "ring" => 333_f32,
    "cedilla" => 333_f32,
    "hungarumlaut" => 333_f32,
    "ogonek" => 333_f32,
    "caron" => 333_f32,
    "emdash" => 889_f32,
    "AE" => 889_f32,
    "ordfeminine" => 276_f32,
    "Lslash" => 556_f32,
    "Oslash" => 722_f32,
    "OE" => 944_f32,
    "ordmasculine" => 310_f32,
    "ae" => 667_f32,
    "dotlessi" => 278_f32,
    "lslash" => 278_f32,
    "oslash" => 500_f32,
    "oe" => 667_f32,
    "germandbls" => 500_f32,
    "Idieresis" => 333_f32,
    "eacute" => 444_f32,
    "abreve" => 500_f32,
    "uhungarumlaut" => 500_f32,
    "ecaron" => 444_f32,
    "Ydieresis" => 556_f32,
    "divide" => 675_f32,
    "Yacute" => 556_f32,
    "Acircumflex" => 611_f32,
    "aacute" => 500_f32,
    "Ucircumflex" => 722_f32,
    "yacute" => 444_f32,
    "scommaaccent" => 389_f32,
    "ecircumflex" => 444_f32,
    "Uring" => 722_f32,
    "Udieresis" => 722_f32,
    "aogonek" => 500_f32,
    "Uacute" => 722_f32,
    "uogonek" => 500_f32,
    "Edieresis" => 611_f32,
    "Dcroat" => 722_f32,
    "commaaccent" => 250_f32,
    "copyright" => 760_f32,
    "Emacron" => 611_f32,
    "ccaron" => 444_f32,
    "aring" => 500_f32,
    "Ncommaaccent" => 667_f32,
    "lacute" => 278_f32,
    "agrave" => 500_f32,
    "Tcommaaccent" => 556_f32,
    "Cacute" => 667_f32,
    "atilde" => 500_f32,
    "Edotaccent" => 611_f32,
    "scaron" => 389_f32,
    "scedilla" => 389_f32,
    "iacute" => 278_f32,
    "lozenge" => 471_f32,
    "Rcaron" => 611_f32,
    "Gcommaaccent" => 722_f32,
    "ucircumflex" => 500_f32,
    "acircumflex" => 500_f32,
    "Amacron" => 611_f32,
    "rcaron" => 389_f32,
    "ccedilla" => 444_f32,
    "Zdotaccent" => 556_f32,
    "Thorn" => 611_f32,
    "Omacron" => 722_f32,
    "Racute" => 611_f32,
    "Sacute" => 500_f32,
    "dcaron" => 544_f32,
    "Umacron" => 722_f32,
    "uring" => 500_f32,
    "threesuperior" => 300_f32,
    "Ograve" => 722_f32,
    "Agrave" => 611_f32,
    "Abreve" => 611_f32,
    "multiply" => 675_f32,
    "uacute" => 500_f32,
    "Tcaron" => 556_f32,
    "partialdiff" => 476_f32,
    "ydieresis" => 444_f32,
    "Nacute" => 667_f32,
    "icircumflex" => 278_f32,
    "Ecircumflex" => 611_f32,
    "adieresis" => 500_f32,
    "edieresis" => 444_f32,
    "cacute" => 444_f32,
    "nacute" => 500_f32,
    "umacron" => 500_f32,
    "Ncaron" => 667_f32,
    "Iacute" => 333_f32,
    "plusminus" => 675_f32,
    "brokenbar" => 275_f32,
    "registered" => 760_f32,
    "Gbreve" => 722_f32,
    "Idotaccent" => 333_f32,
    "summation" => 600_f32,
    "Egrave" => 611_f32,
    "racute" => 389_f32,
    "omacron" => 500_f32,
    "Zacute" => 556_f32,
    "Zcaron" => 556_f32,
    "greaterequal" => 549_f32,
    "Eth" => 722_f32,
    "Ccedilla" => 667_f32,
    "lcommaaccent" => 278_f32,
    "tcaron" => 300_f32,
    "eogonek" => 444_f32,
    "Uogonek" => 722_f32,
    "Aacute" => 611_f32,
    "Adieresis" => 611_f32,
    "egrave" => 444_f32,
    "zacute" => 389_f32,
    "iogonek" => 278_f32,
    "Oacute" => 722_f32,
    "oacute" => 500_f32,
    "amacron" => 500_f32,
    "sacute" => 389_f32,
    "idieresis" => 278_f32,
    "Ocircumflex" => 722_f32,
    "Ugrave" => 722_f32,
    "Delta" => 612_f32,
    "thorn" => 500_f32,
    "twosuperior" => 300_f32,
    "Odieresis" => 722_f32,
    "mu" => 500_f32,
    "igrave" => 278_f32,
    "ohungarumlaut" => 500_f32,
    "Eogonek" => 611_f32,
    "dcroat" => 500_f32,
    "threequarters" => 750_f32,
    "Scedilla" => 500_f32,
    "lcaron" => 300_f32,
    "Kcommaaccent" => 667_f32,
    "Lacute" => 556_f32,
    "trademark" => 980_f32,
    "edotaccent" => 444_f32,
    "Igrave" => 333_f32,
    "Imacron" => 333_f32,
    "Lcaron" => 611_f32,
    "onehalf" => 750_f32,
    "lessequal" => 549_f32,
    "ocircumflex" => 500_f32,
    "ntilde" => 500_f32,
    "Uhungarumlaut" => 722_f32,
    "Eacute" => 611_f32,
    "emacron" => 444_f32,
    "gbreve" => 500_f32,
    "onequarter" => 750_f32,
    "Scaron" => 500_f32,
    "Scommaaccent" => 500_f32,
    "Ohungarumlaut" => 722_f32,
    "degree" => 400_f32,
    "ograve" => 500_f32,
    "Ccaron" => 667_f32,
    "ugrave" => 500_f32,
    "radical" => 453_f32,
    "Dcaron" => 722_f32,
    "rcommaaccent" => 389_f32,
    "Ntilde" => 667_f32,
    "otilde" => 500_f32,
    "Rcommaaccent" => 611_f32,
    "Lcommaaccent" => 556_f32,
    "Atilde" => 611_f32,
    "Aogonek" => 611_f32,
    "Aring" => 611_f32,
    "Otilde" => 722_f32,
    "zdotaccent" => 389_f32,
    "Ecaron" => 611_f32,
    "Iogonek" => 333_f32,
    "kcommaaccent" => 444_f32,
    "minus" => 675_f32,
    "Icircumflex" => 333_f32,
    "ncaron" => 500_f32,
    "tcommaaccent" => 278_f32,
    "logicalnot" => 675_f32,
    "odieresis" => 500_f32,
    "udieresis" => 500_f32,
    "notequal" => 549_f32,
    "gcommaaccent" => 500_f32,
    "eth" => 500_f32,
    "zcaron" => 389_f32,
    "ncommaaccent" => 500_f32,
    "onesuperior" => 300_f32,
    "imacron" => 278_f32,
    "Euro" => 500_f32,
};

pub(crate) static TIMES_ROMAN: phf::Map<&'static str, f32> = phf_map! {
    "space" => 250_f32,
    "exclam" => 333_f32,
    "quotedbl" => 408_f32,
    "numbersign" => 500_f32,
    "dollar" => 500_f32,
    "percent" => 833_f32,
    "ampersand" => 778_f32,
    "quoteright" => 333_f32,
    "parenleft" => 333_f32,
    "parenright" => 333_f32,
    "asterisk" => 500_f32,
    "plus" => 564_f32,
    "comma" => 250_f32,
    "hyphen" => 333_f32,
    "period" => 250_f32,
    "slash" => 278_f32,
    "zero" => 500_f32,
    "one" => 500_f32,
    "two" => 500_f32,
    "three" => 500_f32,
    "four" => 500_f32,
    "five" => 500_f32,
    "six" => 500_f32,
    "seven" => 500_f32,
    "eight" => 500_f32,
    "nine" => 500_f32,
    "colon" => 278_f32,
    "semicolon" => 278_f32,
    "less" => 564_f32,
    "equal" => 564_f32,
    "greater" => 564_f32,
    "question" => 444_f32,
    "at" => 921_f32,
    "A" => 722_f32,
    "B" => 667_f32,
    "C" => 667_f32,
    "D" => 722_f32,
    "E" => 611_f32,
    "F" => 556_f32,
    "G" => 722_f32,
    "H" => 722_f32,
    "I" => 333_f32,
    "J" => 389_f32,
    "K" => 722_f32,
    "L" => 611_f32,
    "M" => 889_f32,
    "N" => 722_f32,
    "O" => 722_f32,
    "P" => 556_f32,
    "Q" => 722_f32,
    "R" => 667_f32,
    "S" => 556_f32,
    "T" => 611_f32,
    "U" => 722_f32,
    "V" => 722_f32,
    "W" => 944_f32,
    "X" => 722_f32,
    "Y" => 722_f32,
    "Z" => 611_f32,
    "bracketleft" => 333_f32,
    "backslash" => 278_f32,
    "bracketright" => 333_f32,
    "asciicircum" => 469_f32,
    "underscore" => 500_f32,
    "quoteleft" => 333_f32,
    "a" => 444_f32,
    "b" => 500_f32,
    "c" => 444_f32,
    "d" => 500_f32,
    "e" => 444_f32,
    "f" => 333_f32,
    "g" => 500_f32,
    "h" => 500_f32,
    "i" => 278_f32,
    "j" => 278_f32,
    "k" => 500_f32,
    "l" => 278_f32,
    "m" => 778_f32,
    "n" => 500_f32,
    "o" => 500_f32,
    "p" => 500_f32,
    "q" => 500_f32,
    "r" => 333_f32,
    "s" => 389_f32,
    "t" => 278_f32,
    "u" => 500_f32,
    "v" => 500_f32,
    "w" => 722_f32,
    "x" => 500_f32,
    "y" => 500_f32,
    "z" => 444_f32,
    "braceleft" => 480_f32,
    "bar" => 200_f32,
    "braceright" => 480_f32,
    "asciitilde" => 541_f32,
    "exclamdown" => 333_f32,
    "cent" => 500_f32,
    "sterling" => 500_f32,
    "fraction" => 167_f32,
    "yen" => 500_f32,
    "florin" => 500_f32,
    "section" => 500_f32,
    "currency" => 500_f32,
    "quotesingle" => 180_f32,
    "quotedblleft" => 444_f32,
    "guillemotleft" => 500_f32,
    "guilsinglleft" => 333_f32,
    "guilsinglright" => 333_f32,
    "fi" => 556_f32,
    "fl" => 556_f32,
    "endash" => 500_f32,
    "dagger" => 500_f32,
    "daggerdbl" => 500_f32,
    "periodcentered" => 250_f32,
    "paragraph" => 453_f32,
    "bullet" => 350_f32,
    "quotesinglbase" => 333_f32,
    "quotedblbase" => 444_f32,
    "quotedblright" => 444_f32,
    "guillemotright" => 500_f32,
    "ellipsis" => 1000_f32,
    "perthousand" => 1000_f32,
    "questiondown" => 444_f32,
    "grave" => 333_f32,
    "acute" => 333_f32,
    "circumflex" => 333_f32,
    "tilde" => 333_f32,
    "macron" => 333_f32,
    "breve" => 333_f32,
    "dotaccent" => 333_f32,
    "dieresis" => 333_f32,
    "ring" => 333_f32,
    "cedilla" => 333_f32,
    "hungarumlaut" => 333_f32,
    "ogonek" => 333_f32,
    "caron" => 333_f32,
    "emdash" => 1000_f32,
    "AE" => 889_f32,
    "ordfeminine" => 276_f32,
    "Lslash" => 611_f32,
    "Oslash" => 722_f32,
    "OE" => 889_f32,
    "ordmasculine" => 310_f32,
    "ae" => 667_f32,
    "dotlessi" => 278_f32,
    "lslash" => 278_f32,
    "oslash" => 500_f32,
    "oe" => 722_f32,
    "germandbls" => 500_f32,
    "Idieresis" => 333_f32,
    "eacute" => 444_f32,
    "abreve" => 444_f32,
    "uhungarumlaut" => 500_f32,
    "ecaron" => 444_f32,
    "Ydieresis" => 722_f32,
    "divide" => 564_f32,
    "Yacute" => 722_f32,
    "Acircumflex" => 722_f32,
    "aacute" => 444_f32,
    "Ucircumflex" => 722_f32,
    "yacute" => 500_f32,
    "scommaaccent" => 389_f32,
    "ecircumflex" => 444_f32,
    "Uring" => 722_f32,
    "Udieresis" => 722_f32,
    "aogonek" => 444_f32,
    "Uacute" => 722_f32,
    "uogonek" => 500_f32,
    "Edieresis" => 611_f32,
    "Dcroat" => 722_f32,
    "commaaccent" => 250_f32,
    "copyright" => 760_f32,
    "Emacron" => 611_f32,
    "ccaron" => 444_f32,
    "aring" => 444_f32,
    "Ncommaaccent" => 722_f32,
    "lacute" => 278_f32,
    "agrave" => 444_f32,
    "Tcommaaccent" => 611_f32,
    "Cacute" => 667_f32,
    "atilde" => 444_f32,
    "Edotaccent" => 611_f32,
    "scaron" => 389_f32,
    "scedilla" => 389_f32,
    "iacute" => 278_f32,
    "lozenge" => 471_f32,
    "Rcaron" => 667_f32,
    "Gcommaaccent" => 722_f32,
    "ucircumflex" => 500_f32,
    "acircumflex" => 444_f32,
    "Amacron" => 722_f32,
    "rcaron" => 333_f32,
    "ccedilla" => 444_f32,
    "Zdotaccent" => 611_f32,
    "Thorn" => 556_f32,
    "Omacron" => 722_f32,
    "Racute" => 667_f32,
    "Sacute" => 556_f32,
    "dcaron" => 588_f32,
    "Umacron" => 722_f32,
    "uring" => 500_f32,
    "threesuperior" => 300_f32,
    "Ograve" => 722_f32,
    "Agrave" => 722_f32,
    "Abreve" => 722_f32,
    "multiply" => 564_f32,
    "uacute" => 500_f32,
    "Tcaron" => 611_f32,
    "partialdiff" => 476_f32,
    "ydieresis" => 500_f32,
    "Nacute" => 722_f32,
    "icircumflex" => 278_f32,
    "Ecircumflex" => 611_f32,
    "adieresis" => 444_f32,
    "edieresis" => 444_f32,
    "cacute" => 444_f32,
    "nacute" => 500_f32,
    "umacron" => 500_f32,
    "Ncaron" => 722_f32,
    "Iacute" => 333_f32,
    "plusminus" => 564_f32,
    "brokenbar" => 200_f32,
    "registered" => 760_f32,
    "Gbreve" => 722_f32,
    "Idotaccent" => 333_f32,
    "summation" => 600_f32,
    "Egrave" => 611_f32,
    "racute" => 333_f32,
    "omacron" => 500_f32,
    "Zacute" => 611_f32,
    "Zcaron" => 611_f32,
    "greaterequal" => 549_f32,
    "Eth" => 722_f32,
    "Ccedilla" => 667_f32,
    "lcommaaccent" => 278_f32,
    "tcaron" => 326_f32,
    "eogonek" => 444_f32,
    "Uogonek" => 722_f32,
    "Aacute" => 722_f32,
    "Adieresis" => 722_f32,
    "egrave" => 444_f32,
    "zacute" => 444_f32,
    "iogonek" => 278_f32,
    "Oacute" => 722_f32,
    "oacute" => 500_f32,
    "amacron" => 444_f32,
    "sacute" => 389_f32,
    "idieresis" => 278_f32,
    "Ocircumflex" => 722_f32,
    "Ugrave" => 722_f32,
    "Delta" => 612_f32,
    "thorn" => 500_f32,
    "twosuperior" => 300_f32,
    "Odieresis" => 722_f32,
    "mu" => 500_f32,
    "igrave" => 278_f32,
    "ohungarumlaut" => 500_f32,
    "Eogonek" => 611_f32,
    "dcroat" => 500_f32,
    "threequarters" => 750_f32,
    "Scedilla" => 556_f32,
    "lcaron" => 344_f32,
    "Kcommaaccent" => 722_f32,
    "Lacute" => 611_f32,
    "trademark" => 980_f32,
    "edotaccent" => 444_f32,
    "Igrave" => 333_f32,
    "Imacron" => 333_f32,
    "Lcaron" => 611_f32,
    "onehalf" => 750_f32,
    "lessequal" => 549_f32,
    "ocircumflex" => 500_f32,
    "ntilde" => 500_f32,
    "Uhungarumlaut" => 722_f32,
    "Eacute" => 611_f32,
    "emacron" => 444_f32,
    "gbreve" => 500_f32,
    "onequarter" => 750_f32,
    "Scaron" => 556_f32,
    "Scommaaccent" => 556_f32,
    "Ohungarumlaut" => 722_f32,
    "degree" => 400_f32,
    "ograve" => 500_f32,
    "Ccaron" => 667_f32,
    "ugrave" => 500_f32,
    "radical" => 453_f32,
    "Dcaron" => 722_f32,
    "rcommaaccent" => 333_f32,
    "Ntilde" => 722_f32,
    "otilde" => 500_f32,
    "Rcommaaccent" => 667_f32,
    "Lcommaaccent" => 611_f32,
    "Atilde" => 722_f32,
    "Aogonek" => 722_f32,
    "Aring" => 722_f32,
    "Otilde" => 722_f32,
    "zdotaccent" => 444_f32,
    "Ecaron" => 611_f32,
    "Iogonek" => 333_f32,
    "kcommaaccent" => 500_f32,
    "minus" => 564_f32,
    "Icircumflex" => 333_f32,
    "ncaron" => 500_f32,
    "tcommaaccent" => 278_f32,
    "logicalnot" => 564_f32,
    "odieresis" => 500_f32,
    "udieresis" => 500_f32,
    "notequal" => 549_f32,
    "gcommaaccent" => 500_f32,
    "eth" => 500_f32,
    "zcaron" => 444_f32,
    "ncommaaccent" => 500_f32,
    "onesuperior" => 300_f32,
    "imacron" => 278_f32,
    "Euro" => 500_f32,
};

pub(crate) static ZAPF_DING_BATS: phf::Map<&'static str, f32> = phf_map! {
    "space" => 278_f32,
    "a1" => 974_f32,
    "a2" => 961_f32,
    "a202" => 974_f32,
    "a3" => 980_f32,
    "a4" => 719_f32,
    "a5" => 789_f32,
    "a119" => 790_f32,
    "a118" => 791_f32,
    "a117" => 690_f32,
    "a11" => 960_f32,
    "a12" => 939_f32,
    "a13" => 549_f32,
    "a14" => 855_f32,
    "a15" => 911_f32,
    "a16" => 933_f32,
    "a105" => 911_f32,
    "a17" => 945_f32,
    "a18" => 974_f32,
    "a19" => 755_f32,
    "a20" => 846_f32,
    "a21" => 762_f32,
    "a22" => 761_f32,
    "a23" => 571_f32,
    "a24" => 677_f32,
    "a25" => 763_f32,
    "a26" => 760_f32,
    "a27" => 759_f32,
    "a28" => 754_f32,
    "a6" => 494_f32,
    "a7" => 552_f32,
    "a8" => 537_f32,
    "a9" => 577_f32,
    "a10" => 692_f32,
    "a29" => 786_f32,
    "a30" => 788_f32,
    "a31" => 788_f32,
    "a32" => 790_f32,
    "a33" => 793_f32,
    "a34" => 794_f32,
    "a35" => 816_f32,
    "a36" => 823_f32,
    "a37" => 789_f32,
    "a38" => 841_f32,
    "a39" => 823_f32,
    "a40" => 833_f32,
    "a41" => 816_f32,
    "a42" => 831_f32,
    "a43" => 923_f32,
    "a44" => 744_f32,
    "a45" => 723_f32,
    "a46" => 749_f32,
    "a47" => 790_f32,
    "a48" => 792_f32,
    "a49" => 695_f32,
    "a50" => 776_f32,
    "a51" => 768_f32,
    "a52" => 792_f32,
    "a53" => 759_f32,
    "a54" => 707_f32,
    "a55" => 708_f32,
    "a56" => 682_f32,
    "a57" => 701_f32,
    "a58" => 826_f32,
    "a59" => 815_f32,
    "a60" => 789_f32,
    "a61" => 789_f32,
    "a62" => 707_f32,
    "a63" => 687_f32,
    "a64" => 696_f32,
    "a65" => 689_f32,
    "a66" => 786_f32,
    "a67" => 787_f32,
    "a68" => 713_f32,
    "a69" => 791_f32,
    "a70" => 785_f32,
    "a71" => 791_f32,
    "a72" => 873_f32,
    "a73" => 761_f32,
    "a74" => 762_f32,
    "a203" => 762_f32,
    "a75" => 759_f32,
    "a204" => 759_f32,
    "a76" => 892_f32,
    "a77" => 892_f32,
    "a78" => 788_f32,
    "a79" => 784_f32,
    "a81" => 438_f32,
    "a82" => 138_f32,
    "a83" => 277_f32,
    "a84" => 415_f32,
    "a97" => 392_f32,
    "a98" => 392_f32,
    "a99" => 668_f32,
    "a100" => 668_f32,
    "a89" => 390_f32,
    "a90" => 390_f32,
    "a93" => 317_f32,
    "a94" => 317_f32,
    "a91" => 276_f32,
    "a92" => 276_f32,
    "a205" => 509_f32,
    "a85" => 509_f32,
    "a206" => 410_f32,
    "a86" => 410_f32,
    "a87" => 234_f32,
    "a88" => 234_f32,
    "a95" => 334_f32,
    "a96" => 334_f32,
    "a101" => 732_f32,
    "a102" => 544_f32,
    "a103" => 544_f32,
    "a104" => 910_f32,
    "a106" => 667_f32,
    "a107" => 760_f32,
    "a108" => 760_f32,
    "a112" => 776_f32,
    "a111" => 595_f32,
    "a110" => 694_f32,
    "a109" => 626_f32,
    "a120" => 788_f32,
    "a121" => 788_f32,
    "a122" => 788_f32,
    "a123" => 788_f32,
    "a124" => 788_f32,
    "a125" => 788_f32,
    "a126" => 788_f32,
    "a127" => 788_f32,
    "a128" => 788_f32,
    "a129" => 788_f32,
    "a130" => 788_f32,
    "a131" => 788_f32,
    "a132" => 788_f32,
    "a133" => 788_f32,
    "a134" => 788_f32,
    "a135" => 788_f32,
    "a136" => 788_f32,
    "a137" => 788_f32,
    "a138" => 788_f32,
    "a139" => 788_f32,
    "a140" => 788_f32,
    "a141" => 788_f32,
    "a142" => 788_f32,
    "a143" => 788_f32,
    "a144" => 788_f32,
    "a145" => 788_f32,
    "a146" => 788_f32,
    "a147" => 788_f32,
    "a148" => 788_f32,
    "a149" => 788_f32,
    "a150" => 788_f32,
    "a151" => 788_f32,
    "a152" => 788_f32,
    "a153" => 788_f32,
    "a154" => 788_f32,
    "a155" => 788_f32,
    "a156" => 788_f32,
    "a157" => 788_f32,
    "a158" => 788_f32,
    "a159" => 788_f32,
    "a160" => 894_f32,
    "a161" => 838_f32,
    "a163" => 1016_f32,
    "a164" => 458_f32,
    "a196" => 748_f32,
    "a165" => 924_f32,
    "a192" => 748_f32,
    "a166" => 918_f32,
    "a167" => 927_f32,
    "a168" => 928_f32,
    "a169" => 928_f32,
    "a170" => 834_f32,
    "a171" => 873_f32,
    "a172" => 828_f32,
    "a173" => 924_f32,
    "a162" => 924_f32,
    "a174" => 917_f32,
    "a175" => 930_f32,
    "a176" => 931_f32,
    "a177" => 463_f32,
    "a178" => 883_f32,
    "a179" => 836_f32,
    "a193" => 836_f32,
    "a180" => 867_f32,
    "a199" => 867_f32,
    "a181" => 696_f32,
    "a200" => 696_f32,
    "a182" => 874_f32,
    "a201" => 874_f32,
    "a183" => 760_f32,
    "a184" => 946_f32,
    "a197" => 771_f32,
    "a185" => 865_f32,
    "a194" => 771_f32,
    "a198" => 888_f32,
    "a186" => 967_f32,
    "a195" => 888_f32,
    "a187" => 831_f32,
    "a188" => 873_f32,
    "a189" => 927_f32,
    "a190" => 970_f32,
    "a191" => 918_f32,
};