use super::{Base14Font, GlyphMetric};
#[rustfmt::skip]
pub(super) fn font(name: &str) -> Option<Base14Font> {
match name {
"Courier-Bold" => Some(Base14Font { glyphs: COURIER_BOLD_GLYPHS, unicode: COURIER_BOLD_UNICODE, builtin: &COURIER_BOLD_ENCODING }),
"Courier-BoldOblique" => Some(Base14Font { glyphs: COURIER_BOLDOBLIQUE_GLYPHS, unicode: COURIER_BOLDOBLIQUE_UNICODE, builtin: &COURIER_BOLDOBLIQUE_ENCODING }),
"Courier-Oblique" => Some(Base14Font { glyphs: COURIER_OBLIQUE_GLYPHS, unicode: COURIER_OBLIQUE_UNICODE, builtin: &COURIER_OBLIQUE_ENCODING }),
"Courier" => Some(Base14Font { glyphs: COURIER_GLYPHS, unicode: COURIER_UNICODE, builtin: &COURIER_ENCODING }),
"Helvetica-Bold" => Some(Base14Font { glyphs: HELVETICA_BOLD_GLYPHS, unicode: HELVETICA_BOLD_UNICODE, builtin: &HELVETICA_BOLD_ENCODING }),
"Helvetica-BoldOblique" => Some(Base14Font { glyphs: HELVETICA_BOLDOBLIQUE_GLYPHS, unicode: HELVETICA_BOLDOBLIQUE_UNICODE, builtin: &HELVETICA_BOLDOBLIQUE_ENCODING }),
"Helvetica-Oblique" => Some(Base14Font { glyphs: HELVETICA_OBLIQUE_GLYPHS, unicode: HELVETICA_OBLIQUE_UNICODE, builtin: &HELVETICA_OBLIQUE_ENCODING }),
"Helvetica" => Some(Base14Font { glyphs: HELVETICA_GLYPHS, unicode: HELVETICA_UNICODE, builtin: &HELVETICA_ENCODING }),
"Symbol" => Some(Base14Font { glyphs: SYMBOL_GLYPHS, unicode: SYMBOL_UNICODE, builtin: &SYMBOL_ENCODING }),
"Times-Bold" => Some(Base14Font { glyphs: TIMES_BOLD_GLYPHS, unicode: TIMES_BOLD_UNICODE, builtin: &TIMES_BOLD_ENCODING }),
"Times-BoldItalic" => Some(Base14Font { glyphs: TIMES_BOLDITALIC_GLYPHS, unicode: TIMES_BOLDITALIC_UNICODE, builtin: &TIMES_BOLDITALIC_ENCODING }),
"Times-Italic" => Some(Base14Font { glyphs: TIMES_ITALIC_GLYPHS, unicode: TIMES_ITALIC_UNICODE, builtin: &TIMES_ITALIC_ENCODING }),
"Times-Roman" => Some(Base14Font { glyphs: TIMES_ROMAN_GLYPHS, unicode: TIMES_ROMAN_UNICODE, builtin: &TIMES_ROMAN_ENCODING }),
"ZapfDingbats" => Some(Base14Font { glyphs: ZAPFDINGBATS_GLYPHS, unicode: ZAPFDINGBATS_UNICODE, builtin: &ZAPFDINGBATS_ENCODING }),
_ => None,
}
}
#[rustfmt::skip]
const COURIER_BOLD_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 600 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 600 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 600 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 600 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 600 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 600 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 600 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 600 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 600 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 600 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 600 },
GlyphMetric { name: "B", text: "B", width: 600 },
GlyphMetric { name: "C", text: "C", width: 600 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 600 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 600 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 600 },
GlyphMetric { name: "D", text: "D", width: 600 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 600 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 600 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 600 },
GlyphMetric { name: "E", text: "E", width: 600 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 600 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 600 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 600 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 600 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 600 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 600 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 600 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 600 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 600 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 600 },
GlyphMetric { name: "F", text: "F", width: 600 },
GlyphMetric { name: "G", text: "G", width: 600 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 600 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 600 },
GlyphMetric { name: "H", text: "H", width: 600 },
GlyphMetric { name: "I", text: "I", width: 600 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 600 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 600 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 600 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 600 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 600 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 600 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 600 },
GlyphMetric { name: "J", text: "J", width: 600 },
GlyphMetric { name: "K", text: "K", width: 600 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 600 },
GlyphMetric { name: "L", text: "L", width: 600 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 600 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 600 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 600 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 600 },
GlyphMetric { name: "M", text: "M", width: 600 },
GlyphMetric { name: "N", text: "N", width: 600 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 600 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 600 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 600 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 600 },
GlyphMetric { name: "O", text: "O", width: 600 },
GlyphMetric { name: "OE", text: "\u{152}", width: 600 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 600 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 600 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 600 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 600 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 600 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 600 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 600 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 600 },
GlyphMetric { name: "P", text: "P", width: 600 },
GlyphMetric { name: "Q", text: "Q", width: 600 },
GlyphMetric { name: "R", text: "R", width: 600 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 600 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 600 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 600 },
GlyphMetric { name: "S", text: "S", width: 600 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 600 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 600 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 600 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 600 },
GlyphMetric { name: "T", text: "T", width: 600 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 600 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 600 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 600 },
GlyphMetric { name: "U", text: "U", width: 600 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 600 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 600 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 600 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 600 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 600 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 600 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 600 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 600 },
GlyphMetric { name: "V", text: "V", width: 600 },
GlyphMetric { name: "W", text: "W", width: 600 },
GlyphMetric { name: "X", text: "X", width: 600 },
GlyphMetric { name: "Y", text: "Y", width: 600 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 600 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 600 },
GlyphMetric { name: "Z", text: "Z", width: 600 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 600 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 600 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 600 },
GlyphMetric { name: "a", text: "a", width: 600 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 600 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 600 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 600 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 600 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 600 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 600 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 600 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 600 },
GlyphMetric { name: "ampersand", text: "&", width: 600 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 600 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 600 },
GlyphMetric { name: "asciicircum", text: "^", width: 600 },
GlyphMetric { name: "asciitilde", text: "~", width: 600 },
GlyphMetric { name: "asterisk", text: "*", width: 600 },
GlyphMetric { name: "at", text: "@", width: 600 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 600 },
GlyphMetric { name: "b", text: "b", width: 600 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 600 },
GlyphMetric { name: "bar", text: "|", width: 600 },
GlyphMetric { name: "braceleft", text: "{", width: 600 },
GlyphMetric { name: "braceright", text: "}", width: 600 },
GlyphMetric { name: "bracketleft", text: "[", width: 600 },
GlyphMetric { name: "bracketright", text: "]", width: 600 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 600 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 600 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 600 },
GlyphMetric { name: "c", text: "c", width: 600 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 600 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 600 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 600 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 600 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 600 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 600 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 600 },
GlyphMetric { name: "colon", text: ":", width: 600 },
GlyphMetric { name: "comma", text: ",", width: 600 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 600 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 600 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 600 },
GlyphMetric { name: "d", text: "d", width: 600 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 600 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 600 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 600 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 600 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 600 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 600 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 600 },
GlyphMetric { name: "dollar", text: "$", width: 600 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 600 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 600 },
GlyphMetric { name: "e", text: "e", width: 600 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 600 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 600 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 600 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 600 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 600 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 600 },
GlyphMetric { name: "eight", text: "8", width: 600 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 600 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 600 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 600 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 600 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 600 },
GlyphMetric { name: "equal", text: "=", width: 600 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 600 },
GlyphMetric { name: "exclam", text: "!", width: 600 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 600 },
GlyphMetric { name: "f", text: "f", width: 600 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 600 },
GlyphMetric { name: "five", text: "5", width: 600 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 600 },
GlyphMetric { name: "florin", text: "\u{192}", width: 600 },
GlyphMetric { name: "four", text: "4", width: 600 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 600 },
GlyphMetric { name: "g", text: "g", width: 600 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 600 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 600 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 600 },
GlyphMetric { name: "grave", text: "`", width: 600 },
GlyphMetric { name: "greater", text: ">", width: 600 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 600 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 600 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 600 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 600 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 600 },
GlyphMetric { name: "h", text: "h", width: 600 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 600 },
GlyphMetric { name: "hyphen", text: "-", width: 600 },
GlyphMetric { name: "i", text: "i", width: 600 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 600 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 600 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 600 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 600 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 600 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 600 },
GlyphMetric { name: "j", text: "j", width: 600 },
GlyphMetric { name: "k", text: "k", width: 600 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 600 },
GlyphMetric { name: "l", text: "l", width: 600 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 600 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 600 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 600 },
GlyphMetric { name: "less", text: "<", width: 600 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 600 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 600 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 600 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 600 },
GlyphMetric { name: "m", text: "m", width: 600 },
GlyphMetric { name: "macron", text: "\u{af}", width: 600 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 600 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 600 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 600 },
GlyphMetric { name: "n", text: "n", width: 600 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 600 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 600 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 600 },
GlyphMetric { name: "nine", text: "9", width: 600 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 600 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 600 },
GlyphMetric { name: "numbersign", text: "#", width: 600 },
GlyphMetric { name: "o", text: "o", width: 600 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 600 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 600 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 600 },
GlyphMetric { name: "oe", text: "\u{153}", width: 600 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 600 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 600 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 600 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 600 },
GlyphMetric { name: "one", text: "1", width: 600 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 600 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 600 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 600 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 600 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 600 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 600 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 600 },
GlyphMetric { name: "p", text: "p", width: 600 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 600 },
GlyphMetric { name: "parenleft", text: "(", width: 600 },
GlyphMetric { name: "parenright", text: ")", width: 600 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 600 },
GlyphMetric { name: "percent", text: "%", width: 600 },
GlyphMetric { name: "period", text: ".", width: 600 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 600 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 600 },
GlyphMetric { name: "plus", text: "+", width: 600 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 600 },
GlyphMetric { name: "q", text: "q", width: 600 },
GlyphMetric { name: "question", text: "?", width: 600 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 600 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 600 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 600 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 600 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 600 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 600 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 600 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 600 },
GlyphMetric { name: "quotesingle", text: "'", width: 600 },
GlyphMetric { name: "r", text: "r", width: 600 },
GlyphMetric { name: "racute", text: "\u{155}", width: 600 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 600 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 600 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 600 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 600 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 600 },
GlyphMetric { name: "s", text: "s", width: 600 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 600 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 600 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 600 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 600 },
GlyphMetric { name: "section", text: "\u{a7}", width: 600 },
GlyphMetric { name: "semicolon", text: ";", width: 600 },
GlyphMetric { name: "seven", text: "7", width: 600 },
GlyphMetric { name: "six", text: "6", width: 600 },
GlyphMetric { name: "slash", text: "/", width: 600 },
GlyphMetric { name: "space", text: " ", width: 600 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 600 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 600 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 600 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 600 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 600 },
GlyphMetric { name: "three", text: "3", width: 600 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 600 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 600 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 600 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 600 },
GlyphMetric { name: "two", text: "2", width: 600 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 600 },
GlyphMetric { name: "u", text: "u", width: 600 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 600 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 600 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 600 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 600 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 600 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 600 },
GlyphMetric { name: "underscore", text: "_", width: 600 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 600 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 600 },
GlyphMetric { name: "v", text: "v", width: 600 },
GlyphMetric { name: "w", text: "w", width: 600 },
GlyphMetric { name: "x", text: "x", width: 600 },
GlyphMetric { name: "y", text: "y", width: 600 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 600 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 600 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 600 },
GlyphMetric { name: "z", text: "z", width: 600 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 600 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 600 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 600 },
GlyphMetric { name: "zero", text: "0", width: 600 },
];
#[rustfmt::skip]
const COURIER_BOLD_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const COURIER_BOLD_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const COURIER_BOLDOBLIQUE_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 600 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 600 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 600 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 600 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 600 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 600 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 600 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 600 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 600 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 600 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 600 },
GlyphMetric { name: "B", text: "B", width: 600 },
GlyphMetric { name: "C", text: "C", width: 600 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 600 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 600 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 600 },
GlyphMetric { name: "D", text: "D", width: 600 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 600 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 600 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 600 },
GlyphMetric { name: "E", text: "E", width: 600 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 600 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 600 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 600 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 600 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 600 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 600 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 600 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 600 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 600 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 600 },
GlyphMetric { name: "F", text: "F", width: 600 },
GlyphMetric { name: "G", text: "G", width: 600 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 600 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 600 },
GlyphMetric { name: "H", text: "H", width: 600 },
GlyphMetric { name: "I", text: "I", width: 600 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 600 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 600 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 600 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 600 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 600 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 600 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 600 },
GlyphMetric { name: "J", text: "J", width: 600 },
GlyphMetric { name: "K", text: "K", width: 600 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 600 },
GlyphMetric { name: "L", text: "L", width: 600 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 600 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 600 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 600 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 600 },
GlyphMetric { name: "M", text: "M", width: 600 },
GlyphMetric { name: "N", text: "N", width: 600 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 600 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 600 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 600 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 600 },
GlyphMetric { name: "O", text: "O", width: 600 },
GlyphMetric { name: "OE", text: "\u{152}", width: 600 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 600 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 600 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 600 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 600 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 600 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 600 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 600 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 600 },
GlyphMetric { name: "P", text: "P", width: 600 },
GlyphMetric { name: "Q", text: "Q", width: 600 },
GlyphMetric { name: "R", text: "R", width: 600 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 600 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 600 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 600 },
GlyphMetric { name: "S", text: "S", width: 600 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 600 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 600 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 600 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 600 },
GlyphMetric { name: "T", text: "T", width: 600 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 600 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 600 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 600 },
GlyphMetric { name: "U", text: "U", width: 600 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 600 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 600 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 600 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 600 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 600 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 600 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 600 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 600 },
GlyphMetric { name: "V", text: "V", width: 600 },
GlyphMetric { name: "W", text: "W", width: 600 },
GlyphMetric { name: "X", text: "X", width: 600 },
GlyphMetric { name: "Y", text: "Y", width: 600 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 600 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 600 },
GlyphMetric { name: "Z", text: "Z", width: 600 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 600 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 600 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 600 },
GlyphMetric { name: "a", text: "a", width: 600 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 600 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 600 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 600 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 600 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 600 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 600 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 600 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 600 },
GlyphMetric { name: "ampersand", text: "&", width: 600 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 600 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 600 },
GlyphMetric { name: "asciicircum", text: "^", width: 600 },
GlyphMetric { name: "asciitilde", text: "~", width: 600 },
GlyphMetric { name: "asterisk", text: "*", width: 600 },
GlyphMetric { name: "at", text: "@", width: 600 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 600 },
GlyphMetric { name: "b", text: "b", width: 600 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 600 },
GlyphMetric { name: "bar", text: "|", width: 600 },
GlyphMetric { name: "braceleft", text: "{", width: 600 },
GlyphMetric { name: "braceright", text: "}", width: 600 },
GlyphMetric { name: "bracketleft", text: "[", width: 600 },
GlyphMetric { name: "bracketright", text: "]", width: 600 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 600 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 600 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 600 },
GlyphMetric { name: "c", text: "c", width: 600 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 600 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 600 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 600 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 600 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 600 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 600 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 600 },
GlyphMetric { name: "colon", text: ":", width: 600 },
GlyphMetric { name: "comma", text: ",", width: 600 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 600 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 600 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 600 },
GlyphMetric { name: "d", text: "d", width: 600 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 600 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 600 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 600 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 600 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 600 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 600 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 600 },
GlyphMetric { name: "dollar", text: "$", width: 600 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 600 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 600 },
GlyphMetric { name: "e", text: "e", width: 600 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 600 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 600 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 600 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 600 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 600 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 600 },
GlyphMetric { name: "eight", text: "8", width: 600 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 600 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 600 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 600 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 600 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 600 },
GlyphMetric { name: "equal", text: "=", width: 600 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 600 },
GlyphMetric { name: "exclam", text: "!", width: 600 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 600 },
GlyphMetric { name: "f", text: "f", width: 600 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 600 },
GlyphMetric { name: "five", text: "5", width: 600 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 600 },
GlyphMetric { name: "florin", text: "\u{192}", width: 600 },
GlyphMetric { name: "four", text: "4", width: 600 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 600 },
GlyphMetric { name: "g", text: "g", width: 600 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 600 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 600 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 600 },
GlyphMetric { name: "grave", text: "`", width: 600 },
GlyphMetric { name: "greater", text: ">", width: 600 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 600 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 600 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 600 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 600 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 600 },
GlyphMetric { name: "h", text: "h", width: 600 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 600 },
GlyphMetric { name: "hyphen", text: "-", width: 600 },
GlyphMetric { name: "i", text: "i", width: 600 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 600 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 600 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 600 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 600 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 600 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 600 },
GlyphMetric { name: "j", text: "j", width: 600 },
GlyphMetric { name: "k", text: "k", width: 600 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 600 },
GlyphMetric { name: "l", text: "l", width: 600 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 600 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 600 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 600 },
GlyphMetric { name: "less", text: "<", width: 600 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 600 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 600 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 600 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 600 },
GlyphMetric { name: "m", text: "m", width: 600 },
GlyphMetric { name: "macron", text: "\u{af}", width: 600 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 600 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 600 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 600 },
GlyphMetric { name: "n", text: "n", width: 600 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 600 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 600 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 600 },
GlyphMetric { name: "nine", text: "9", width: 600 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 600 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 600 },
GlyphMetric { name: "numbersign", text: "#", width: 600 },
GlyphMetric { name: "o", text: "o", width: 600 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 600 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 600 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 600 },
GlyphMetric { name: "oe", text: "\u{153}", width: 600 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 600 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 600 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 600 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 600 },
GlyphMetric { name: "one", text: "1", width: 600 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 600 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 600 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 600 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 600 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 600 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 600 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 600 },
GlyphMetric { name: "p", text: "p", width: 600 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 600 },
GlyphMetric { name: "parenleft", text: "(", width: 600 },
GlyphMetric { name: "parenright", text: ")", width: 600 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 600 },
GlyphMetric { name: "percent", text: "%", width: 600 },
GlyphMetric { name: "period", text: ".", width: 600 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 600 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 600 },
GlyphMetric { name: "plus", text: "+", width: 600 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 600 },
GlyphMetric { name: "q", text: "q", width: 600 },
GlyphMetric { name: "question", text: "?", width: 600 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 600 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 600 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 600 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 600 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 600 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 600 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 600 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 600 },
GlyphMetric { name: "quotesingle", text: "'", width: 600 },
GlyphMetric { name: "r", text: "r", width: 600 },
GlyphMetric { name: "racute", text: "\u{155}", width: 600 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 600 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 600 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 600 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 600 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 600 },
GlyphMetric { name: "s", text: "s", width: 600 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 600 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 600 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 600 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 600 },
GlyphMetric { name: "section", text: "\u{a7}", width: 600 },
GlyphMetric { name: "semicolon", text: ";", width: 600 },
GlyphMetric { name: "seven", text: "7", width: 600 },
GlyphMetric { name: "six", text: "6", width: 600 },
GlyphMetric { name: "slash", text: "/", width: 600 },
GlyphMetric { name: "space", text: " ", width: 600 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 600 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 600 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 600 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 600 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 600 },
GlyphMetric { name: "three", text: "3", width: 600 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 600 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 600 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 600 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 600 },
GlyphMetric { name: "two", text: "2", width: 600 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 600 },
GlyphMetric { name: "u", text: "u", width: 600 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 600 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 600 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 600 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 600 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 600 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 600 },
GlyphMetric { name: "underscore", text: "_", width: 600 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 600 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 600 },
GlyphMetric { name: "v", text: "v", width: 600 },
GlyphMetric { name: "w", text: "w", width: 600 },
GlyphMetric { name: "x", text: "x", width: 600 },
GlyphMetric { name: "y", text: "y", width: 600 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 600 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 600 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 600 },
GlyphMetric { name: "z", text: "z", width: 600 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 600 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 600 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 600 },
GlyphMetric { name: "zero", text: "0", width: 600 },
];
#[rustfmt::skip]
const COURIER_BOLDOBLIQUE_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const COURIER_BOLDOBLIQUE_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const COURIER_OBLIQUE_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 600 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 600 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 600 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 600 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 600 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 600 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 600 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 600 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 600 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 600 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 600 },
GlyphMetric { name: "B", text: "B", width: 600 },
GlyphMetric { name: "C", text: "C", width: 600 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 600 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 600 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 600 },
GlyphMetric { name: "D", text: "D", width: 600 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 600 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 600 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 600 },
GlyphMetric { name: "E", text: "E", width: 600 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 600 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 600 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 600 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 600 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 600 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 600 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 600 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 600 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 600 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 600 },
GlyphMetric { name: "F", text: "F", width: 600 },
GlyphMetric { name: "G", text: "G", width: 600 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 600 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 600 },
GlyphMetric { name: "H", text: "H", width: 600 },
GlyphMetric { name: "I", text: "I", width: 600 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 600 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 600 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 600 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 600 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 600 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 600 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 600 },
GlyphMetric { name: "J", text: "J", width: 600 },
GlyphMetric { name: "K", text: "K", width: 600 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 600 },
GlyphMetric { name: "L", text: "L", width: 600 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 600 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 600 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 600 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 600 },
GlyphMetric { name: "M", text: "M", width: 600 },
GlyphMetric { name: "N", text: "N", width: 600 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 600 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 600 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 600 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 600 },
GlyphMetric { name: "O", text: "O", width: 600 },
GlyphMetric { name: "OE", text: "\u{152}", width: 600 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 600 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 600 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 600 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 600 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 600 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 600 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 600 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 600 },
GlyphMetric { name: "P", text: "P", width: 600 },
GlyphMetric { name: "Q", text: "Q", width: 600 },
GlyphMetric { name: "R", text: "R", width: 600 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 600 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 600 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 600 },
GlyphMetric { name: "S", text: "S", width: 600 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 600 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 600 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 600 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 600 },
GlyphMetric { name: "T", text: "T", width: 600 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 600 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 600 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 600 },
GlyphMetric { name: "U", text: "U", width: 600 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 600 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 600 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 600 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 600 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 600 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 600 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 600 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 600 },
GlyphMetric { name: "V", text: "V", width: 600 },
GlyphMetric { name: "W", text: "W", width: 600 },
GlyphMetric { name: "X", text: "X", width: 600 },
GlyphMetric { name: "Y", text: "Y", width: 600 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 600 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 600 },
GlyphMetric { name: "Z", text: "Z", width: 600 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 600 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 600 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 600 },
GlyphMetric { name: "a", text: "a", width: 600 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 600 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 600 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 600 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 600 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 600 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 600 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 600 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 600 },
GlyphMetric { name: "ampersand", text: "&", width: 600 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 600 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 600 },
GlyphMetric { name: "asciicircum", text: "^", width: 600 },
GlyphMetric { name: "asciitilde", text: "~", width: 600 },
GlyphMetric { name: "asterisk", text: "*", width: 600 },
GlyphMetric { name: "at", text: "@", width: 600 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 600 },
GlyphMetric { name: "b", text: "b", width: 600 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 600 },
GlyphMetric { name: "bar", text: "|", width: 600 },
GlyphMetric { name: "braceleft", text: "{", width: 600 },
GlyphMetric { name: "braceright", text: "}", width: 600 },
GlyphMetric { name: "bracketleft", text: "[", width: 600 },
GlyphMetric { name: "bracketright", text: "]", width: 600 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 600 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 600 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 600 },
GlyphMetric { name: "c", text: "c", width: 600 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 600 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 600 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 600 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 600 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 600 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 600 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 600 },
GlyphMetric { name: "colon", text: ":", width: 600 },
GlyphMetric { name: "comma", text: ",", width: 600 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 600 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 600 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 600 },
GlyphMetric { name: "d", text: "d", width: 600 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 600 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 600 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 600 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 600 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 600 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 600 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 600 },
GlyphMetric { name: "dollar", text: "$", width: 600 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 600 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 600 },
GlyphMetric { name: "e", text: "e", width: 600 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 600 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 600 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 600 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 600 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 600 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 600 },
GlyphMetric { name: "eight", text: "8", width: 600 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 600 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 600 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 600 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 600 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 600 },
GlyphMetric { name: "equal", text: "=", width: 600 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 600 },
GlyphMetric { name: "exclam", text: "!", width: 600 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 600 },
GlyphMetric { name: "f", text: "f", width: 600 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 600 },
GlyphMetric { name: "five", text: "5", width: 600 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 600 },
GlyphMetric { name: "florin", text: "\u{192}", width: 600 },
GlyphMetric { name: "four", text: "4", width: 600 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 600 },
GlyphMetric { name: "g", text: "g", width: 600 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 600 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 600 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 600 },
GlyphMetric { name: "grave", text: "`", width: 600 },
GlyphMetric { name: "greater", text: ">", width: 600 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 600 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 600 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 600 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 600 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 600 },
GlyphMetric { name: "h", text: "h", width: 600 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 600 },
GlyphMetric { name: "hyphen", text: "-", width: 600 },
GlyphMetric { name: "i", text: "i", width: 600 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 600 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 600 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 600 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 600 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 600 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 600 },
GlyphMetric { name: "j", text: "j", width: 600 },
GlyphMetric { name: "k", text: "k", width: 600 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 600 },
GlyphMetric { name: "l", text: "l", width: 600 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 600 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 600 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 600 },
GlyphMetric { name: "less", text: "<", width: 600 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 600 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 600 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 600 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 600 },
GlyphMetric { name: "m", text: "m", width: 600 },
GlyphMetric { name: "macron", text: "\u{af}", width: 600 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 600 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 600 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 600 },
GlyphMetric { name: "n", text: "n", width: 600 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 600 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 600 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 600 },
GlyphMetric { name: "nine", text: "9", width: 600 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 600 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 600 },
GlyphMetric { name: "numbersign", text: "#", width: 600 },
GlyphMetric { name: "o", text: "o", width: 600 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 600 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 600 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 600 },
GlyphMetric { name: "oe", text: "\u{153}", width: 600 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 600 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 600 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 600 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 600 },
GlyphMetric { name: "one", text: "1", width: 600 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 600 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 600 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 600 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 600 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 600 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 600 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 600 },
GlyphMetric { name: "p", text: "p", width: 600 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 600 },
GlyphMetric { name: "parenleft", text: "(", width: 600 },
GlyphMetric { name: "parenright", text: ")", width: 600 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 600 },
GlyphMetric { name: "percent", text: "%", width: 600 },
GlyphMetric { name: "period", text: ".", width: 600 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 600 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 600 },
GlyphMetric { name: "plus", text: "+", width: 600 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 600 },
GlyphMetric { name: "q", text: "q", width: 600 },
GlyphMetric { name: "question", text: "?", width: 600 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 600 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 600 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 600 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 600 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 600 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 600 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 600 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 600 },
GlyphMetric { name: "quotesingle", text: "'", width: 600 },
GlyphMetric { name: "r", text: "r", width: 600 },
GlyphMetric { name: "racute", text: "\u{155}", width: 600 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 600 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 600 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 600 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 600 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 600 },
GlyphMetric { name: "s", text: "s", width: 600 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 600 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 600 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 600 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 600 },
GlyphMetric { name: "section", text: "\u{a7}", width: 600 },
GlyphMetric { name: "semicolon", text: ";", width: 600 },
GlyphMetric { name: "seven", text: "7", width: 600 },
GlyphMetric { name: "six", text: "6", width: 600 },
GlyphMetric { name: "slash", text: "/", width: 600 },
GlyphMetric { name: "space", text: " ", width: 600 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 600 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 600 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 600 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 600 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 600 },
GlyphMetric { name: "three", text: "3", width: 600 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 600 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 600 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 600 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 600 },
GlyphMetric { name: "two", text: "2", width: 600 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 600 },
GlyphMetric { name: "u", text: "u", width: 600 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 600 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 600 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 600 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 600 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 600 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 600 },
GlyphMetric { name: "underscore", text: "_", width: 600 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 600 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 600 },
GlyphMetric { name: "v", text: "v", width: 600 },
GlyphMetric { name: "w", text: "w", width: 600 },
GlyphMetric { name: "x", text: "x", width: 600 },
GlyphMetric { name: "y", text: "y", width: 600 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 600 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 600 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 600 },
GlyphMetric { name: "z", text: "z", width: 600 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 600 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 600 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 600 },
GlyphMetric { name: "zero", text: "0", width: 600 },
];
#[rustfmt::skip]
const COURIER_OBLIQUE_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const COURIER_OBLIQUE_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const COURIER_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 600 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 600 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 600 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 600 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 600 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 600 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 600 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 600 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 600 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 600 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 600 },
GlyphMetric { name: "B", text: "B", width: 600 },
GlyphMetric { name: "C", text: "C", width: 600 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 600 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 600 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 600 },
GlyphMetric { name: "D", text: "D", width: 600 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 600 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 600 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 600 },
GlyphMetric { name: "E", text: "E", width: 600 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 600 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 600 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 600 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 600 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 600 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 600 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 600 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 600 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 600 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 600 },
GlyphMetric { name: "F", text: "F", width: 600 },
GlyphMetric { name: "G", text: "G", width: 600 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 600 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 600 },
GlyphMetric { name: "H", text: "H", width: 600 },
GlyphMetric { name: "I", text: "I", width: 600 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 600 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 600 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 600 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 600 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 600 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 600 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 600 },
GlyphMetric { name: "J", text: "J", width: 600 },
GlyphMetric { name: "K", text: "K", width: 600 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 600 },
GlyphMetric { name: "L", text: "L", width: 600 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 600 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 600 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 600 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 600 },
GlyphMetric { name: "M", text: "M", width: 600 },
GlyphMetric { name: "N", text: "N", width: 600 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 600 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 600 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 600 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 600 },
GlyphMetric { name: "O", text: "O", width: 600 },
GlyphMetric { name: "OE", text: "\u{152}", width: 600 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 600 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 600 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 600 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 600 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 600 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 600 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 600 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 600 },
GlyphMetric { name: "P", text: "P", width: 600 },
GlyphMetric { name: "Q", text: "Q", width: 600 },
GlyphMetric { name: "R", text: "R", width: 600 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 600 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 600 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 600 },
GlyphMetric { name: "S", text: "S", width: 600 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 600 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 600 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 600 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 600 },
GlyphMetric { name: "T", text: "T", width: 600 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 600 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 600 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 600 },
GlyphMetric { name: "U", text: "U", width: 600 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 600 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 600 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 600 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 600 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 600 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 600 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 600 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 600 },
GlyphMetric { name: "V", text: "V", width: 600 },
GlyphMetric { name: "W", text: "W", width: 600 },
GlyphMetric { name: "X", text: "X", width: 600 },
GlyphMetric { name: "Y", text: "Y", width: 600 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 600 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 600 },
GlyphMetric { name: "Z", text: "Z", width: 600 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 600 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 600 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 600 },
GlyphMetric { name: "a", text: "a", width: 600 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 600 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 600 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 600 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 600 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 600 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 600 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 600 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 600 },
GlyphMetric { name: "ampersand", text: "&", width: 600 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 600 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 600 },
GlyphMetric { name: "asciicircum", text: "^", width: 600 },
GlyphMetric { name: "asciitilde", text: "~", width: 600 },
GlyphMetric { name: "asterisk", text: "*", width: 600 },
GlyphMetric { name: "at", text: "@", width: 600 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 600 },
GlyphMetric { name: "b", text: "b", width: 600 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 600 },
GlyphMetric { name: "bar", text: "|", width: 600 },
GlyphMetric { name: "braceleft", text: "{", width: 600 },
GlyphMetric { name: "braceright", text: "}", width: 600 },
GlyphMetric { name: "bracketleft", text: "[", width: 600 },
GlyphMetric { name: "bracketright", text: "]", width: 600 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 600 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 600 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 600 },
GlyphMetric { name: "c", text: "c", width: 600 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 600 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 600 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 600 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 600 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 600 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 600 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 600 },
GlyphMetric { name: "colon", text: ":", width: 600 },
GlyphMetric { name: "comma", text: ",", width: 600 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 600 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 600 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 600 },
GlyphMetric { name: "d", text: "d", width: 600 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 600 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 600 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 600 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 600 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 600 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 600 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 600 },
GlyphMetric { name: "dollar", text: "$", width: 600 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 600 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 600 },
GlyphMetric { name: "e", text: "e", width: 600 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 600 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 600 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 600 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 600 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 600 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 600 },
GlyphMetric { name: "eight", text: "8", width: 600 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 600 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 600 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 600 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 600 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 600 },
GlyphMetric { name: "equal", text: "=", width: 600 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 600 },
GlyphMetric { name: "exclam", text: "!", width: 600 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 600 },
GlyphMetric { name: "f", text: "f", width: 600 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 600 },
GlyphMetric { name: "five", text: "5", width: 600 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 600 },
GlyphMetric { name: "florin", text: "\u{192}", width: 600 },
GlyphMetric { name: "four", text: "4", width: 600 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 600 },
GlyphMetric { name: "g", text: "g", width: 600 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 600 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 600 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 600 },
GlyphMetric { name: "grave", text: "`", width: 600 },
GlyphMetric { name: "greater", text: ">", width: 600 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 600 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 600 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 600 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 600 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 600 },
GlyphMetric { name: "h", text: "h", width: 600 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 600 },
GlyphMetric { name: "hyphen", text: "-", width: 600 },
GlyphMetric { name: "i", text: "i", width: 600 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 600 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 600 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 600 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 600 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 600 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 600 },
GlyphMetric { name: "j", text: "j", width: 600 },
GlyphMetric { name: "k", text: "k", width: 600 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 600 },
GlyphMetric { name: "l", text: "l", width: 600 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 600 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 600 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 600 },
GlyphMetric { name: "less", text: "<", width: 600 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 600 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 600 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 600 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 600 },
GlyphMetric { name: "m", text: "m", width: 600 },
GlyphMetric { name: "macron", text: "\u{af}", width: 600 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 600 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 600 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 600 },
GlyphMetric { name: "n", text: "n", width: 600 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 600 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 600 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 600 },
GlyphMetric { name: "nine", text: "9", width: 600 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 600 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 600 },
GlyphMetric { name: "numbersign", text: "#", width: 600 },
GlyphMetric { name: "o", text: "o", width: 600 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 600 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 600 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 600 },
GlyphMetric { name: "oe", text: "\u{153}", width: 600 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 600 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 600 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 600 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 600 },
GlyphMetric { name: "one", text: "1", width: 600 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 600 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 600 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 600 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 600 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 600 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 600 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 600 },
GlyphMetric { name: "p", text: "p", width: 600 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 600 },
GlyphMetric { name: "parenleft", text: "(", width: 600 },
GlyphMetric { name: "parenright", text: ")", width: 600 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 600 },
GlyphMetric { name: "percent", text: "%", width: 600 },
GlyphMetric { name: "period", text: ".", width: 600 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 600 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 600 },
GlyphMetric { name: "plus", text: "+", width: 600 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 600 },
GlyphMetric { name: "q", text: "q", width: 600 },
GlyphMetric { name: "question", text: "?", width: 600 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 600 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 600 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 600 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 600 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 600 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 600 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 600 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 600 },
GlyphMetric { name: "quotesingle", text: "'", width: 600 },
GlyphMetric { name: "r", text: "r", width: 600 },
GlyphMetric { name: "racute", text: "\u{155}", width: 600 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 600 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 600 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 600 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 600 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 600 },
GlyphMetric { name: "s", text: "s", width: 600 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 600 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 600 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 600 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 600 },
GlyphMetric { name: "section", text: "\u{a7}", width: 600 },
GlyphMetric { name: "semicolon", text: ";", width: 600 },
GlyphMetric { name: "seven", text: "7", width: 600 },
GlyphMetric { name: "six", text: "6", width: 600 },
GlyphMetric { name: "slash", text: "/", width: 600 },
GlyphMetric { name: "space", text: " ", width: 600 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 600 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 600 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 600 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 600 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 600 },
GlyphMetric { name: "three", text: "3", width: 600 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 600 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 600 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 600 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 600 },
GlyphMetric { name: "two", text: "2", width: 600 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 600 },
GlyphMetric { name: "u", text: "u", width: 600 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 600 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 600 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 600 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 600 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 600 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 600 },
GlyphMetric { name: "underscore", text: "_", width: 600 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 600 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 600 },
GlyphMetric { name: "v", text: "v", width: 600 },
GlyphMetric { name: "w", text: "w", width: 600 },
GlyphMetric { name: "x", text: "x", width: 600 },
GlyphMetric { name: "y", text: "y", width: 600 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 600 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 600 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 600 },
GlyphMetric { name: "z", text: "z", width: 600 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 600 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 600 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 600 },
GlyphMetric { name: "zero", text: "0", width: 600 },
];
#[rustfmt::skip]
const COURIER_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const COURIER_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const HELVETICA_BOLD_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 722 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 1000 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 722 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 722 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 722 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 722 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 722 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 722 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 722 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 722 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 722 },
GlyphMetric { name: "B", text: "B", width: 722 },
GlyphMetric { name: "C", text: "C", width: 722 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 722 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 722 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 722 },
GlyphMetric { name: "D", text: "D", width: 722 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 722 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 722 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 612 },
GlyphMetric { name: "E", text: "E", width: 667 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 667 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 667 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 667 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 667 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 667 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 667 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 667 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 667 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 722 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 556 },
GlyphMetric { name: "F", text: "F", width: 611 },
GlyphMetric { name: "G", text: "G", width: 778 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 778 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 778 },
GlyphMetric { name: "H", text: "H", width: 722 },
GlyphMetric { name: "I", text: "I", width: 278 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 278 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 278 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 278 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 278 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 278 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 278 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 278 },
GlyphMetric { name: "J", text: "J", width: 556 },
GlyphMetric { name: "K", text: "K", width: 722 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 722 },
GlyphMetric { name: "L", text: "L", width: 611 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 611 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 611 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 611 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 611 },
GlyphMetric { name: "M", text: "M", width: 833 },
GlyphMetric { name: "N", text: "N", width: 722 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 722 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 722 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 722 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 722 },
GlyphMetric { name: "O", text: "O", width: 778 },
GlyphMetric { name: "OE", text: "\u{152}", width: 1000 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 778 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 778 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 778 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 778 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 778 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 778 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 778 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 778 },
GlyphMetric { name: "P", text: "P", width: 667 },
GlyphMetric { name: "Q", text: "Q", width: 778 },
GlyphMetric { name: "R", text: "R", width: 722 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 722 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 722 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 722 },
GlyphMetric { name: "S", text: "S", width: 667 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 667 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 667 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 667 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 667 },
GlyphMetric { name: "T", text: "T", width: 611 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 611 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 611 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 667 },
GlyphMetric { name: "U", text: "U", width: 722 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 722 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 722 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 722 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 722 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 722 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 722 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 722 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 722 },
GlyphMetric { name: "V", text: "V", width: 667 },
GlyphMetric { name: "W", text: "W", width: 944 },
GlyphMetric { name: "X", text: "X", width: 667 },
GlyphMetric { name: "Y", text: "Y", width: 667 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 667 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 667 },
GlyphMetric { name: "Z", text: "Z", width: 611 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 611 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 611 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 611 },
GlyphMetric { name: "a", text: "a", width: 556 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 556 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 556 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 556 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 333 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 556 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 889 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 556 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 556 },
GlyphMetric { name: "ampersand", text: "&", width: 722 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 556 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 556 },
GlyphMetric { name: "asciicircum", text: "^", width: 584 },
GlyphMetric { name: "asciitilde", text: "~", width: 584 },
GlyphMetric { name: "asterisk", text: "*", width: 389 },
GlyphMetric { name: "at", text: "@", width: 975 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 556 },
GlyphMetric { name: "b", text: "b", width: 611 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 278 },
GlyphMetric { name: "bar", text: "|", width: 280 },
GlyphMetric { name: "braceleft", text: "{", width: 389 },
GlyphMetric { name: "braceright", text: "}", width: 389 },
GlyphMetric { name: "bracketleft", text: "[", width: 333 },
GlyphMetric { name: "bracketright", text: "]", width: 333 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 333 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 280 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 350 },
GlyphMetric { name: "c", text: "c", width: 556 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 556 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 333 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 556 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 556 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 333 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 556 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 333 },
GlyphMetric { name: "colon", text: ":", width: 333 },
GlyphMetric { name: "comma", text: ",", width: 278 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 250 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 737 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 556 },
GlyphMetric { name: "d", text: "d", width: 611 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 556 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 556 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 743 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 611 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 400 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 333 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 584 },
GlyphMetric { name: "dollar", text: "$", width: 556 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 333 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 278 },
GlyphMetric { name: "e", text: "e", width: 556 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 556 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 556 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 556 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 556 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 556 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 556 },
GlyphMetric { name: "eight", text: "8", width: 556 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 1000 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 556 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 1000 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 556 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 556 },
GlyphMetric { name: "equal", text: "=", width: 584 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 611 },
GlyphMetric { name: "exclam", text: "!", width: 333 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 333 },
GlyphMetric { name: "f", text: "f", width: 333 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 611 },
GlyphMetric { name: "five", text: "5", width: 556 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 611 },
GlyphMetric { name: "florin", text: "\u{192}", width: 556 },
GlyphMetric { name: "four", text: "4", width: 556 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 167 },
GlyphMetric { name: "g", text: "g", width: 611 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 611 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 611 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 611 },
GlyphMetric { name: "grave", text: "`", width: 333 },
GlyphMetric { name: "greater", text: ">", width: 584 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 549 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 556 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 556 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 333 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 333 },
GlyphMetric { name: "h", text: "h", width: 611 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 333 },
GlyphMetric { name: "hyphen", text: "-", width: 333 },
GlyphMetric { name: "i", text: "i", width: 278 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 278 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 278 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 278 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 278 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 278 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 278 },
GlyphMetric { name: "j", text: "j", width: 278 },
GlyphMetric { name: "k", text: "k", width: 556 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 556 },
GlyphMetric { name: "l", text: "l", width: 278 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 278 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 400 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 278 },
GlyphMetric { name: "less", text: "<", width: 584 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 549 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 584 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 494 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 278 },
GlyphMetric { name: "m", text: "m", width: 889 },
GlyphMetric { name: "macron", text: "\u{af}", width: 333 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 584 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 611 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 584 },
GlyphMetric { name: "n", text: "n", width: 611 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 611 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 611 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 611 },
GlyphMetric { name: "nine", text: "9", width: 556 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 549 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 611 },
GlyphMetric { name: "numbersign", text: "#", width: 556 },
GlyphMetric { name: "o", text: "o", width: 611 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 611 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 611 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 611 },
GlyphMetric { name: "oe", text: "\u{153}", width: 944 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 333 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 611 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 611 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 611 },
GlyphMetric { name: "one", text: "1", width: 556 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 834 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 834 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 333 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 370 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 365 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 611 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 611 },
GlyphMetric { name: "p", text: "p", width: 611 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 556 },
GlyphMetric { name: "parenleft", text: "(", width: 333 },
GlyphMetric { name: "parenright", text: ")", width: 333 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 494 },
GlyphMetric { name: "percent", text: "%", width: 889 },
GlyphMetric { name: "period", text: ".", width: 278 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 278 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 1000 },
GlyphMetric { name: "plus", text: "+", width: 584 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 584 },
GlyphMetric { name: "q", text: "q", width: 611 },
GlyphMetric { name: "question", text: "?", width: 611 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 611 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 474 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 500 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 500 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 500 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 278 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 278 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 278 },
GlyphMetric { name: "quotesingle", text: "'", width: 238 },
GlyphMetric { name: "r", text: "r", width: 389 },
GlyphMetric { name: "racute", text: "\u{155}", width: 389 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 549 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 389 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 389 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 737 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 333 },
GlyphMetric { name: "s", text: "s", width: 556 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 556 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 556 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 556 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 556 },
GlyphMetric { name: "section", text: "\u{a7}", width: 556 },
GlyphMetric { name: "semicolon", text: ";", width: 333 },
GlyphMetric { name: "seven", text: "7", width: 556 },
GlyphMetric { name: "six", text: "6", width: 556 },
GlyphMetric { name: "slash", text: "/", width: 278 },
GlyphMetric { name: "space", text: " ", width: 278 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 556 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 333 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 389 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 333 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 611 },
GlyphMetric { name: "three", text: "3", width: 556 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 834 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 333 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 333 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 1000 },
GlyphMetric { name: "two", text: "2", width: 556 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 333 },
GlyphMetric { name: "u", text: "u", width: 611 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 611 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 611 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 611 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 611 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 611 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 611 },
GlyphMetric { name: "underscore", text: "_", width: 556 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 611 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 611 },
GlyphMetric { name: "v", text: "v", width: 556 },
GlyphMetric { name: "w", text: "w", width: 778 },
GlyphMetric { name: "x", text: "x", width: 556 },
GlyphMetric { name: "y", text: "y", width: 556 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 556 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 556 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 556 },
GlyphMetric { name: "z", text: "z", width: 500 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 500 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 500 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 500 },
GlyphMetric { name: "zero", text: "0", width: 556 },
];
#[rustfmt::skip]
const HELVETICA_BOLD_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const HELVETICA_BOLD_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const HELVETICA_BOLDOBLIQUE_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 722 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 1000 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 722 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 722 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 722 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 722 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 722 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 722 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 722 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 722 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 722 },
GlyphMetric { name: "B", text: "B", width: 722 },
GlyphMetric { name: "C", text: "C", width: 722 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 722 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 722 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 722 },
GlyphMetric { name: "D", text: "D", width: 722 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 722 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 722 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 612 },
GlyphMetric { name: "E", text: "E", width: 667 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 667 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 667 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 667 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 667 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 667 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 667 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 667 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 667 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 722 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 556 },
GlyphMetric { name: "F", text: "F", width: 611 },
GlyphMetric { name: "G", text: "G", width: 778 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 778 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 778 },
GlyphMetric { name: "H", text: "H", width: 722 },
GlyphMetric { name: "I", text: "I", width: 278 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 278 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 278 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 278 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 278 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 278 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 278 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 278 },
GlyphMetric { name: "J", text: "J", width: 556 },
GlyphMetric { name: "K", text: "K", width: 722 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 722 },
GlyphMetric { name: "L", text: "L", width: 611 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 611 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 611 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 611 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 611 },
GlyphMetric { name: "M", text: "M", width: 833 },
GlyphMetric { name: "N", text: "N", width: 722 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 722 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 722 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 722 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 722 },
GlyphMetric { name: "O", text: "O", width: 778 },
GlyphMetric { name: "OE", text: "\u{152}", width: 1000 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 778 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 778 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 778 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 778 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 778 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 778 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 778 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 778 },
GlyphMetric { name: "P", text: "P", width: 667 },
GlyphMetric { name: "Q", text: "Q", width: 778 },
GlyphMetric { name: "R", text: "R", width: 722 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 722 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 722 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 722 },
GlyphMetric { name: "S", text: "S", width: 667 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 667 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 667 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 667 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 667 },
GlyphMetric { name: "T", text: "T", width: 611 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 611 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 611 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 667 },
GlyphMetric { name: "U", text: "U", width: 722 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 722 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 722 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 722 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 722 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 722 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 722 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 722 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 722 },
GlyphMetric { name: "V", text: "V", width: 667 },
GlyphMetric { name: "W", text: "W", width: 944 },
GlyphMetric { name: "X", text: "X", width: 667 },
GlyphMetric { name: "Y", text: "Y", width: 667 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 667 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 667 },
GlyphMetric { name: "Z", text: "Z", width: 611 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 611 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 611 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 611 },
GlyphMetric { name: "a", text: "a", width: 556 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 556 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 556 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 556 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 333 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 556 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 889 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 556 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 556 },
GlyphMetric { name: "ampersand", text: "&", width: 722 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 556 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 556 },
GlyphMetric { name: "asciicircum", text: "^", width: 584 },
GlyphMetric { name: "asciitilde", text: "~", width: 584 },
GlyphMetric { name: "asterisk", text: "*", width: 389 },
GlyphMetric { name: "at", text: "@", width: 975 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 556 },
GlyphMetric { name: "b", text: "b", width: 611 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 278 },
GlyphMetric { name: "bar", text: "|", width: 280 },
GlyphMetric { name: "braceleft", text: "{", width: 389 },
GlyphMetric { name: "braceright", text: "}", width: 389 },
GlyphMetric { name: "bracketleft", text: "[", width: 333 },
GlyphMetric { name: "bracketright", text: "]", width: 333 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 333 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 280 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 350 },
GlyphMetric { name: "c", text: "c", width: 556 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 556 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 333 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 556 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 556 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 333 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 556 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 333 },
GlyphMetric { name: "colon", text: ":", width: 333 },
GlyphMetric { name: "comma", text: ",", width: 278 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 250 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 737 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 556 },
GlyphMetric { name: "d", text: "d", width: 611 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 556 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 556 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 743 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 611 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 400 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 333 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 584 },
GlyphMetric { name: "dollar", text: "$", width: 556 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 333 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 278 },
GlyphMetric { name: "e", text: "e", width: 556 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 556 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 556 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 556 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 556 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 556 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 556 },
GlyphMetric { name: "eight", text: "8", width: 556 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 1000 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 556 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 1000 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 556 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 556 },
GlyphMetric { name: "equal", text: "=", width: 584 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 611 },
GlyphMetric { name: "exclam", text: "!", width: 333 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 333 },
GlyphMetric { name: "f", text: "f", width: 333 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 611 },
GlyphMetric { name: "five", text: "5", width: 556 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 611 },
GlyphMetric { name: "florin", text: "\u{192}", width: 556 },
GlyphMetric { name: "four", text: "4", width: 556 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 167 },
GlyphMetric { name: "g", text: "g", width: 611 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 611 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 611 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 611 },
GlyphMetric { name: "grave", text: "`", width: 333 },
GlyphMetric { name: "greater", text: ">", width: 584 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 549 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 556 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 556 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 333 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 333 },
GlyphMetric { name: "h", text: "h", width: 611 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 333 },
GlyphMetric { name: "hyphen", text: "-", width: 333 },
GlyphMetric { name: "i", text: "i", width: 278 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 278 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 278 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 278 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 278 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 278 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 278 },
GlyphMetric { name: "j", text: "j", width: 278 },
GlyphMetric { name: "k", text: "k", width: 556 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 556 },
GlyphMetric { name: "l", text: "l", width: 278 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 278 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 400 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 278 },
GlyphMetric { name: "less", text: "<", width: 584 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 549 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 584 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 494 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 278 },
GlyphMetric { name: "m", text: "m", width: 889 },
GlyphMetric { name: "macron", text: "\u{af}", width: 333 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 584 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 611 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 584 },
GlyphMetric { name: "n", text: "n", width: 611 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 611 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 611 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 611 },
GlyphMetric { name: "nine", text: "9", width: 556 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 549 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 611 },
GlyphMetric { name: "numbersign", text: "#", width: 556 },
GlyphMetric { name: "o", text: "o", width: 611 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 611 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 611 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 611 },
GlyphMetric { name: "oe", text: "\u{153}", width: 944 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 333 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 611 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 611 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 611 },
GlyphMetric { name: "one", text: "1", width: 556 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 834 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 834 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 333 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 370 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 365 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 611 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 611 },
GlyphMetric { name: "p", text: "p", width: 611 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 556 },
GlyphMetric { name: "parenleft", text: "(", width: 333 },
GlyphMetric { name: "parenright", text: ")", width: 333 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 494 },
GlyphMetric { name: "percent", text: "%", width: 889 },
GlyphMetric { name: "period", text: ".", width: 278 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 278 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 1000 },
GlyphMetric { name: "plus", text: "+", width: 584 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 584 },
GlyphMetric { name: "q", text: "q", width: 611 },
GlyphMetric { name: "question", text: "?", width: 611 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 611 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 474 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 500 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 500 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 500 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 278 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 278 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 278 },
GlyphMetric { name: "quotesingle", text: "'", width: 238 },
GlyphMetric { name: "r", text: "r", width: 389 },
GlyphMetric { name: "racute", text: "\u{155}", width: 389 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 549 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 389 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 389 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 737 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 333 },
GlyphMetric { name: "s", text: "s", width: 556 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 556 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 556 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 556 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 556 },
GlyphMetric { name: "section", text: "\u{a7}", width: 556 },
GlyphMetric { name: "semicolon", text: ";", width: 333 },
GlyphMetric { name: "seven", text: "7", width: 556 },
GlyphMetric { name: "six", text: "6", width: 556 },
GlyphMetric { name: "slash", text: "/", width: 278 },
GlyphMetric { name: "space", text: " ", width: 278 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 556 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 333 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 389 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 333 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 611 },
GlyphMetric { name: "three", text: "3", width: 556 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 834 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 333 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 333 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 1000 },
GlyphMetric { name: "two", text: "2", width: 556 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 333 },
GlyphMetric { name: "u", text: "u", width: 611 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 611 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 611 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 611 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 611 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 611 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 611 },
GlyphMetric { name: "underscore", text: "_", width: 556 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 611 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 611 },
GlyphMetric { name: "v", text: "v", width: 556 },
GlyphMetric { name: "w", text: "w", width: 778 },
GlyphMetric { name: "x", text: "x", width: 556 },
GlyphMetric { name: "y", text: "y", width: 556 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 556 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 556 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 556 },
GlyphMetric { name: "z", text: "z", width: 500 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 500 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 500 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 500 },
GlyphMetric { name: "zero", text: "0", width: 556 },
];
#[rustfmt::skip]
const HELVETICA_BOLDOBLIQUE_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const HELVETICA_BOLDOBLIQUE_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const HELVETICA_OBLIQUE_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 667 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 1000 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 667 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 667 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 667 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 667 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 667 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 667 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 667 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 667 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 667 },
GlyphMetric { name: "B", text: "B", width: 667 },
GlyphMetric { name: "C", text: "C", width: 722 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 722 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 722 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 722 },
GlyphMetric { name: "D", text: "D", width: 722 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 722 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 722 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 612 },
GlyphMetric { name: "E", text: "E", width: 667 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 667 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 667 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 667 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 667 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 667 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 667 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 667 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 667 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 722 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 556 },
GlyphMetric { name: "F", text: "F", width: 611 },
GlyphMetric { name: "G", text: "G", width: 778 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 778 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 778 },
GlyphMetric { name: "H", text: "H", width: 722 },
GlyphMetric { name: "I", text: "I", width: 278 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 278 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 278 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 278 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 278 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 278 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 278 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 278 },
GlyphMetric { name: "J", text: "J", width: 500 },
GlyphMetric { name: "K", text: "K", width: 667 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 667 },
GlyphMetric { name: "L", text: "L", width: 556 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 556 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 556 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 556 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 556 },
GlyphMetric { name: "M", text: "M", width: 833 },
GlyphMetric { name: "N", text: "N", width: 722 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 722 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 722 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 722 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 722 },
GlyphMetric { name: "O", text: "O", width: 778 },
GlyphMetric { name: "OE", text: "\u{152}", width: 1000 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 778 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 778 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 778 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 778 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 778 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 778 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 778 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 778 },
GlyphMetric { name: "P", text: "P", width: 667 },
GlyphMetric { name: "Q", text: "Q", width: 778 },
GlyphMetric { name: "R", text: "R", width: 722 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 722 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 722 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 722 },
GlyphMetric { name: "S", text: "S", width: 667 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 667 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 667 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 667 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 667 },
GlyphMetric { name: "T", text: "T", width: 611 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 611 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 611 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 667 },
GlyphMetric { name: "U", text: "U", width: 722 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 722 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 722 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 722 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 722 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 722 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 722 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 722 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 722 },
GlyphMetric { name: "V", text: "V", width: 667 },
GlyphMetric { name: "W", text: "W", width: 944 },
GlyphMetric { name: "X", text: "X", width: 667 },
GlyphMetric { name: "Y", text: "Y", width: 667 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 667 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 667 },
GlyphMetric { name: "Z", text: "Z", width: 611 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 611 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 611 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 611 },
GlyphMetric { name: "a", text: "a", width: 556 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 556 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 556 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 556 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 333 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 556 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 889 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 556 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 556 },
GlyphMetric { name: "ampersand", text: "&", width: 667 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 556 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 556 },
GlyphMetric { name: "asciicircum", text: "^", width: 469 },
GlyphMetric { name: "asciitilde", text: "~", width: 584 },
GlyphMetric { name: "asterisk", text: "*", width: 389 },
GlyphMetric { name: "at", text: "@", width: 1015 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 556 },
GlyphMetric { name: "b", text: "b", width: 556 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 278 },
GlyphMetric { name: "bar", text: "|", width: 260 },
GlyphMetric { name: "braceleft", text: "{", width: 334 },
GlyphMetric { name: "braceright", text: "}", width: 334 },
GlyphMetric { name: "bracketleft", text: "[", width: 278 },
GlyphMetric { name: "bracketright", text: "]", width: 278 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 333 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 260 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 350 },
GlyphMetric { name: "c", text: "c", width: 500 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 500 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 333 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 500 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 500 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 333 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 556 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 333 },
GlyphMetric { name: "colon", text: ":", width: 278 },
GlyphMetric { name: "comma", text: ",", width: 278 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 250 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 737 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 556 },
GlyphMetric { name: "d", text: "d", width: 556 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 556 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 556 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 643 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 556 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 400 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 333 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 584 },
GlyphMetric { name: "dollar", text: "$", width: 556 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 333 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 278 },
GlyphMetric { name: "e", text: "e", width: 556 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 556 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 556 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 556 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 556 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 556 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 556 },
GlyphMetric { name: "eight", text: "8", width: 556 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 1000 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 556 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 1000 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 556 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 556 },
GlyphMetric { name: "equal", text: "=", width: 584 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 556 },
GlyphMetric { name: "exclam", text: "!", width: 278 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 333 },
GlyphMetric { name: "f", text: "f", width: 278 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 500 },
GlyphMetric { name: "five", text: "5", width: 556 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 500 },
GlyphMetric { name: "florin", text: "\u{192}", width: 556 },
GlyphMetric { name: "four", text: "4", width: 556 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 167 },
GlyphMetric { name: "g", text: "g", width: 556 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 556 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 556 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 611 },
GlyphMetric { name: "grave", text: "`", width: 333 },
GlyphMetric { name: "greater", text: ">", width: 584 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 549 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 556 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 556 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 333 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 333 },
GlyphMetric { name: "h", text: "h", width: 556 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 333 },
GlyphMetric { name: "hyphen", text: "-", width: 333 },
GlyphMetric { name: "i", text: "i", width: 222 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 278 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 278 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 278 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 278 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 278 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 222 },
GlyphMetric { name: "j", text: "j", width: 222 },
GlyphMetric { name: "k", text: "k", width: 500 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 500 },
GlyphMetric { name: "l", text: "l", width: 222 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 222 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 299 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 222 },
GlyphMetric { name: "less", text: "<", width: 584 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 549 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 584 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 471 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 222 },
GlyphMetric { name: "m", text: "m", width: 833 },
GlyphMetric { name: "macron", text: "\u{af}", width: 333 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 584 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 556 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 584 },
GlyphMetric { name: "n", text: "n", width: 556 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 556 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 556 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 556 },
GlyphMetric { name: "nine", text: "9", width: 556 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 549 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 556 },
GlyphMetric { name: "numbersign", text: "#", width: 556 },
GlyphMetric { name: "o", text: "o", width: 556 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 556 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 556 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 556 },
GlyphMetric { name: "oe", text: "\u{153}", width: 944 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 333 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 556 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 556 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 556 },
GlyphMetric { name: "one", text: "1", width: 556 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 834 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 834 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 333 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 370 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 365 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 611 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 556 },
GlyphMetric { name: "p", text: "p", width: 556 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 537 },
GlyphMetric { name: "parenleft", text: "(", width: 333 },
GlyphMetric { name: "parenright", text: ")", width: 333 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 476 },
GlyphMetric { name: "percent", text: "%", width: 889 },
GlyphMetric { name: "period", text: ".", width: 278 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 278 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 1000 },
GlyphMetric { name: "plus", text: "+", width: 584 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 584 },
GlyphMetric { name: "q", text: "q", width: 556 },
GlyphMetric { name: "question", text: "?", width: 556 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 611 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 355 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 333 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 333 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 333 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 222 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 222 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 222 },
GlyphMetric { name: "quotesingle", text: "'", width: 191 },
GlyphMetric { name: "r", text: "r", width: 333 },
GlyphMetric { name: "racute", text: "\u{155}", width: 333 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 453 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 333 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 333 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 737 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 333 },
GlyphMetric { name: "s", text: "s", width: 500 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 500 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 500 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 500 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 500 },
GlyphMetric { name: "section", text: "\u{a7}", width: 556 },
GlyphMetric { name: "semicolon", text: ";", width: 278 },
GlyphMetric { name: "seven", text: "7", width: 556 },
GlyphMetric { name: "six", text: "6", width: 556 },
GlyphMetric { name: "slash", text: "/", width: 278 },
GlyphMetric { name: "space", text: " ", width: 278 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 556 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 278 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 317 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 278 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 556 },
GlyphMetric { name: "three", text: "3", width: 556 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 834 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 333 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 333 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 1000 },
GlyphMetric { name: "two", text: "2", width: 556 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 333 },
GlyphMetric { name: "u", text: "u", width: 556 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 556 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 556 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 556 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 556 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 556 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 556 },
GlyphMetric { name: "underscore", text: "_", width: 556 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 556 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 556 },
GlyphMetric { name: "v", text: "v", width: 500 },
GlyphMetric { name: "w", text: "w", width: 722 },
GlyphMetric { name: "x", text: "x", width: 500 },
GlyphMetric { name: "y", text: "y", width: 500 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 500 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 500 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 556 },
GlyphMetric { name: "z", text: "z", width: 500 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 500 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 500 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 500 },
GlyphMetric { name: "zero", text: "0", width: 556 },
];
#[rustfmt::skip]
const HELVETICA_OBLIQUE_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const HELVETICA_OBLIQUE_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const HELVETICA_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 667 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 1000 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 667 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 667 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 667 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 667 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 667 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 667 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 667 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 667 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 667 },
GlyphMetric { name: "B", text: "B", width: 667 },
GlyphMetric { name: "C", text: "C", width: 722 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 722 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 722 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 722 },
GlyphMetric { name: "D", text: "D", width: 722 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 722 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 722 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 612 },
GlyphMetric { name: "E", text: "E", width: 667 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 667 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 667 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 667 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 667 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 667 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 667 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 667 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 667 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 722 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 556 },
GlyphMetric { name: "F", text: "F", width: 611 },
GlyphMetric { name: "G", text: "G", width: 778 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 778 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 778 },
GlyphMetric { name: "H", text: "H", width: 722 },
GlyphMetric { name: "I", text: "I", width: 278 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 278 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 278 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 278 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 278 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 278 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 278 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 278 },
GlyphMetric { name: "J", text: "J", width: 500 },
GlyphMetric { name: "K", text: "K", width: 667 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 667 },
GlyphMetric { name: "L", text: "L", width: 556 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 556 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 556 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 556 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 556 },
GlyphMetric { name: "M", text: "M", width: 833 },
GlyphMetric { name: "N", text: "N", width: 722 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 722 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 722 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 722 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 722 },
GlyphMetric { name: "O", text: "O", width: 778 },
GlyphMetric { name: "OE", text: "\u{152}", width: 1000 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 778 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 778 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 778 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 778 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 778 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 778 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 778 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 778 },
GlyphMetric { name: "P", text: "P", width: 667 },
GlyphMetric { name: "Q", text: "Q", width: 778 },
GlyphMetric { name: "R", text: "R", width: 722 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 722 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 722 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 722 },
GlyphMetric { name: "S", text: "S", width: 667 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 667 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 667 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 667 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 667 },
GlyphMetric { name: "T", text: "T", width: 611 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 611 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 611 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 667 },
GlyphMetric { name: "U", text: "U", width: 722 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 722 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 722 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 722 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 722 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 722 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 722 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 722 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 722 },
GlyphMetric { name: "V", text: "V", width: 667 },
GlyphMetric { name: "W", text: "W", width: 944 },
GlyphMetric { name: "X", text: "X", width: 667 },
GlyphMetric { name: "Y", text: "Y", width: 667 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 667 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 667 },
GlyphMetric { name: "Z", text: "Z", width: 611 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 611 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 611 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 611 },
GlyphMetric { name: "a", text: "a", width: 556 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 556 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 556 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 556 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 333 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 556 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 889 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 556 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 556 },
GlyphMetric { name: "ampersand", text: "&", width: 667 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 556 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 556 },
GlyphMetric { name: "asciicircum", text: "^", width: 469 },
GlyphMetric { name: "asciitilde", text: "~", width: 584 },
GlyphMetric { name: "asterisk", text: "*", width: 389 },
GlyphMetric { name: "at", text: "@", width: 1015 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 556 },
GlyphMetric { name: "b", text: "b", width: 556 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 278 },
GlyphMetric { name: "bar", text: "|", width: 260 },
GlyphMetric { name: "braceleft", text: "{", width: 334 },
GlyphMetric { name: "braceright", text: "}", width: 334 },
GlyphMetric { name: "bracketleft", text: "[", width: 278 },
GlyphMetric { name: "bracketright", text: "]", width: 278 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 333 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 260 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 350 },
GlyphMetric { name: "c", text: "c", width: 500 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 500 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 333 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 500 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 500 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 333 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 556 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 333 },
GlyphMetric { name: "colon", text: ":", width: 278 },
GlyphMetric { name: "comma", text: ",", width: 278 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 250 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 737 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 556 },
GlyphMetric { name: "d", text: "d", width: 556 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 556 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 556 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 643 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 556 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 400 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 333 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 584 },
GlyphMetric { name: "dollar", text: "$", width: 556 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 333 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 278 },
GlyphMetric { name: "e", text: "e", width: 556 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 556 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 556 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 556 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 556 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 556 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 556 },
GlyphMetric { name: "eight", text: "8", width: 556 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 1000 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 556 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 1000 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 556 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 556 },
GlyphMetric { name: "equal", text: "=", width: 584 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 556 },
GlyphMetric { name: "exclam", text: "!", width: 278 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 333 },
GlyphMetric { name: "f", text: "f", width: 278 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 500 },
GlyphMetric { name: "five", text: "5", width: 556 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 500 },
GlyphMetric { name: "florin", text: "\u{192}", width: 556 },
GlyphMetric { name: "four", text: "4", width: 556 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 167 },
GlyphMetric { name: "g", text: "g", width: 556 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 556 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 556 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 611 },
GlyphMetric { name: "grave", text: "`", width: 333 },
GlyphMetric { name: "greater", text: ">", width: 584 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 549 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 556 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 556 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 333 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 333 },
GlyphMetric { name: "h", text: "h", width: 556 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 333 },
GlyphMetric { name: "hyphen", text: "-", width: 333 },
GlyphMetric { name: "i", text: "i", width: 222 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 278 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 278 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 278 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 278 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 278 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 222 },
GlyphMetric { name: "j", text: "j", width: 222 },
GlyphMetric { name: "k", text: "k", width: 500 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 500 },
GlyphMetric { name: "l", text: "l", width: 222 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 222 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 299 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 222 },
GlyphMetric { name: "less", text: "<", width: 584 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 549 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 584 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 471 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 222 },
GlyphMetric { name: "m", text: "m", width: 833 },
GlyphMetric { name: "macron", text: "\u{af}", width: 333 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 584 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 556 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 584 },
GlyphMetric { name: "n", text: "n", width: 556 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 556 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 556 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 556 },
GlyphMetric { name: "nine", text: "9", width: 556 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 549 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 556 },
GlyphMetric { name: "numbersign", text: "#", width: 556 },
GlyphMetric { name: "o", text: "o", width: 556 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 556 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 556 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 556 },
GlyphMetric { name: "oe", text: "\u{153}", width: 944 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 333 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 556 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 556 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 556 },
GlyphMetric { name: "one", text: "1", width: 556 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 834 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 834 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 333 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 370 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 365 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 611 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 556 },
GlyphMetric { name: "p", text: "p", width: 556 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 537 },
GlyphMetric { name: "parenleft", text: "(", width: 333 },
GlyphMetric { name: "parenright", text: ")", width: 333 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 476 },
GlyphMetric { name: "percent", text: "%", width: 889 },
GlyphMetric { name: "period", text: ".", width: 278 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 278 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 1000 },
GlyphMetric { name: "plus", text: "+", width: 584 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 584 },
GlyphMetric { name: "q", text: "q", width: 556 },
GlyphMetric { name: "question", text: "?", width: 556 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 611 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 355 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 333 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 333 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 333 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 222 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 222 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 222 },
GlyphMetric { name: "quotesingle", text: "'", width: 191 },
GlyphMetric { name: "r", text: "r", width: 333 },
GlyphMetric { name: "racute", text: "\u{155}", width: 333 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 453 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 333 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 333 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 737 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 333 },
GlyphMetric { name: "s", text: "s", width: 500 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 500 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 500 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 500 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 500 },
GlyphMetric { name: "section", text: "\u{a7}", width: 556 },
GlyphMetric { name: "semicolon", text: ";", width: 278 },
GlyphMetric { name: "seven", text: "7", width: 556 },
GlyphMetric { name: "six", text: "6", width: 556 },
GlyphMetric { name: "slash", text: "/", width: 278 },
GlyphMetric { name: "space", text: " ", width: 278 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 556 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 278 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 317 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 278 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 556 },
GlyphMetric { name: "three", text: "3", width: 556 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 834 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 333 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 333 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 1000 },
GlyphMetric { name: "two", text: "2", width: 556 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 333 },
GlyphMetric { name: "u", text: "u", width: 556 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 556 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 556 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 556 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 556 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 556 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 556 },
GlyphMetric { name: "underscore", text: "_", width: 556 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 556 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 556 },
GlyphMetric { name: "v", text: "v", width: 500 },
GlyphMetric { name: "w", text: "w", width: 722 },
GlyphMetric { name: "x", text: "x", width: 500 },
GlyphMetric { name: "y", text: "y", width: 500 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 500 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 500 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 556 },
GlyphMetric { name: "z", text: "z", width: 500 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 500 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 500 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 500 },
GlyphMetric { name: "zero", text: "0", width: 556 },
];
#[rustfmt::skip]
const HELVETICA_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const HELVETICA_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const SYMBOL_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "Alpha", text: "\u{391}", width: 722 },
GlyphMetric { name: "Beta", text: "\u{392}", width: 667 },
GlyphMetric { name: "Chi", text: "\u{3a7}", width: 722 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 612 },
GlyphMetric { name: "Epsilon", text: "\u{395}", width: 611 },
GlyphMetric { name: "Eta", text: "\u{397}", width: 722 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 750 },
GlyphMetric { name: "Gamma", text: "\u{393}", width: 603 },
GlyphMetric { name: "Ifraktur", text: "\u{2111}", width: 686 },
GlyphMetric { name: "Iota", text: "\u{399}", width: 333 },
GlyphMetric { name: "Kappa", text: "\u{39a}", width: 722 },
GlyphMetric { name: "Lambda", text: "\u{39b}", width: 686 },
GlyphMetric { name: "Mu", text: "\u{39c}", width: 889 },
GlyphMetric { name: "Nu", text: "\u{39d}", width: 722 },
GlyphMetric { name: "Omega", text: "\u{2126}", width: 768 },
GlyphMetric { name: "Omicron", text: "\u{39f}", width: 722 },
GlyphMetric { name: "Phi", text: "\u{3a6}", width: 763 },
GlyphMetric { name: "Pi", text: "\u{3a0}", width: 768 },
GlyphMetric { name: "Psi", text: "\u{3a8}", width: 795 },
GlyphMetric { name: "Rfraktur", text: "\u{211c}", width: 795 },
GlyphMetric { name: "Rho", text: "\u{3a1}", width: 556 },
GlyphMetric { name: "Sigma", text: "\u{3a3}", width: 592 },
GlyphMetric { name: "Tau", text: "\u{3a4}", width: 611 },
GlyphMetric { name: "Theta", text: "\u{398}", width: 741 },
GlyphMetric { name: "Upsilon", text: "\u{3a5}", width: 690 },
GlyphMetric { name: "Upsilon1", text: "\u{3d2}", width: 620 },
GlyphMetric { name: "Xi", text: "\u{39e}", width: 645 },
GlyphMetric { name: "Zeta", text: "\u{396}", width: 611 },
GlyphMetric { name: "aleph", text: "\u{2135}", width: 823 },
GlyphMetric { name: "alpha", text: "\u{3b1}", width: 631 },
GlyphMetric { name: "ampersand", text: "&", width: 778 },
GlyphMetric { name: "angle", text: "\u{2220}", width: 768 },
GlyphMetric { name: "angleleft", text: "\u{2329}", width: 329 },
GlyphMetric { name: "angleright", text: "\u{232a}", width: 329 },
GlyphMetric { name: "apple", text: "\u{f8ff}", width: 790 },
GlyphMetric { name: "approxequal", text: "\u{2248}", width: 549 },
GlyphMetric { name: "arrowboth", text: "\u{2194}", width: 1042 },
GlyphMetric { name: "arrowdblboth", text: "\u{21d4}", width: 1042 },
GlyphMetric { name: "arrowdbldown", text: "\u{21d3}", width: 603 },
GlyphMetric { name: "arrowdblleft", text: "\u{21d0}", width: 987 },
GlyphMetric { name: "arrowdblright", text: "\u{21d2}", width: 987 },
GlyphMetric { name: "arrowdblup", text: "\u{21d1}", width: 603 },
GlyphMetric { name: "arrowdown", text: "\u{2193}", width: 603 },
GlyphMetric { name: "arrowhorizex", text: "\u{f8e7}", width: 1000 },
GlyphMetric { name: "arrowleft", text: "\u{2190}", width: 987 },
GlyphMetric { name: "arrowright", text: "\u{2192}", width: 987 },
GlyphMetric { name: "arrowup", text: "\u{2191}", width: 603 },
GlyphMetric { name: "arrowvertex", text: "\u{f8e6}", width: 603 },
GlyphMetric { name: "asteriskmath", text: "\u{2217}", width: 500 },
GlyphMetric { name: "bar", text: "|", width: 200 },
GlyphMetric { name: "beta", text: "\u{3b2}", width: 549 },
GlyphMetric { name: "braceex", text: "\u{f8f4}", width: 494 },
GlyphMetric { name: "braceleft", text: "{", width: 480 },
GlyphMetric { name: "braceleftbt", text: "\u{f8f3}", width: 494 },
GlyphMetric { name: "braceleftmid", text: "\u{f8f2}", width: 494 },
GlyphMetric { name: "bracelefttp", text: "\u{f8f1}", width: 494 },
GlyphMetric { name: "braceright", text: "}", width: 480 },
GlyphMetric { name: "bracerightbt", text: "\u{f8fe}", width: 494 },
GlyphMetric { name: "bracerightmid", text: "\u{f8fd}", width: 494 },
GlyphMetric { name: "bracerighttp", text: "\u{f8fc}", width: 494 },
GlyphMetric { name: "bracketleft", text: "[", width: 333 },
GlyphMetric { name: "bracketleftbt", text: "\u{f8f0}", width: 384 },
GlyphMetric { name: "bracketleftex", text: "\u{f8ef}", width: 384 },
GlyphMetric { name: "bracketlefttp", text: "\u{f8ee}", width: 384 },
GlyphMetric { name: "bracketright", text: "]", width: 333 },
GlyphMetric { name: "bracketrightbt", text: "\u{f8fb}", width: 384 },
GlyphMetric { name: "bracketrightex", text: "\u{f8fa}", width: 384 },
GlyphMetric { name: "bracketrighttp", text: "\u{f8f9}", width: 384 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 460 },
GlyphMetric { name: "carriagereturn", text: "\u{21b5}", width: 658 },
GlyphMetric { name: "chi", text: "\u{3c7}", width: 549 },
GlyphMetric { name: "circlemultiply", text: "\u{2297}", width: 768 },
GlyphMetric { name: "circleplus", text: "\u{2295}", width: 768 },
GlyphMetric { name: "club", text: "\u{2663}", width: 753 },
GlyphMetric { name: "colon", text: ":", width: 278 },
GlyphMetric { name: "comma", text: ",", width: 250 },
GlyphMetric { name: "congruent", text: "\u{2245}", width: 549 },
GlyphMetric { name: "copyrightsans", text: "\u{f8e9}", width: 790 },
GlyphMetric { name: "copyrightserif", text: "\u{f6d9}", width: 790 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 400 },
GlyphMetric { name: "delta", text: "\u{3b4}", width: 494 },
GlyphMetric { name: "diamond", text: "\u{2666}", width: 753 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 549 },
GlyphMetric { name: "dotmath", text: "\u{22c5}", width: 250 },
GlyphMetric { name: "eight", text: "8", width: 500 },
GlyphMetric { name: "element", text: "\u{2208}", width: 713 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 1000 },
GlyphMetric { name: "emptyset", text: "\u{2205}", width: 823 },
GlyphMetric { name: "epsilon", text: "\u{3b5}", width: 439 },
GlyphMetric { name: "equal", text: "=", width: 549 },
GlyphMetric { name: "equivalence", text: "\u{2261}", width: 549 },
GlyphMetric { name: "eta", text: "\u{3b7}", width: 603 },
GlyphMetric { name: "exclam", text: "!", width: 333 },
GlyphMetric { name: "existential", text: "\u{2203}", width: 549 },
GlyphMetric { name: "five", text: "5", width: 500 },
GlyphMetric { name: "florin", text: "\u{192}", width: 500 },
GlyphMetric { name: "four", text: "4", width: 500 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 167 },
GlyphMetric { name: "gamma", text: "\u{3b3}", width: 411 },
GlyphMetric { name: "gradient", text: "\u{2207}", width: 713 },
GlyphMetric { name: "greater", text: ">", width: 549 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 549 },
GlyphMetric { name: "heart", text: "\u{2665}", width: 753 },
GlyphMetric { name: "infinity", text: "\u{221e}", width: 713 },
GlyphMetric { name: "integral", text: "\u{222b}", width: 274 },
GlyphMetric { name: "integralbt", text: "\u{2321}", width: 686 },
GlyphMetric { name: "integralex", text: "\u{f8f5}", width: 686 },
GlyphMetric { name: "integraltp", text: "\u{2320}", width: 686 },
GlyphMetric { name: "intersection", text: "\u{2229}", width: 768 },
GlyphMetric { name: "iota", text: "\u{3b9}", width: 329 },
GlyphMetric { name: "kappa", text: "\u{3ba}", width: 549 },
GlyphMetric { name: "lambda", text: "\u{3bb}", width: 549 },
GlyphMetric { name: "less", text: "<", width: 549 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 549 },
GlyphMetric { name: "logicaland", text: "\u{2227}", width: 603 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 713 },
GlyphMetric { name: "logicalor", text: "\u{2228}", width: 603 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 494 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 549 },
GlyphMetric { name: "minute", text: "\u{2032}", width: 247 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 576 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 549 },
GlyphMetric { name: "nine", text: "9", width: 500 },
GlyphMetric { name: "notelement", text: "\u{2209}", width: 713 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 549 },
GlyphMetric { name: "notsubset", text: "\u{2284}", width: 713 },
GlyphMetric { name: "nu", text: "\u{3bd}", width: 521 },
GlyphMetric { name: "numbersign", text: "#", width: 500 },
GlyphMetric { name: "omega", text: "\u{3c9}", width: 686 },
GlyphMetric { name: "omega1", text: "\u{3d6}", width: 713 },
GlyphMetric { name: "omicron", text: "\u{3bf}", width: 549 },
GlyphMetric { name: "one", text: "1", width: 500 },
GlyphMetric { name: "parenleft", text: "(", width: 333 },
GlyphMetric { name: "parenleftbt", text: "\u{f8ed}", width: 384 },
GlyphMetric { name: "parenleftex", text: "\u{f8ec}", width: 384 },
GlyphMetric { name: "parenlefttp", text: "\u{f8eb}", width: 384 },
GlyphMetric { name: "parenright", text: ")", width: 333 },
GlyphMetric { name: "parenrightbt", text: "\u{f8f8}", width: 384 },
GlyphMetric { name: "parenrightex", text: "\u{f8f7}", width: 384 },
GlyphMetric { name: "parenrighttp", text: "\u{f8f6}", width: 384 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 494 },
GlyphMetric { name: "percent", text: "%", width: 833 },
GlyphMetric { name: "period", text: ".", width: 250 },
GlyphMetric { name: "perpendicular", text: "\u{22a5}", width: 658 },
GlyphMetric { name: "phi", text: "\u{3c6}", width: 521 },
GlyphMetric { name: "phi1", text: "\u{3d5}", width: 603 },
GlyphMetric { name: "pi", text: "\u{3c0}", width: 549 },
GlyphMetric { name: "plus", text: "+", width: 549 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 549 },
GlyphMetric { name: "product", text: "\u{220f}", width: 823 },
GlyphMetric { name: "propersubset", text: "\u{2282}", width: 713 },
GlyphMetric { name: "propersuperset", text: "\u{2283}", width: 713 },
GlyphMetric { name: "proportional", text: "\u{221d}", width: 713 },
GlyphMetric { name: "psi", text: "\u{3c8}", width: 686 },
GlyphMetric { name: "question", text: "?", width: 444 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 549 },
GlyphMetric { name: "radicalex", text: "\u{f8e5}", width: 500 },
GlyphMetric { name: "reflexsubset", text: "\u{2286}", width: 713 },
GlyphMetric { name: "reflexsuperset", text: "\u{2287}", width: 713 },
GlyphMetric { name: "registersans", text: "\u{f8e8}", width: 790 },
GlyphMetric { name: "registerserif", text: "\u{f6da}", width: 790 },
GlyphMetric { name: "rho", text: "\u{3c1}", width: 549 },
GlyphMetric { name: "second", text: "\u{2033}", width: 411 },
GlyphMetric { name: "semicolon", text: ";", width: 278 },
GlyphMetric { name: "seven", text: "7", width: 500 },
GlyphMetric { name: "sigma", text: "\u{3c3}", width: 603 },
GlyphMetric { name: "sigma1", text: "\u{3c2}", width: 439 },
GlyphMetric { name: "similar", text: "\u{223c}", width: 549 },
GlyphMetric { name: "six", text: "6", width: 500 },
GlyphMetric { name: "slash", text: "/", width: 278 },
GlyphMetric { name: "space", text: " ", width: 250 },
GlyphMetric { name: "spade", text: "\u{2660}", width: 753 },
GlyphMetric { name: "suchthat", text: "\u{220b}", width: 439 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 713 },
GlyphMetric { name: "tau", text: "\u{3c4}", width: 439 },
GlyphMetric { name: "therefore", text: "\u{2234}", width: 863 },
GlyphMetric { name: "theta", text: "\u{3b8}", width: 521 },
GlyphMetric { name: "theta1", text: "\u{3d1}", width: 631 },
GlyphMetric { name: "three", text: "3", width: 500 },
GlyphMetric { name: "trademarksans", text: "\u{f8ea}", width: 786 },
GlyphMetric { name: "trademarkserif", text: "\u{f6db}", width: 890 },
GlyphMetric { name: "two", text: "2", width: 500 },
GlyphMetric { name: "underscore", text: "_", width: 500 },
GlyphMetric { name: "union", text: "\u{222a}", width: 768 },
GlyphMetric { name: "universal", text: "\u{2200}", width: 713 },
GlyphMetric { name: "upsilon", text: "\u{3c5}", width: 576 },
GlyphMetric { name: "weierstrass", text: "\u{2118}", width: 987 },
GlyphMetric { name: "xi", text: "\u{3be}", width: 493 },
GlyphMetric { name: "zero", text: "0", width: 500 },
GlyphMetric { name: "zeta", text: "\u{3b6}", width: 494 },
];
#[rustfmt::skip]
const SYMBOL_UNICODE: &[(u32, u16)] = &[
(0x0020, 170),
(0x0021, 92),
(0x0023, 127),
(0x0025, 141),
(0x0026, 30),
(0x0028, 132),
(0x0029, 136),
(0x002b, 147),
(0x002c, 75),
(0x002e, 142),
(0x002f, 169),
(0x0030, 188),
(0x0031, 131),
(0x0032, 181),
(0x0033, 178),
(0x0034, 96),
(0x0035, 94),
(0x0036, 168),
(0x0037, 164),
(0x0038, 84),
(0x0039, 122),
(0x003a, 74),
(0x003b, 163),
(0x003c, 112),
(0x003d, 89),
(0x003e, 100),
(0x003f, 154),
(0x005b, 60),
(0x005d, 64),
(0x005f, 182),
(0x007b, 52),
(0x007c, 49),
(0x007d, 56),
(0x00ac, 115),
(0x00b0, 79),
(0x00b1, 148),
(0x00b5, 120),
(0x00d7, 121),
(0x00f7, 82),
(0x0192, 95),
(0x0391, 0),
(0x0392, 1),
(0x0393, 7),
(0x0395, 4),
(0x0396, 27),
(0x0397, 5),
(0x0398, 23),
(0x0399, 9),
(0x039a, 10),
(0x039b, 11),
(0x039c, 12),
(0x039d, 13),
(0x039e, 26),
(0x039f, 15),
(0x03a0, 17),
(0x03a1, 20),
(0x03a3, 21),
(0x03a4, 22),
(0x03a5, 24),
(0x03a6, 16),
(0x03a7, 2),
(0x03a8, 18),
(0x03b1, 29),
(0x03b2, 50),
(0x03b3, 98),
(0x03b4, 80),
(0x03b5, 88),
(0x03b6, 189),
(0x03b7, 91),
(0x03b8, 176),
(0x03b9, 109),
(0x03ba, 110),
(0x03bb, 111),
(0x03bd, 126),
(0x03be, 187),
(0x03bf, 130),
(0x03c0, 146),
(0x03c1, 161),
(0x03c2, 166),
(0x03c3, 165),
(0x03c4, 174),
(0x03c5, 185),
(0x03c6, 144),
(0x03c7, 70),
(0x03c8, 153),
(0x03c9, 128),
(0x03d1, 177),
(0x03d2, 25),
(0x03d5, 145),
(0x03d6, 129),
(0x2022, 68),
(0x2026, 86),
(0x2032, 119),
(0x2033, 162),
(0x2044, 97),
(0x20ac, 6),
(0x2111, 8),
(0x2118, 186),
(0x211c, 19),
(0x2126, 14),
(0x2135, 28),
(0x2190, 44),
(0x2191, 46),
(0x2192, 45),
(0x2193, 42),
(0x2194, 36),
(0x21b5, 69),
(0x21d0, 39),
(0x21d1, 41),
(0x21d2, 40),
(0x21d3, 38),
(0x21d4, 37),
(0x2200, 184),
(0x2202, 140),
(0x2203, 93),
(0x2205, 87),
(0x2206, 3),
(0x2207, 99),
(0x2208, 85),
(0x2209, 123),
(0x220b, 172),
(0x220f, 149),
(0x2211, 173),
(0x2212, 118),
(0x2217, 48),
(0x221a, 155),
(0x221d, 152),
(0x221e, 103),
(0x2220, 31),
(0x2227, 114),
(0x2228, 116),
(0x2229, 108),
(0x222a, 183),
(0x222b, 104),
(0x2234, 175),
(0x223c, 167),
(0x2245, 76),
(0x2248, 35),
(0x2260, 124),
(0x2261, 90),
(0x2264, 113),
(0x2265, 101),
(0x2282, 150),
(0x2283, 151),
(0x2284, 125),
(0x2286, 157),
(0x2287, 158),
(0x2295, 72),
(0x2297, 71),
(0x22a5, 143),
(0x22c5, 83),
(0x2320, 107),
(0x2321, 105),
(0x2329, 32),
(0x232a, 33),
(0x25ca, 117),
(0x2660, 171),
(0x2663, 73),
(0x2665, 102),
(0x2666, 81),
(0xf6d9, 78),
(0xf6da, 160),
(0xf6db, 180),
(0xf8e5, 156),
(0xf8e6, 47),
(0xf8e7, 43),
(0xf8e8, 159),
(0xf8e9, 77),
(0xf8ea, 179),
(0xf8eb, 135),
(0xf8ec, 134),
(0xf8ed, 133),
(0xf8ee, 63),
(0xf8ef, 62),
(0xf8f0, 61),
(0xf8f1, 55),
(0xf8f2, 54),
(0xf8f3, 53),
(0xf8f4, 51),
(0xf8f5, 106),
(0xf8f6, 139),
(0xf8f7, 138),
(0xf8f8, 137),
(0xf8f9, 67),
(0xf8fa, 66),
(0xf8fb, 65),
(0xf8fc, 59),
(0xf8fd, 58),
(0xf8fe, 57),
(0xf8ff, 34),
];
#[rustfmt::skip]
const SYMBOL_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
171, 93, 185, 128, 94, 142, 31, 173, 133, 137, 49, 148, 76, 119, 143, 170,
189, 132, 182, 179, 97, 95, 169, 165, 85, 123, 75, 164, 113, 90, 101, 155,
77, 1, 2, 3, 4, 5, 17, 8, 6, 10, 178, 11, 12, 13, 14, 16,
18, 24, 21, 22, 23, 25, 167, 15, 27, 19, 28, 61, 176, 65, 144, 183,
157, 30, 51, 71, 81, 89, 145, 99, 92, 110, 146, 111, 112, 121, 127, 131,
147, 177, 162, 166, 175, 186, 130, 129, 188, 154, 190, 53, 50, 57, 168, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
7, 26, 120, 114, 98, 104, 96, 74, 82, 103, 172, 37, 45, 47, 46, 43,
80, 149, 163, 102, 122, 153, 141, 69, 83, 125, 91, 36, 87, 48, 44, 70,
29, 9, 20, 187, 72, 73, 88, 109, 184, 152, 159, 126, 151, 158, 86, 124,
32, 100, 161, 79, 181, 150, 156, 84, 116, 115, 117, 38, 40, 42, 41, 39,
118, 33, 160, 78, 180, 174, 136, 135, 134, 64, 63, 62, 56, 55, 54, 52,
0, 34, 105, 108, 107, 106, 140, 139, 138, 68, 67, 66, 60, 59, 58, 0,
];
#[rustfmt::skip]
const TIMES_BOLD_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 722 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 1000 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 722 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 722 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 722 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 722 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 722 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 722 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 722 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 722 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 722 },
GlyphMetric { name: "B", text: "B", width: 667 },
GlyphMetric { name: "C", text: "C", width: 722 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 722 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 722 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 722 },
GlyphMetric { name: "D", text: "D", width: 722 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 722 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 722 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 612 },
GlyphMetric { name: "E", text: "E", width: 667 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 667 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 667 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 667 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 667 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 667 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 667 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 667 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 667 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 722 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 500 },
GlyphMetric { name: "F", text: "F", width: 611 },
GlyphMetric { name: "G", text: "G", width: 778 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 778 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 778 },
GlyphMetric { name: "H", text: "H", width: 778 },
GlyphMetric { name: "I", text: "I", width: 389 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 389 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 389 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 389 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 389 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 389 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 389 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 389 },
GlyphMetric { name: "J", text: "J", width: 500 },
GlyphMetric { name: "K", text: "K", width: 778 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 778 },
GlyphMetric { name: "L", text: "L", width: 667 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 667 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 667 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 667 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 667 },
GlyphMetric { name: "M", text: "M", width: 944 },
GlyphMetric { name: "N", text: "N", width: 722 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 722 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 722 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 722 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 722 },
GlyphMetric { name: "O", text: "O", width: 778 },
GlyphMetric { name: "OE", text: "\u{152}", width: 1000 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 778 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 778 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 778 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 778 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 778 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 778 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 778 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 778 },
GlyphMetric { name: "P", text: "P", width: 611 },
GlyphMetric { name: "Q", text: "Q", width: 778 },
GlyphMetric { name: "R", text: "R", width: 722 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 722 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 722 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 722 },
GlyphMetric { name: "S", text: "S", width: 556 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 556 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 556 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 556 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 556 },
GlyphMetric { name: "T", text: "T", width: 667 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 667 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 667 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 611 },
GlyphMetric { name: "U", text: "U", width: 722 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 722 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 722 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 722 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 722 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 722 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 722 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 722 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 722 },
GlyphMetric { name: "V", text: "V", width: 722 },
GlyphMetric { name: "W", text: "W", width: 1000 },
GlyphMetric { name: "X", text: "X", width: 722 },
GlyphMetric { name: "Y", text: "Y", width: 722 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 722 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 722 },
GlyphMetric { name: "Z", text: "Z", width: 667 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 667 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 667 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 667 },
GlyphMetric { name: "a", text: "a", width: 500 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 500 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 500 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 500 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 333 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 500 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 722 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 500 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 500 },
GlyphMetric { name: "ampersand", text: "&", width: 833 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 500 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 500 },
GlyphMetric { name: "asciicircum", text: "^", width: 581 },
GlyphMetric { name: "asciitilde", text: "~", width: 520 },
GlyphMetric { name: "asterisk", text: "*", width: 500 },
GlyphMetric { name: "at", text: "@", width: 930 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 500 },
GlyphMetric { name: "b", text: "b", width: 556 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 278 },
GlyphMetric { name: "bar", text: "|", width: 220 },
GlyphMetric { name: "braceleft", text: "{", width: 394 },
GlyphMetric { name: "braceright", text: "}", width: 394 },
GlyphMetric { name: "bracketleft", text: "[", width: 333 },
GlyphMetric { name: "bracketright", text: "]", width: 333 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 333 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 220 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 350 },
GlyphMetric { name: "c", text: "c", width: 444 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 444 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 333 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 444 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 444 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 333 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 500 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 333 },
GlyphMetric { name: "colon", text: ":", width: 333 },
GlyphMetric { name: "comma", text: ",", width: 250 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 250 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 747 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 500 },
GlyphMetric { name: "d", text: "d", width: 556 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 500 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 500 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 672 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 556 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 400 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 333 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 570 },
GlyphMetric { name: "dollar", text: "$", width: 500 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 333 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 278 },
GlyphMetric { name: "e", text: "e", width: 444 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 444 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 444 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 444 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 444 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 444 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 444 },
GlyphMetric { name: "eight", text: "8", width: 500 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 1000 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 444 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 1000 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 500 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 444 },
GlyphMetric { name: "equal", text: "=", width: 570 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 500 },
GlyphMetric { name: "exclam", text: "!", width: 333 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 333 },
GlyphMetric { name: "f", text: "f", width: 333 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 556 },
GlyphMetric { name: "five", text: "5", width: 500 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 556 },
GlyphMetric { name: "florin", text: "\u{192}", width: 500 },
GlyphMetric { name: "four", text: "4", width: 500 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 167 },
GlyphMetric { name: "g", text: "g", width: 500 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 500 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 500 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 556 },
GlyphMetric { name: "grave", text: "`", width: 333 },
GlyphMetric { name: "greater", text: ">", width: 570 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 549 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 500 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 500 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 333 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 333 },
GlyphMetric { name: "h", text: "h", width: 556 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 333 },
GlyphMetric { name: "hyphen", text: "-", width: 333 },
GlyphMetric { name: "i", text: "i", width: 278 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 278 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 278 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 278 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 278 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 278 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 278 },
GlyphMetric { name: "j", text: "j", width: 333 },
GlyphMetric { name: "k", text: "k", width: 556 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 556 },
GlyphMetric { name: "l", text: "l", width: 278 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 278 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 394 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 278 },
GlyphMetric { name: "less", text: "<", width: 570 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 549 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 570 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 494 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 278 },
GlyphMetric { name: "m", text: "m", width: 833 },
GlyphMetric { name: "macron", text: "\u{af}", width: 333 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 570 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 556 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 570 },
GlyphMetric { name: "n", text: "n", width: 556 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 556 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 556 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 556 },
GlyphMetric { name: "nine", text: "9", width: 500 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 549 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 556 },
GlyphMetric { name: "numbersign", text: "#", width: 500 },
GlyphMetric { name: "o", text: "o", width: 500 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 500 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 500 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 500 },
GlyphMetric { name: "oe", text: "\u{153}", width: 722 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 333 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 500 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 500 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 500 },
GlyphMetric { name: "one", text: "1", width: 500 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 750 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 750 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 300 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 300 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 330 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 500 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 500 },
GlyphMetric { name: "p", text: "p", width: 556 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 540 },
GlyphMetric { name: "parenleft", text: "(", width: 333 },
GlyphMetric { name: "parenright", text: ")", width: 333 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 494 },
GlyphMetric { name: "percent", text: "%", width: 1000 },
GlyphMetric { name: "period", text: ".", width: 250 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 250 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 1000 },
GlyphMetric { name: "plus", text: "+", width: 570 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 570 },
GlyphMetric { name: "q", text: "q", width: 556 },
GlyphMetric { name: "question", text: "?", width: 500 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 500 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 555 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 500 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 500 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 500 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 333 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 333 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 333 },
GlyphMetric { name: "quotesingle", text: "'", width: 278 },
GlyphMetric { name: "r", text: "r", width: 444 },
GlyphMetric { name: "racute", text: "\u{155}", width: 444 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 549 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 444 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 444 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 747 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 333 },
GlyphMetric { name: "s", text: "s", width: 389 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 389 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 389 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 389 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 389 },
GlyphMetric { name: "section", text: "\u{a7}", width: 500 },
GlyphMetric { name: "semicolon", text: ";", width: 333 },
GlyphMetric { name: "seven", text: "7", width: 500 },
GlyphMetric { name: "six", text: "6", width: 500 },
GlyphMetric { name: "slash", text: "/", width: 278 },
GlyphMetric { name: "space", text: " ", width: 250 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 500 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 333 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 416 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 333 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 556 },
GlyphMetric { name: "three", text: "3", width: 500 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 750 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 300 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 333 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 1000 },
GlyphMetric { name: "two", text: "2", width: 500 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 300 },
GlyphMetric { name: "u", text: "u", width: 556 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 556 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 556 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 556 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 556 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 556 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 556 },
GlyphMetric { name: "underscore", text: "_", width: 500 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 556 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 556 },
GlyphMetric { name: "v", text: "v", width: 500 },
GlyphMetric { name: "w", text: "w", width: 722 },
GlyphMetric { name: "x", text: "x", width: 500 },
GlyphMetric { name: "y", text: "y", width: 500 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 500 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 500 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 500 },
GlyphMetric { name: "z", text: "z", width: 444 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 444 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 444 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 444 },
GlyphMetric { name: "zero", text: "0", width: 500 },
];
#[rustfmt::skip]
const TIMES_BOLD_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const TIMES_BOLD_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const TIMES_BOLDITALIC_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 667 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 944 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 667 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 667 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 667 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 667 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 667 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 667 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 667 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 667 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 667 },
GlyphMetric { name: "B", text: "B", width: 667 },
GlyphMetric { name: "C", text: "C", width: 667 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 667 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 667 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 667 },
GlyphMetric { name: "D", text: "D", width: 722 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 722 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 722 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 612 },
GlyphMetric { name: "E", text: "E", width: 667 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 667 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 667 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 667 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 667 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 667 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 667 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 667 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 667 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 722 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 500 },
GlyphMetric { name: "F", text: "F", width: 667 },
GlyphMetric { name: "G", text: "G", width: 722 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 722 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 722 },
GlyphMetric { name: "H", text: "H", width: 778 },
GlyphMetric { name: "I", text: "I", width: 389 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 389 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 389 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 389 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 389 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 389 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 389 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 389 },
GlyphMetric { name: "J", text: "J", width: 500 },
GlyphMetric { name: "K", text: "K", width: 667 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 667 },
GlyphMetric { name: "L", text: "L", width: 611 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 611 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 611 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 611 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 611 },
GlyphMetric { name: "M", text: "M", width: 889 },
GlyphMetric { name: "N", text: "N", width: 722 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 722 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 722 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 722 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 722 },
GlyphMetric { name: "O", text: "O", width: 722 },
GlyphMetric { name: "OE", text: "\u{152}", width: 944 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 722 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 722 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 722 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 722 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 722 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 722 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 722 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 722 },
GlyphMetric { name: "P", text: "P", width: 611 },
GlyphMetric { name: "Q", text: "Q", width: 722 },
GlyphMetric { name: "R", text: "R", width: 667 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 667 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 667 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 667 },
GlyphMetric { name: "S", text: "S", width: 556 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 556 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 556 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 556 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 556 },
GlyphMetric { name: "T", text: "T", width: 611 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 611 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 611 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 611 },
GlyphMetric { name: "U", text: "U", width: 722 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 722 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 722 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 722 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 722 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 722 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 722 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 722 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 722 },
GlyphMetric { name: "V", text: "V", width: 667 },
GlyphMetric { name: "W", text: "W", width: 889 },
GlyphMetric { name: "X", text: "X", width: 667 },
GlyphMetric { name: "Y", text: "Y", width: 611 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 611 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 611 },
GlyphMetric { name: "Z", text: "Z", width: 611 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 611 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 611 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 611 },
GlyphMetric { name: "a", text: "a", width: 500 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 500 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 500 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 500 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 333 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 500 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 722 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 500 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 500 },
GlyphMetric { name: "ampersand", text: "&", width: 778 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 500 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 500 },
GlyphMetric { name: "asciicircum", text: "^", width: 570 },
GlyphMetric { name: "asciitilde", text: "~", width: 570 },
GlyphMetric { name: "asterisk", text: "*", width: 500 },
GlyphMetric { name: "at", text: "@", width: 832 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 500 },
GlyphMetric { name: "b", text: "b", width: 500 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 278 },
GlyphMetric { name: "bar", text: "|", width: 220 },
GlyphMetric { name: "braceleft", text: "{", width: 348 },
GlyphMetric { name: "braceright", text: "}", width: 348 },
GlyphMetric { name: "bracketleft", text: "[", width: 333 },
GlyphMetric { name: "bracketright", text: "]", width: 333 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 333 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 220 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 350 },
GlyphMetric { name: "c", text: "c", width: 444 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 444 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 333 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 444 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 444 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 333 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 500 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 333 },
GlyphMetric { name: "colon", text: ":", width: 333 },
GlyphMetric { name: "comma", text: ",", width: 250 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 250 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 747 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 500 },
GlyphMetric { name: "d", text: "d", width: 500 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 500 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 500 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 608 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 500 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 400 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 333 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 570 },
GlyphMetric { name: "dollar", text: "$", width: 500 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 333 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 278 },
GlyphMetric { name: "e", text: "e", width: 444 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 444 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 444 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 444 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 444 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 444 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 444 },
GlyphMetric { name: "eight", text: "8", width: 500 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 1000 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 444 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 1000 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 500 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 444 },
GlyphMetric { name: "equal", text: "=", width: 570 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 500 },
GlyphMetric { name: "exclam", text: "!", width: 389 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 389 },
GlyphMetric { name: "f", text: "f", width: 333 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 556 },
GlyphMetric { name: "five", text: "5", width: 500 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 556 },
GlyphMetric { name: "florin", text: "\u{192}", width: 500 },
GlyphMetric { name: "four", text: "4", width: 500 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 167 },
GlyphMetric { name: "g", text: "g", width: 500 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 500 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 500 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 500 },
GlyphMetric { name: "grave", text: "`", width: 333 },
GlyphMetric { name: "greater", text: ">", width: 570 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 549 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 500 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 500 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 333 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 333 },
GlyphMetric { name: "h", text: "h", width: 556 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 333 },
GlyphMetric { name: "hyphen", text: "-", width: 333 },
GlyphMetric { name: "i", text: "i", width: 278 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 278 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 278 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 278 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 278 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 278 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 278 },
GlyphMetric { name: "j", text: "j", width: 278 },
GlyphMetric { name: "k", text: "k", width: 500 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 500 },
GlyphMetric { name: "l", text: "l", width: 278 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 278 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 382 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 278 },
GlyphMetric { name: "less", text: "<", width: 570 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 549 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 606 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 494 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 278 },
GlyphMetric { name: "m", text: "m", width: 778 },
GlyphMetric { name: "macron", text: "\u{af}", width: 333 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 606 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 576 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 570 },
GlyphMetric { name: "n", text: "n", width: 556 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 556 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 556 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 556 },
GlyphMetric { name: "nine", text: "9", width: 500 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 549 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 556 },
GlyphMetric { name: "numbersign", text: "#", width: 500 },
GlyphMetric { name: "o", text: "o", width: 500 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 500 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 500 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 500 },
GlyphMetric { name: "oe", text: "\u{153}", width: 722 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 333 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 500 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 500 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 500 },
GlyphMetric { name: "one", text: "1", width: 500 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 750 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 750 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 300 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 266 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 300 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 500 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 500 },
GlyphMetric { name: "p", text: "p", width: 500 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 500 },
GlyphMetric { name: "parenleft", text: "(", width: 333 },
GlyphMetric { name: "parenright", text: ")", width: 333 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 494 },
GlyphMetric { name: "percent", text: "%", width: 833 },
GlyphMetric { name: "period", text: ".", width: 250 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 250 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 1000 },
GlyphMetric { name: "plus", text: "+", width: 570 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 570 },
GlyphMetric { name: "q", text: "q", width: 500 },
GlyphMetric { name: "question", text: "?", width: 500 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 500 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 555 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 500 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 500 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 500 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 333 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 333 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 333 },
GlyphMetric { name: "quotesingle", text: "'", width: 278 },
GlyphMetric { name: "r", text: "r", width: 389 },
GlyphMetric { name: "racute", text: "\u{155}", width: 389 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 549 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 389 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 389 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 747 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 333 },
GlyphMetric { name: "s", text: "s", width: 389 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 389 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 389 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 389 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 389 },
GlyphMetric { name: "section", text: "\u{a7}", width: 500 },
GlyphMetric { name: "semicolon", text: ";", width: 333 },
GlyphMetric { name: "seven", text: "7", width: 500 },
GlyphMetric { name: "six", text: "6", width: 500 },
GlyphMetric { name: "slash", text: "/", width: 278 },
GlyphMetric { name: "space", text: " ", width: 250 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 500 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 278 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 366 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 278 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 500 },
GlyphMetric { name: "three", text: "3", width: 500 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 750 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 300 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 333 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 1000 },
GlyphMetric { name: "two", text: "2", width: 500 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 300 },
GlyphMetric { name: "u", text: "u", width: 556 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 556 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 556 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 556 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 556 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 556 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 556 },
GlyphMetric { name: "underscore", text: "_", width: 500 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 556 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 556 },
GlyphMetric { name: "v", text: "v", width: 444 },
GlyphMetric { name: "w", text: "w", width: 667 },
GlyphMetric { name: "x", text: "x", width: 500 },
GlyphMetric { name: "y", text: "y", width: 444 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 444 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 444 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 500 },
GlyphMetric { name: "z", text: "z", width: 389 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 389 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 389 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 389 },
GlyphMetric { name: "zero", text: "0", width: 500 },
];
#[rustfmt::skip]
const TIMES_BOLDITALIC_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const TIMES_BOLDITALIC_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const TIMES_ITALIC_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 611 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 889 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 611 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 611 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 611 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 611 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 611 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 611 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 611 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 611 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 611 },
GlyphMetric { name: "B", text: "B", width: 611 },
GlyphMetric { name: "C", text: "C", width: 667 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 667 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 667 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 667 },
GlyphMetric { name: "D", text: "D", width: 722 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 722 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 722 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 612 },
GlyphMetric { name: "E", text: "E", width: 611 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 611 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 611 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 611 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 611 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 611 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 611 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 611 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 611 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 722 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 500 },
GlyphMetric { name: "F", text: "F", width: 611 },
GlyphMetric { name: "G", text: "G", width: 722 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 722 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 722 },
GlyphMetric { name: "H", text: "H", width: 722 },
GlyphMetric { name: "I", text: "I", width: 333 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 333 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 333 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 333 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 333 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 333 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 333 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 333 },
GlyphMetric { name: "J", text: "J", width: 444 },
GlyphMetric { name: "K", text: "K", width: 667 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 667 },
GlyphMetric { name: "L", text: "L", width: 556 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 556 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 611 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 556 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 556 },
GlyphMetric { name: "M", text: "M", width: 833 },
GlyphMetric { name: "N", text: "N", width: 667 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 667 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 667 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 667 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 667 },
GlyphMetric { name: "O", text: "O", width: 722 },
GlyphMetric { name: "OE", text: "\u{152}", width: 944 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 722 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 722 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 722 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 722 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 722 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 722 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 722 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 722 },
GlyphMetric { name: "P", text: "P", width: 611 },
GlyphMetric { name: "Q", text: "Q", width: 722 },
GlyphMetric { name: "R", text: "R", width: 611 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 611 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 611 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 611 },
GlyphMetric { name: "S", text: "S", width: 500 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 500 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 500 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 500 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 500 },
GlyphMetric { name: "T", text: "T", width: 556 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 556 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 556 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 611 },
GlyphMetric { name: "U", text: "U", width: 722 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 722 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 722 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 722 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 722 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 722 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 722 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 722 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 722 },
GlyphMetric { name: "V", text: "V", width: 611 },
GlyphMetric { name: "W", text: "W", width: 833 },
GlyphMetric { name: "X", text: "X", width: 611 },
GlyphMetric { name: "Y", text: "Y", width: 556 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 556 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 556 },
GlyphMetric { name: "Z", text: "Z", width: 556 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 556 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 556 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 556 },
GlyphMetric { name: "a", text: "a", width: 500 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 500 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 500 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 500 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 333 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 500 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 667 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 500 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 500 },
GlyphMetric { name: "ampersand", text: "&", width: 778 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 500 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 500 },
GlyphMetric { name: "asciicircum", text: "^", width: 422 },
GlyphMetric { name: "asciitilde", text: "~", width: 541 },
GlyphMetric { name: "asterisk", text: "*", width: 500 },
GlyphMetric { name: "at", text: "@", width: 920 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 500 },
GlyphMetric { name: "b", text: "b", width: 500 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 278 },
GlyphMetric { name: "bar", text: "|", width: 275 },
GlyphMetric { name: "braceleft", text: "{", width: 400 },
GlyphMetric { name: "braceright", text: "}", width: 400 },
GlyphMetric { name: "bracketleft", text: "[", width: 389 },
GlyphMetric { name: "bracketright", text: "]", width: 389 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 333 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 275 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 350 },
GlyphMetric { name: "c", text: "c", width: 444 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 444 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 333 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 444 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 444 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 333 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 500 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 333 },
GlyphMetric { name: "colon", text: ":", width: 333 },
GlyphMetric { name: "comma", text: ",", width: 250 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 250 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 760 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 500 },
GlyphMetric { name: "d", text: "d", width: 500 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 500 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 500 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 544 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 500 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 400 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 333 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 675 },
GlyphMetric { name: "dollar", text: "$", width: 500 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 333 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 278 },
GlyphMetric { name: "e", text: "e", width: 444 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 444 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 444 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 444 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 444 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 444 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 444 },
GlyphMetric { name: "eight", text: "8", width: 500 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 889 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 444 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 889 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 500 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 444 },
GlyphMetric { name: "equal", text: "=", width: 675 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 500 },
GlyphMetric { name: "exclam", text: "!", width: 333 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 389 },
GlyphMetric { name: "f", text: "f", width: 278 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 500 },
GlyphMetric { name: "five", text: "5", width: 500 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 500 },
GlyphMetric { name: "florin", text: "\u{192}", width: 500 },
GlyphMetric { name: "four", text: "4", width: 500 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 167 },
GlyphMetric { name: "g", text: "g", width: 500 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 500 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 500 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 500 },
GlyphMetric { name: "grave", text: "`", width: 333 },
GlyphMetric { name: "greater", text: ">", width: 675 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 549 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 500 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 500 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 333 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 333 },
GlyphMetric { name: "h", text: "h", width: 500 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 333 },
GlyphMetric { name: "hyphen", text: "-", width: 333 },
GlyphMetric { name: "i", text: "i", width: 278 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 278 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 278 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 278 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 278 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 278 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 278 },
GlyphMetric { name: "j", text: "j", width: 278 },
GlyphMetric { name: "k", text: "k", width: 444 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 444 },
GlyphMetric { name: "l", text: "l", width: 278 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 278 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 300 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 278 },
GlyphMetric { name: "less", text: "<", width: 675 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 549 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 675 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 471 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 278 },
GlyphMetric { name: "m", text: "m", width: 722 },
GlyphMetric { name: "macron", text: "\u{af}", width: 333 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 675 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 500 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 675 },
GlyphMetric { name: "n", text: "n", width: 500 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 500 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 500 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 500 },
GlyphMetric { name: "nine", text: "9", width: 500 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 549 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 500 },
GlyphMetric { name: "numbersign", text: "#", width: 500 },
GlyphMetric { name: "o", text: "o", width: 500 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 500 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 500 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 500 },
GlyphMetric { name: "oe", text: "\u{153}", width: 667 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 333 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 500 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 500 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 500 },
GlyphMetric { name: "one", text: "1", width: 500 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 750 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 750 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 300 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 276 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 310 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 500 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 500 },
GlyphMetric { name: "p", text: "p", width: 500 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 523 },
GlyphMetric { name: "parenleft", text: "(", width: 333 },
GlyphMetric { name: "parenright", text: ")", width: 333 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 476 },
GlyphMetric { name: "percent", text: "%", width: 833 },
GlyphMetric { name: "period", text: ".", width: 250 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 250 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 1000 },
GlyphMetric { name: "plus", text: "+", width: 675 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 675 },
GlyphMetric { name: "q", text: "q", width: 500 },
GlyphMetric { name: "question", text: "?", width: 500 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 500 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 420 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 556 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 556 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 556 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 333 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 333 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 333 },
GlyphMetric { name: "quotesingle", text: "'", width: 214 },
GlyphMetric { name: "r", text: "r", width: 389 },
GlyphMetric { name: "racute", text: "\u{155}", width: 389 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 453 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 389 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 389 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 760 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 333 },
GlyphMetric { name: "s", text: "s", width: 389 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 389 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 389 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 389 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 389 },
GlyphMetric { name: "section", text: "\u{a7}", width: 500 },
GlyphMetric { name: "semicolon", text: ";", width: 333 },
GlyphMetric { name: "seven", text: "7", width: 500 },
GlyphMetric { name: "six", text: "6", width: 500 },
GlyphMetric { name: "slash", text: "/", width: 278 },
GlyphMetric { name: "space", text: " ", width: 250 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 500 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 278 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 300 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 278 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 500 },
GlyphMetric { name: "three", text: "3", width: 500 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 750 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 300 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 333 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 980 },
GlyphMetric { name: "two", text: "2", width: 500 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 300 },
GlyphMetric { name: "u", text: "u", width: 500 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 500 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 500 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 500 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 500 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 500 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 500 },
GlyphMetric { name: "underscore", text: "_", width: 500 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 500 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 500 },
GlyphMetric { name: "v", text: "v", width: 444 },
GlyphMetric { name: "w", text: "w", width: 667 },
GlyphMetric { name: "x", text: "x", width: 444 },
GlyphMetric { name: "y", text: "y", width: 444 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 444 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 444 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 500 },
GlyphMetric { name: "z", text: "z", width: 389 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 389 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 389 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 389 },
GlyphMetric { name: "zero", text: "0", width: 500 },
];
#[rustfmt::skip]
const TIMES_ITALIC_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const TIMES_ITALIC_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const TIMES_ROMAN_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "A", text: "A", width: 722 },
GlyphMetric { name: "AE", text: "\u{c6}", width: 889 },
GlyphMetric { name: "Aacute", text: "\u{c1}", width: 722 },
GlyphMetric { name: "Abreve", text: "\u{102}", width: 722 },
GlyphMetric { name: "Acircumflex", text: "\u{c2}", width: 722 },
GlyphMetric { name: "Adieresis", text: "\u{c4}", width: 722 },
GlyphMetric { name: "Agrave", text: "\u{c0}", width: 722 },
GlyphMetric { name: "Amacron", text: "\u{100}", width: 722 },
GlyphMetric { name: "Aogonek", text: "\u{104}", width: 722 },
GlyphMetric { name: "Aring", text: "\u{c5}", width: 722 },
GlyphMetric { name: "Atilde", text: "\u{c3}", width: 722 },
GlyphMetric { name: "B", text: "B", width: 667 },
GlyphMetric { name: "C", text: "C", width: 667 },
GlyphMetric { name: "Cacute", text: "\u{106}", width: 667 },
GlyphMetric { name: "Ccaron", text: "\u{10c}", width: 667 },
GlyphMetric { name: "Ccedilla", text: "\u{c7}", width: 667 },
GlyphMetric { name: "D", text: "D", width: 722 },
GlyphMetric { name: "Dcaron", text: "\u{10e}", width: 722 },
GlyphMetric { name: "Dcroat", text: "\u{110}", width: 722 },
GlyphMetric { name: "Delta", text: "\u{2206}", width: 612 },
GlyphMetric { name: "E", text: "E", width: 611 },
GlyphMetric { name: "Eacute", text: "\u{c9}", width: 611 },
GlyphMetric { name: "Ecaron", text: "\u{11a}", width: 611 },
GlyphMetric { name: "Ecircumflex", text: "\u{ca}", width: 611 },
GlyphMetric { name: "Edieresis", text: "\u{cb}", width: 611 },
GlyphMetric { name: "Edotaccent", text: "\u{116}", width: 611 },
GlyphMetric { name: "Egrave", text: "\u{c8}", width: 611 },
GlyphMetric { name: "Emacron", text: "\u{112}", width: 611 },
GlyphMetric { name: "Eogonek", text: "\u{118}", width: 611 },
GlyphMetric { name: "Eth", text: "\u{d0}", width: 722 },
GlyphMetric { name: "Euro", text: "\u{20ac}", width: 500 },
GlyphMetric { name: "F", text: "F", width: 556 },
GlyphMetric { name: "G", text: "G", width: 722 },
GlyphMetric { name: "Gbreve", text: "\u{11e}", width: 722 },
GlyphMetric { name: "Gcommaaccent", text: "\u{122}", width: 722 },
GlyphMetric { name: "H", text: "H", width: 722 },
GlyphMetric { name: "I", text: "I", width: 333 },
GlyphMetric { name: "Iacute", text: "\u{cd}", width: 333 },
GlyphMetric { name: "Icircumflex", text: "\u{ce}", width: 333 },
GlyphMetric { name: "Idieresis", text: "\u{cf}", width: 333 },
GlyphMetric { name: "Idotaccent", text: "\u{130}", width: 333 },
GlyphMetric { name: "Igrave", text: "\u{cc}", width: 333 },
GlyphMetric { name: "Imacron", text: "\u{12a}", width: 333 },
GlyphMetric { name: "Iogonek", text: "\u{12e}", width: 333 },
GlyphMetric { name: "J", text: "J", width: 389 },
GlyphMetric { name: "K", text: "K", width: 722 },
GlyphMetric { name: "Kcommaaccent", text: "\u{136}", width: 722 },
GlyphMetric { name: "L", text: "L", width: 611 },
GlyphMetric { name: "Lacute", text: "\u{139}", width: 611 },
GlyphMetric { name: "Lcaron", text: "\u{13d}", width: 611 },
GlyphMetric { name: "Lcommaaccent", text: "\u{13b}", width: 611 },
GlyphMetric { name: "Lslash", text: "\u{141}", width: 611 },
GlyphMetric { name: "M", text: "M", width: 889 },
GlyphMetric { name: "N", text: "N", width: 722 },
GlyphMetric { name: "Nacute", text: "\u{143}", width: 722 },
GlyphMetric { name: "Ncaron", text: "\u{147}", width: 722 },
GlyphMetric { name: "Ncommaaccent", text: "\u{145}", width: 722 },
GlyphMetric { name: "Ntilde", text: "\u{d1}", width: 722 },
GlyphMetric { name: "O", text: "O", width: 722 },
GlyphMetric { name: "OE", text: "\u{152}", width: 889 },
GlyphMetric { name: "Oacute", text: "\u{d3}", width: 722 },
GlyphMetric { name: "Ocircumflex", text: "\u{d4}", width: 722 },
GlyphMetric { name: "Odieresis", text: "\u{d6}", width: 722 },
GlyphMetric { name: "Ograve", text: "\u{d2}", width: 722 },
GlyphMetric { name: "Ohungarumlaut", text: "\u{150}", width: 722 },
GlyphMetric { name: "Omacron", text: "\u{14c}", width: 722 },
GlyphMetric { name: "Oslash", text: "\u{d8}", width: 722 },
GlyphMetric { name: "Otilde", text: "\u{d5}", width: 722 },
GlyphMetric { name: "P", text: "P", width: 556 },
GlyphMetric { name: "Q", text: "Q", width: 722 },
GlyphMetric { name: "R", text: "R", width: 667 },
GlyphMetric { name: "Racute", text: "\u{154}", width: 667 },
GlyphMetric { name: "Rcaron", text: "\u{158}", width: 667 },
GlyphMetric { name: "Rcommaaccent", text: "\u{156}", width: 667 },
GlyphMetric { name: "S", text: "S", width: 556 },
GlyphMetric { name: "Sacute", text: "\u{15a}", width: 556 },
GlyphMetric { name: "Scaron", text: "\u{160}", width: 556 },
GlyphMetric { name: "Scedilla", text: "\u{15e}", width: 556 },
GlyphMetric { name: "Scommaaccent", text: "\u{218}", width: 556 },
GlyphMetric { name: "T", text: "T", width: 611 },
GlyphMetric { name: "Tcaron", text: "\u{164}", width: 611 },
GlyphMetric { name: "Tcommaaccent", text: "\u{162}", width: 611 },
GlyphMetric { name: "Thorn", text: "\u{de}", width: 556 },
GlyphMetric { name: "U", text: "U", width: 722 },
GlyphMetric { name: "Uacute", text: "\u{da}", width: 722 },
GlyphMetric { name: "Ucircumflex", text: "\u{db}", width: 722 },
GlyphMetric { name: "Udieresis", text: "\u{dc}", width: 722 },
GlyphMetric { name: "Ugrave", text: "\u{d9}", width: 722 },
GlyphMetric { name: "Uhungarumlaut", text: "\u{170}", width: 722 },
GlyphMetric { name: "Umacron", text: "\u{16a}", width: 722 },
GlyphMetric { name: "Uogonek", text: "\u{172}", width: 722 },
GlyphMetric { name: "Uring", text: "\u{16e}", width: 722 },
GlyphMetric { name: "V", text: "V", width: 722 },
GlyphMetric { name: "W", text: "W", width: 944 },
GlyphMetric { name: "X", text: "X", width: 722 },
GlyphMetric { name: "Y", text: "Y", width: 722 },
GlyphMetric { name: "Yacute", text: "\u{dd}", width: 722 },
GlyphMetric { name: "Ydieresis", text: "\u{178}", width: 722 },
GlyphMetric { name: "Z", text: "Z", width: 611 },
GlyphMetric { name: "Zacute", text: "\u{179}", width: 611 },
GlyphMetric { name: "Zcaron", text: "\u{17d}", width: 611 },
GlyphMetric { name: "Zdotaccent", text: "\u{17b}", width: 611 },
GlyphMetric { name: "a", text: "a", width: 444 },
GlyphMetric { name: "aacute", text: "\u{e1}", width: 444 },
GlyphMetric { name: "abreve", text: "\u{103}", width: 444 },
GlyphMetric { name: "acircumflex", text: "\u{e2}", width: 444 },
GlyphMetric { name: "acute", text: "\u{b4}", width: 333 },
GlyphMetric { name: "adieresis", text: "\u{e4}", width: 444 },
GlyphMetric { name: "ae", text: "\u{e6}", width: 667 },
GlyphMetric { name: "agrave", text: "\u{e0}", width: 444 },
GlyphMetric { name: "amacron", text: "\u{101}", width: 444 },
GlyphMetric { name: "ampersand", text: "&", width: 778 },
GlyphMetric { name: "aogonek", text: "\u{105}", width: 444 },
GlyphMetric { name: "aring", text: "\u{e5}", width: 444 },
GlyphMetric { name: "asciicircum", text: "^", width: 469 },
GlyphMetric { name: "asciitilde", text: "~", width: 541 },
GlyphMetric { name: "asterisk", text: "*", width: 500 },
GlyphMetric { name: "at", text: "@", width: 921 },
GlyphMetric { name: "atilde", text: "\u{e3}", width: 444 },
GlyphMetric { name: "b", text: "b", width: 500 },
GlyphMetric { name: "backslash", text: "\u{5c}", width: 278 },
GlyphMetric { name: "bar", text: "|", width: 200 },
GlyphMetric { name: "braceleft", text: "{", width: 480 },
GlyphMetric { name: "braceright", text: "}", width: 480 },
GlyphMetric { name: "bracketleft", text: "[", width: 333 },
GlyphMetric { name: "bracketright", text: "]", width: 333 },
GlyphMetric { name: "breve", text: "\u{2d8}", width: 333 },
GlyphMetric { name: "brokenbar", text: "\u{a6}", width: 200 },
GlyphMetric { name: "bullet", text: "\u{2022}", width: 350 },
GlyphMetric { name: "c", text: "c", width: 444 },
GlyphMetric { name: "cacute", text: "\u{107}", width: 444 },
GlyphMetric { name: "caron", text: "\u{2c7}", width: 333 },
GlyphMetric { name: "ccaron", text: "\u{10d}", width: 444 },
GlyphMetric { name: "ccedilla", text: "\u{e7}", width: 444 },
GlyphMetric { name: "cedilla", text: "\u{b8}", width: 333 },
GlyphMetric { name: "cent", text: "\u{a2}", width: 500 },
GlyphMetric { name: "circumflex", text: "\u{2c6}", width: 333 },
GlyphMetric { name: "colon", text: ":", width: 278 },
GlyphMetric { name: "comma", text: ",", width: 250 },
GlyphMetric { name: "commaaccent", text: "\u{f6c3}", width: 250 },
GlyphMetric { name: "copyright", text: "\u{a9}", width: 760 },
GlyphMetric { name: "currency", text: "\u{a4}", width: 500 },
GlyphMetric { name: "d", text: "d", width: 500 },
GlyphMetric { name: "dagger", text: "\u{2020}", width: 500 },
GlyphMetric { name: "daggerdbl", text: "\u{2021}", width: 500 },
GlyphMetric { name: "dcaron", text: "\u{10f}", width: 588 },
GlyphMetric { name: "dcroat", text: "\u{111}", width: 500 },
GlyphMetric { name: "degree", text: "\u{b0}", width: 400 },
GlyphMetric { name: "dieresis", text: "\u{a8}", width: 333 },
GlyphMetric { name: "divide", text: "\u{f7}", width: 564 },
GlyphMetric { name: "dollar", text: "$", width: 500 },
GlyphMetric { name: "dotaccent", text: "\u{2d9}", width: 333 },
GlyphMetric { name: "dotlessi", text: "\u{131}", width: 278 },
GlyphMetric { name: "e", text: "e", width: 444 },
GlyphMetric { name: "eacute", text: "\u{e9}", width: 444 },
GlyphMetric { name: "ecaron", text: "\u{11b}", width: 444 },
GlyphMetric { name: "ecircumflex", text: "\u{ea}", width: 444 },
GlyphMetric { name: "edieresis", text: "\u{eb}", width: 444 },
GlyphMetric { name: "edotaccent", text: "\u{117}", width: 444 },
GlyphMetric { name: "egrave", text: "\u{e8}", width: 444 },
GlyphMetric { name: "eight", text: "8", width: 500 },
GlyphMetric { name: "ellipsis", text: "\u{2026}", width: 1000 },
GlyphMetric { name: "emacron", text: "\u{113}", width: 444 },
GlyphMetric { name: "emdash", text: "\u{2014}", width: 1000 },
GlyphMetric { name: "endash", text: "\u{2013}", width: 500 },
GlyphMetric { name: "eogonek", text: "\u{119}", width: 444 },
GlyphMetric { name: "equal", text: "=", width: 564 },
GlyphMetric { name: "eth", text: "\u{f0}", width: 500 },
GlyphMetric { name: "exclam", text: "!", width: 333 },
GlyphMetric { name: "exclamdown", text: "\u{a1}", width: 333 },
GlyphMetric { name: "f", text: "f", width: 333 },
GlyphMetric { name: "fi", text: "\u{fb01}", width: 556 },
GlyphMetric { name: "five", text: "5", width: 500 },
GlyphMetric { name: "fl", text: "\u{fb02}", width: 556 },
GlyphMetric { name: "florin", text: "\u{192}", width: 500 },
GlyphMetric { name: "four", text: "4", width: 500 },
GlyphMetric { name: "fraction", text: "\u{2044}", width: 167 },
GlyphMetric { name: "g", text: "g", width: 500 },
GlyphMetric { name: "gbreve", text: "\u{11f}", width: 500 },
GlyphMetric { name: "gcommaaccent", text: "\u{123}", width: 500 },
GlyphMetric { name: "germandbls", text: "\u{df}", width: 500 },
GlyphMetric { name: "grave", text: "`", width: 333 },
GlyphMetric { name: "greater", text: ">", width: 564 },
GlyphMetric { name: "greaterequal", text: "\u{2265}", width: 549 },
GlyphMetric { name: "guillemotleft", text: "\u{ab}", width: 500 },
GlyphMetric { name: "guillemotright", text: "\u{bb}", width: 500 },
GlyphMetric { name: "guilsinglleft", text: "\u{2039}", width: 333 },
GlyphMetric { name: "guilsinglright", text: "\u{203a}", width: 333 },
GlyphMetric { name: "h", text: "h", width: 500 },
GlyphMetric { name: "hungarumlaut", text: "\u{2dd}", width: 333 },
GlyphMetric { name: "hyphen", text: "-", width: 333 },
GlyphMetric { name: "i", text: "i", width: 278 },
GlyphMetric { name: "iacute", text: "\u{ed}", width: 278 },
GlyphMetric { name: "icircumflex", text: "\u{ee}", width: 278 },
GlyphMetric { name: "idieresis", text: "\u{ef}", width: 278 },
GlyphMetric { name: "igrave", text: "\u{ec}", width: 278 },
GlyphMetric { name: "imacron", text: "\u{12b}", width: 278 },
GlyphMetric { name: "iogonek", text: "\u{12f}", width: 278 },
GlyphMetric { name: "j", text: "j", width: 278 },
GlyphMetric { name: "k", text: "k", width: 500 },
GlyphMetric { name: "kcommaaccent", text: "\u{137}", width: 500 },
GlyphMetric { name: "l", text: "l", width: 278 },
GlyphMetric { name: "lacute", text: "\u{13a}", width: 278 },
GlyphMetric { name: "lcaron", text: "\u{13e}", width: 344 },
GlyphMetric { name: "lcommaaccent", text: "\u{13c}", width: 278 },
GlyphMetric { name: "less", text: "<", width: 564 },
GlyphMetric { name: "lessequal", text: "\u{2264}", width: 549 },
GlyphMetric { name: "logicalnot", text: "\u{ac}", width: 564 },
GlyphMetric { name: "lozenge", text: "\u{25ca}", width: 471 },
GlyphMetric { name: "lslash", text: "\u{142}", width: 278 },
GlyphMetric { name: "m", text: "m", width: 778 },
GlyphMetric { name: "macron", text: "\u{af}", width: 333 },
GlyphMetric { name: "minus", text: "\u{2212}", width: 564 },
GlyphMetric { name: "mu", text: "\u{b5}", width: 500 },
GlyphMetric { name: "multiply", text: "\u{d7}", width: 564 },
GlyphMetric { name: "n", text: "n", width: 500 },
GlyphMetric { name: "nacute", text: "\u{144}", width: 500 },
GlyphMetric { name: "ncaron", text: "\u{148}", width: 500 },
GlyphMetric { name: "ncommaaccent", text: "\u{146}", width: 500 },
GlyphMetric { name: "nine", text: "9", width: 500 },
GlyphMetric { name: "notequal", text: "\u{2260}", width: 549 },
GlyphMetric { name: "ntilde", text: "\u{f1}", width: 500 },
GlyphMetric { name: "numbersign", text: "#", width: 500 },
GlyphMetric { name: "o", text: "o", width: 500 },
GlyphMetric { name: "oacute", text: "\u{f3}", width: 500 },
GlyphMetric { name: "ocircumflex", text: "\u{f4}", width: 500 },
GlyphMetric { name: "odieresis", text: "\u{f6}", width: 500 },
GlyphMetric { name: "oe", text: "\u{153}", width: 722 },
GlyphMetric { name: "ogonek", text: "\u{2db}", width: 333 },
GlyphMetric { name: "ograve", text: "\u{f2}", width: 500 },
GlyphMetric { name: "ohungarumlaut", text: "\u{151}", width: 500 },
GlyphMetric { name: "omacron", text: "\u{14d}", width: 500 },
GlyphMetric { name: "one", text: "1", width: 500 },
GlyphMetric { name: "onehalf", text: "\u{bd}", width: 750 },
GlyphMetric { name: "onequarter", text: "\u{bc}", width: 750 },
GlyphMetric { name: "onesuperior", text: "\u{b9}", width: 300 },
GlyphMetric { name: "ordfeminine", text: "\u{aa}", width: 276 },
GlyphMetric { name: "ordmasculine", text: "\u{ba}", width: 310 },
GlyphMetric { name: "oslash", text: "\u{f8}", width: 500 },
GlyphMetric { name: "otilde", text: "\u{f5}", width: 500 },
GlyphMetric { name: "p", text: "p", width: 500 },
GlyphMetric { name: "paragraph", text: "\u{b6}", width: 453 },
GlyphMetric { name: "parenleft", text: "(", width: 333 },
GlyphMetric { name: "parenright", text: ")", width: 333 },
GlyphMetric { name: "partialdiff", text: "\u{2202}", width: 476 },
GlyphMetric { name: "percent", text: "%", width: 833 },
GlyphMetric { name: "period", text: ".", width: 250 },
GlyphMetric { name: "periodcentered", text: "\u{b7}", width: 250 },
GlyphMetric { name: "perthousand", text: "\u{2030}", width: 1000 },
GlyphMetric { name: "plus", text: "+", width: 564 },
GlyphMetric { name: "plusminus", text: "\u{b1}", width: 564 },
GlyphMetric { name: "q", text: "q", width: 500 },
GlyphMetric { name: "question", text: "?", width: 444 },
GlyphMetric { name: "questiondown", text: "\u{bf}", width: 444 },
GlyphMetric { name: "quotedbl", text: "\u{22}", width: 408 },
GlyphMetric { name: "quotedblbase", text: "\u{201e}", width: 444 },
GlyphMetric { name: "quotedblleft", text: "\u{201c}", width: 444 },
GlyphMetric { name: "quotedblright", text: "\u{201d}", width: 444 },
GlyphMetric { name: "quoteleft", text: "\u{2018}", width: 333 },
GlyphMetric { name: "quoteright", text: "\u{2019}", width: 333 },
GlyphMetric { name: "quotesinglbase", text: "\u{201a}", width: 333 },
GlyphMetric { name: "quotesingle", text: "'", width: 180 },
GlyphMetric { name: "r", text: "r", width: 333 },
GlyphMetric { name: "racute", text: "\u{155}", width: 333 },
GlyphMetric { name: "radical", text: "\u{221a}", width: 453 },
GlyphMetric { name: "rcaron", text: "\u{159}", width: 333 },
GlyphMetric { name: "rcommaaccent", text: "\u{157}", width: 333 },
GlyphMetric { name: "registered", text: "\u{ae}", width: 760 },
GlyphMetric { name: "ring", text: "\u{2da}", width: 333 },
GlyphMetric { name: "s", text: "s", width: 389 },
GlyphMetric { name: "sacute", text: "\u{15b}", width: 389 },
GlyphMetric { name: "scaron", text: "\u{161}", width: 389 },
GlyphMetric { name: "scedilla", text: "\u{15f}", width: 389 },
GlyphMetric { name: "scommaaccent", text: "\u{219}", width: 389 },
GlyphMetric { name: "section", text: "\u{a7}", width: 500 },
GlyphMetric { name: "semicolon", text: ";", width: 278 },
GlyphMetric { name: "seven", text: "7", width: 500 },
GlyphMetric { name: "six", text: "6", width: 500 },
GlyphMetric { name: "slash", text: "/", width: 278 },
GlyphMetric { name: "space", text: " ", width: 250 },
GlyphMetric { name: "sterling", text: "\u{a3}", width: 500 },
GlyphMetric { name: "summation", text: "\u{2211}", width: 600 },
GlyphMetric { name: "t", text: "t", width: 278 },
GlyphMetric { name: "tcaron", text: "\u{165}", width: 326 },
GlyphMetric { name: "tcommaaccent", text: "\u{163}", width: 278 },
GlyphMetric { name: "thorn", text: "\u{fe}", width: 500 },
GlyphMetric { name: "three", text: "3", width: 500 },
GlyphMetric { name: "threequarters", text: "\u{be}", width: 750 },
GlyphMetric { name: "threesuperior", text: "\u{b3}", width: 300 },
GlyphMetric { name: "tilde", text: "\u{2dc}", width: 333 },
GlyphMetric { name: "trademark", text: "\u{2122}", width: 980 },
GlyphMetric { name: "two", text: "2", width: 500 },
GlyphMetric { name: "twosuperior", text: "\u{b2}", width: 300 },
GlyphMetric { name: "u", text: "u", width: 500 },
GlyphMetric { name: "uacute", text: "\u{fa}", width: 500 },
GlyphMetric { name: "ucircumflex", text: "\u{fb}", width: 500 },
GlyphMetric { name: "udieresis", text: "\u{fc}", width: 500 },
GlyphMetric { name: "ugrave", text: "\u{f9}", width: 500 },
GlyphMetric { name: "uhungarumlaut", text: "\u{171}", width: 500 },
GlyphMetric { name: "umacron", text: "\u{16b}", width: 500 },
GlyphMetric { name: "underscore", text: "_", width: 500 },
GlyphMetric { name: "uogonek", text: "\u{173}", width: 500 },
GlyphMetric { name: "uring", text: "\u{16f}", width: 500 },
GlyphMetric { name: "v", text: "v", width: 500 },
GlyphMetric { name: "w", text: "w", width: 722 },
GlyphMetric { name: "x", text: "x", width: 500 },
GlyphMetric { name: "y", text: "y", width: 500 },
GlyphMetric { name: "yacute", text: "\u{fd}", width: 500 },
GlyphMetric { name: "ydieresis", text: "\u{ff}", width: 500 },
GlyphMetric { name: "yen", text: "\u{a5}", width: 500 },
GlyphMetric { name: "z", text: "z", width: 444 },
GlyphMetric { name: "zacute", text: "\u{17a}", width: 444 },
GlyphMetric { name: "zcaron", text: "\u{17e}", width: 444 },
GlyphMetric { name: "zdotaccent", text: "\u{17c}", width: 444 },
GlyphMetric { name: "zero", text: "0", width: 500 },
];
#[rustfmt::skip]
const TIMES_ROMAN_UNICODE: &[(u32, u16)] = &[
(0x0020, 279),
(0x0021, 168),
(0x0022, 254),
(0x0023, 222),
(0x0024, 150),
(0x0025, 245),
(0x0026, 111),
(0x0027, 261),
(0x0028, 242),
(0x0029, 243),
(0x002a, 116),
(0x002b, 249),
(0x002c, 138),
(0x002d, 190),
(0x002e, 246),
(0x002f, 278),
(0x0030, 314),
(0x0031, 232),
(0x0032, 291),
(0x0033, 286),
(0x0034, 175),
(0x0035, 172),
(0x0036, 277),
(0x0037, 276),
(0x0038, 160),
(0x0039, 219),
(0x003a, 137),
(0x003b, 275),
(0x003c, 205),
(0x003d, 166),
(0x003e, 182),
(0x003f, 252),
(0x0040, 117),
(0x0041, 0),
(0x0042, 11),
(0x0043, 12),
(0x0044, 16),
(0x0045, 20),
(0x0046, 31),
(0x0047, 32),
(0x0048, 35),
(0x0049, 36),
(0x004a, 44),
(0x004b, 45),
(0x004c, 47),
(0x004d, 52),
(0x004e, 53),
(0x004f, 58),
(0x0050, 68),
(0x0051, 69),
(0x0052, 70),
(0x0053, 74),
(0x0054, 79),
(0x0055, 83),
(0x0056, 92),
(0x0057, 93),
(0x0058, 94),
(0x0059, 95),
(0x005a, 98),
(0x005b, 124),
(0x005c, 120),
(0x005d, 125),
(0x005e, 114),
(0x005f, 300),
(0x0060, 181),
(0x0061, 102),
(0x0062, 119),
(0x0063, 129),
(0x0064, 142),
(0x0065, 153),
(0x0066, 170),
(0x0067, 177),
(0x0068, 188),
(0x0069, 191),
(0x006a, 198),
(0x006b, 199),
(0x006c, 201),
(0x006d, 210),
(0x006e, 215),
(0x006f, 223),
(0x0070, 240),
(0x0071, 251),
(0x0072, 262),
(0x0073, 269),
(0x0074, 282),
(0x0075, 293),
(0x0076, 303),
(0x0077, 304),
(0x0078, 305),
(0x0079, 306),
(0x007a, 310),
(0x007b, 122),
(0x007c, 121),
(0x007d, 123),
(0x007e, 115),
(0x00a1, 169),
(0x00a2, 135),
(0x00a3, 280),
(0x00a4, 141),
(0x00a5, 309),
(0x00a6, 127),
(0x00a7, 274),
(0x00a8, 148),
(0x00a9, 140),
(0x00aa, 236),
(0x00ab, 184),
(0x00ac, 207),
(0x00ae, 267),
(0x00af, 211),
(0x00b0, 147),
(0x00b1, 250),
(0x00b2, 292),
(0x00b3, 288),
(0x00b4, 106),
(0x00b5, 213),
(0x00b6, 241),
(0x00b7, 247),
(0x00b8, 134),
(0x00b9, 235),
(0x00ba, 237),
(0x00bb, 185),
(0x00bc, 234),
(0x00bd, 233),
(0x00be, 287),
(0x00bf, 253),
(0x00c0, 6),
(0x00c1, 2),
(0x00c2, 4),
(0x00c3, 10),
(0x00c4, 5),
(0x00c5, 9),
(0x00c6, 1),
(0x00c7, 15),
(0x00c8, 26),
(0x00c9, 21),
(0x00ca, 23),
(0x00cb, 24),
(0x00cc, 41),
(0x00cd, 37),
(0x00ce, 38),
(0x00cf, 39),
(0x00d0, 29),
(0x00d1, 57),
(0x00d2, 63),
(0x00d3, 60),
(0x00d4, 61),
(0x00d5, 67),
(0x00d6, 62),
(0x00d7, 214),
(0x00d8, 66),
(0x00d9, 87),
(0x00da, 84),
(0x00db, 85),
(0x00dc, 86),
(0x00dd, 96),
(0x00de, 82),
(0x00df, 180),
(0x00e0, 109),
(0x00e1, 103),
(0x00e2, 105),
(0x00e3, 118),
(0x00e4, 107),
(0x00e5, 113),
(0x00e6, 108),
(0x00e7, 133),
(0x00e8, 159),
(0x00e9, 154),
(0x00ea, 156),
(0x00eb, 157),
(0x00ec, 195),
(0x00ed, 192),
(0x00ee, 193),
(0x00ef, 194),
(0x00f0, 167),
(0x00f1, 221),
(0x00f2, 229),
(0x00f3, 224),
(0x00f4, 225),
(0x00f5, 239),
(0x00f6, 226),
(0x00f7, 149),
(0x00f8, 238),
(0x00f9, 297),
(0x00fa, 294),
(0x00fb, 295),
(0x00fc, 296),
(0x00fd, 307),
(0x00fe, 285),
(0x00ff, 308),
(0x0100, 7),
(0x0101, 110),
(0x0102, 3),
(0x0103, 104),
(0x0104, 8),
(0x0105, 112),
(0x0106, 13),
(0x0107, 130),
(0x010c, 14),
(0x010d, 132),
(0x010e, 17),
(0x010f, 145),
(0x0110, 18),
(0x0111, 146),
(0x0112, 27),
(0x0113, 162),
(0x0116, 25),
(0x0117, 158),
(0x0118, 28),
(0x0119, 165),
(0x011a, 22),
(0x011b, 155),
(0x011e, 33),
(0x011f, 178),
(0x0122, 34),
(0x0123, 179),
(0x012a, 42),
(0x012b, 196),
(0x012e, 43),
(0x012f, 197),
(0x0130, 40),
(0x0131, 152),
(0x0136, 46),
(0x0137, 200),
(0x0139, 48),
(0x013a, 202),
(0x013b, 50),
(0x013c, 204),
(0x013d, 49),
(0x013e, 203),
(0x0141, 51),
(0x0142, 209),
(0x0143, 54),
(0x0144, 216),
(0x0145, 56),
(0x0146, 218),
(0x0147, 55),
(0x0148, 217),
(0x014c, 65),
(0x014d, 231),
(0x0150, 64),
(0x0151, 230),
(0x0152, 59),
(0x0153, 227),
(0x0154, 71),
(0x0155, 263),
(0x0156, 73),
(0x0157, 266),
(0x0158, 72),
(0x0159, 265),
(0x015a, 75),
(0x015b, 270),
(0x015e, 77),
(0x015f, 272),
(0x0160, 76),
(0x0161, 271),
(0x0162, 81),
(0x0163, 284),
(0x0164, 80),
(0x0165, 283),
(0x016a, 89),
(0x016b, 299),
(0x016e, 91),
(0x016f, 302),
(0x0170, 88),
(0x0171, 298),
(0x0172, 90),
(0x0173, 301),
(0x0178, 97),
(0x0179, 99),
(0x017a, 311),
(0x017b, 101),
(0x017c, 313),
(0x017d, 100),
(0x017e, 312),
(0x0192, 174),
(0x0218, 78),
(0x0219, 273),
(0x02c6, 136),
(0x02c7, 131),
(0x02d8, 126),
(0x02d9, 151),
(0x02da, 268),
(0x02db, 228),
(0x02dc, 289),
(0x02dd, 189),
(0x2013, 164),
(0x2014, 163),
(0x2018, 258),
(0x2019, 259),
(0x201a, 260),
(0x201c, 256),
(0x201d, 257),
(0x201e, 255),
(0x2020, 143),
(0x2021, 144),
(0x2022, 128),
(0x2026, 161),
(0x2030, 248),
(0x2039, 186),
(0x203a, 187),
(0x2044, 176),
(0x20ac, 30),
(0x2122, 290),
(0x2202, 244),
(0x2206, 19),
(0x2211, 281),
(0x2212, 212),
(0x221a, 264),
(0x2260, 220),
(0x2264, 206),
(0x2265, 183),
(0x25ca, 208),
(0xf6c3, 139),
(0xfb01, 171),
(0xfb02, 173),
];
#[rustfmt::skip]
const TIMES_ROMAN_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
280, 169, 255, 223, 151, 246, 112, 260, 243, 244, 117, 250, 139, 191, 247, 279,
315, 233, 292, 287, 176, 173, 278, 277, 161, 220, 138, 276, 206, 167, 183, 253,
118, 1, 12, 13, 17, 21, 32, 33, 36, 37, 45, 46, 48, 53, 54, 59,
69, 70, 71, 75, 80, 84, 93, 94, 95, 96, 99, 125, 121, 126, 115, 301,
259, 103, 120, 130, 143, 154, 171, 178, 189, 192, 199, 200, 202, 211, 216, 224,
241, 252, 263, 270, 283, 294, 304, 305, 306, 307, 311, 123, 122, 124, 116, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 170, 136, 281, 177, 310, 175, 275, 142, 262, 257, 185, 187, 188, 172, 174,
0, 165, 144, 145, 248, 0, 242, 129, 261, 256, 258, 186, 162, 249, 0, 254,
0, 182, 107, 137, 290, 212, 127, 152, 149, 0, 269, 135, 0, 190, 229, 132,
164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 0, 237, 0, 0, 0, 0, 52, 67, 60, 238, 0, 0, 0, 0,
0, 109, 0, 0, 0, 153, 0, 0, 210, 239, 228, 181, 0, 0, 0, 0,
];
#[rustfmt::skip]
const ZAPFDINGBATS_GLYPHS: &[GlyphMetric] = &[
GlyphMetric { name: "a1", text: "\u{2701}", width: 974 },
GlyphMetric { name: "a10", text: "\u{2721}", width: 692 },
GlyphMetric { name: "a100", text: "\u{275e}", width: 668 },
GlyphMetric { name: "a101", text: "\u{2761}", width: 732 },
GlyphMetric { name: "a102", text: "\u{2762}", width: 544 },
GlyphMetric { name: "a103", text: "\u{2763}", width: 544 },
GlyphMetric { name: "a104", text: "\u{2764}", width: 910 },
GlyphMetric { name: "a105", text: "\u{2710}", width: 911 },
GlyphMetric { name: "a106", text: "\u{2765}", width: 667 },
GlyphMetric { name: "a107", text: "\u{2766}", width: 760 },
GlyphMetric { name: "a108", text: "\u{2767}", width: 760 },
GlyphMetric { name: "a109", text: "\u{2660}", width: 626 },
GlyphMetric { name: "a11", text: "\u{261b}", width: 960 },
GlyphMetric { name: "a110", text: "\u{2665}", width: 694 },
GlyphMetric { name: "a111", text: "\u{2666}", width: 595 },
GlyphMetric { name: "a112", text: "\u{2663}", width: 776 },
GlyphMetric { name: "a117", text: "\u{2709}", width: 690 },
GlyphMetric { name: "a118", text: "\u{2708}", width: 791 },
GlyphMetric { name: "a119", text: "\u{2707}", width: 790 },
GlyphMetric { name: "a12", text: "\u{261e}", width: 939 },
GlyphMetric { name: "a120", text: "\u{2460}", width: 788 },
GlyphMetric { name: "a121", text: "\u{2461}", width: 788 },
GlyphMetric { name: "a122", text: "\u{2462}", width: 788 },
GlyphMetric { name: "a123", text: "\u{2463}", width: 788 },
GlyphMetric { name: "a124", text: "\u{2464}", width: 788 },
GlyphMetric { name: "a125", text: "\u{2465}", width: 788 },
GlyphMetric { name: "a126", text: "\u{2466}", width: 788 },
GlyphMetric { name: "a127", text: "\u{2467}", width: 788 },
GlyphMetric { name: "a128", text: "\u{2468}", width: 788 },
GlyphMetric { name: "a129", text: "\u{2469}", width: 788 },
GlyphMetric { name: "a13", text: "\u{270c}", width: 549 },
GlyphMetric { name: "a130", text: "\u{2776}", width: 788 },
GlyphMetric { name: "a131", text: "\u{2777}", width: 788 },
GlyphMetric { name: "a132", text: "\u{2778}", width: 788 },
GlyphMetric { name: "a133", text: "\u{2779}", width: 788 },
GlyphMetric { name: "a134", text: "\u{277a}", width: 788 },
GlyphMetric { name: "a135", text: "\u{277b}", width: 788 },
GlyphMetric { name: "a136", text: "\u{277c}", width: 788 },
GlyphMetric { name: "a137", text: "\u{277d}", width: 788 },
GlyphMetric { name: "a138", text: "\u{277e}", width: 788 },
GlyphMetric { name: "a139", text: "\u{277f}", width: 788 },
GlyphMetric { name: "a14", text: "\u{270d}", width: 855 },
GlyphMetric { name: "a140", text: "\u{2780}", width: 788 },
GlyphMetric { name: "a141", text: "\u{2781}", width: 788 },
GlyphMetric { name: "a142", text: "\u{2782}", width: 788 },
GlyphMetric { name: "a143", text: "\u{2783}", width: 788 },
GlyphMetric { name: "a144", text: "\u{2784}", width: 788 },
GlyphMetric { name: "a145", text: "\u{2785}", width: 788 },
GlyphMetric { name: "a146", text: "\u{2786}", width: 788 },
GlyphMetric { name: "a147", text: "\u{2787}", width: 788 },
GlyphMetric { name: "a148", text: "\u{2788}", width: 788 },
GlyphMetric { name: "a149", text: "\u{2789}", width: 788 },
GlyphMetric { name: "a15", text: "\u{270e}", width: 911 },
GlyphMetric { name: "a150", text: "\u{278a}", width: 788 },
GlyphMetric { name: "a151", text: "\u{278b}", width: 788 },
GlyphMetric { name: "a152", text: "\u{278c}", width: 788 },
GlyphMetric { name: "a153", text: "\u{278d}", width: 788 },
GlyphMetric { name: "a154", text: "\u{278e}", width: 788 },
GlyphMetric { name: "a155", text: "\u{278f}", width: 788 },
GlyphMetric { name: "a156", text: "\u{2790}", width: 788 },
GlyphMetric { name: "a157", text: "\u{2791}", width: 788 },
GlyphMetric { name: "a158", text: "\u{2792}", width: 788 },
GlyphMetric { name: "a159", text: "\u{2793}", width: 788 },
GlyphMetric { name: "a16", text: "\u{270f}", width: 933 },
GlyphMetric { name: "a160", text: "\u{2794}", width: 894 },
GlyphMetric { name: "a161", text: "\u{2192}", width: 838 },
GlyphMetric { name: "a162", text: "\u{27a3}", width: 924 },
GlyphMetric { name: "a163", text: "\u{2194}", width: 1016 },
GlyphMetric { name: "a164", text: "\u{2195}", width: 458 },
GlyphMetric { name: "a165", text: "\u{2799}", width: 924 },
GlyphMetric { name: "a166", text: "\u{279b}", width: 918 },
GlyphMetric { name: "a167", text: "\u{279c}", width: 927 },
GlyphMetric { name: "a168", text: "\u{279d}", width: 928 },
GlyphMetric { name: "a169", text: "\u{279e}", width: 928 },
GlyphMetric { name: "a17", text: "\u{2711}", width: 945 },
GlyphMetric { name: "a170", text: "\u{279f}", width: 834 },
GlyphMetric { name: "a171", text: "\u{27a0}", width: 873 },
GlyphMetric { name: "a172", text: "\u{27a1}", width: 828 },
GlyphMetric { name: "a173", text: "\u{27a2}", width: 924 },
GlyphMetric { name: "a174", text: "\u{27a4}", width: 917 },
GlyphMetric { name: "a175", text: "\u{27a5}", width: 930 },
GlyphMetric { name: "a176", text: "\u{27a6}", width: 931 },
GlyphMetric { name: "a177", text: "\u{27a7}", width: 463 },
GlyphMetric { name: "a178", text: "\u{27a8}", width: 883 },
GlyphMetric { name: "a179", text: "\u{27a9}", width: 836 },
GlyphMetric { name: "a18", text: "\u{2712}", width: 974 },
GlyphMetric { name: "a180", text: "\u{27ab}", width: 867 },
GlyphMetric { name: "a181", text: "\u{27ad}", width: 696 },
GlyphMetric { name: "a182", text: "\u{27af}", width: 874 },
GlyphMetric { name: "a183", text: "\u{27b2}", width: 760 },
GlyphMetric { name: "a184", text: "\u{27b3}", width: 946 },
GlyphMetric { name: "a185", text: "\u{27b5}", width: 865 },
GlyphMetric { name: "a186", text: "\u{27b8}", width: 967 },
GlyphMetric { name: "a187", text: "\u{27ba}", width: 831 },
GlyphMetric { name: "a188", text: "\u{27bb}", width: 873 },
GlyphMetric { name: "a189", text: "\u{27bc}", width: 927 },
GlyphMetric { name: "a19", text: "\u{2713}", width: 755 },
GlyphMetric { name: "a190", text: "\u{27bd}", width: 970 },
GlyphMetric { name: "a191", text: "\u{27be}", width: 918 },
GlyphMetric { name: "a192", text: "\u{279a}", width: 748 },
GlyphMetric { name: "a193", text: "\u{27aa}", width: 836 },
GlyphMetric { name: "a194", text: "\u{27b6}", width: 771 },
GlyphMetric { name: "a195", text: "\u{27b9}", width: 888 },
GlyphMetric { name: "a196", text: "\u{2798}", width: 748 },
GlyphMetric { name: "a197", text: "\u{27b4}", width: 771 },
GlyphMetric { name: "a198", text: "\u{27b7}", width: 888 },
GlyphMetric { name: "a199", text: "\u{27ac}", width: 867 },
GlyphMetric { name: "a2", text: "\u{2702}", width: 961 },
GlyphMetric { name: "a20", text: "\u{2714}", width: 846 },
GlyphMetric { name: "a200", text: "\u{27ae}", width: 696 },
GlyphMetric { name: "a201", text: "\u{27b1}", width: 874 },
GlyphMetric { name: "a202", text: "\u{2703}", width: 974 },
GlyphMetric { name: "a203", text: "\u{2750}", width: 762 },
GlyphMetric { name: "a204", text: "\u{2752}", width: 759 },
GlyphMetric { name: "a205", text: "\u{276e}", width: 509 },
GlyphMetric { name: "a206", text: "\u{2770}", width: 410 },
GlyphMetric { name: "a21", text: "\u{2715}", width: 762 },
GlyphMetric { name: "a22", text: "\u{2716}", width: 761 },
GlyphMetric { name: "a23", text: "\u{2717}", width: 571 },
GlyphMetric { name: "a24", text: "\u{2718}", width: 677 },
GlyphMetric { name: "a25", text: "\u{2719}", width: 763 },
GlyphMetric { name: "a26", text: "\u{271a}", width: 760 },
GlyphMetric { name: "a27", text: "\u{271b}", width: 759 },
GlyphMetric { name: "a28", text: "\u{271c}", width: 754 },
GlyphMetric { name: "a29", text: "\u{2722}", width: 786 },
GlyphMetric { name: "a3", text: "\u{2704}", width: 980 },
GlyphMetric { name: "a30", text: "\u{2723}", width: 788 },
GlyphMetric { name: "a31", text: "\u{2724}", width: 788 },
GlyphMetric { name: "a32", text: "\u{2725}", width: 790 },
GlyphMetric { name: "a33", text: "\u{2726}", width: 793 },
GlyphMetric { name: "a34", text: "\u{2727}", width: 794 },
GlyphMetric { name: "a35", text: "\u{2605}", width: 816 },
GlyphMetric { name: "a36", text: "\u{2729}", width: 823 },
GlyphMetric { name: "a37", text: "\u{272a}", width: 789 },
GlyphMetric { name: "a38", text: "\u{272b}", width: 841 },
GlyphMetric { name: "a39", text: "\u{272c}", width: 823 },
GlyphMetric { name: "a4", text: "\u{260e}", width: 719 },
GlyphMetric { name: "a40", text: "\u{272d}", width: 833 },
GlyphMetric { name: "a41", text: "\u{272e}", width: 816 },
GlyphMetric { name: "a42", text: "\u{272f}", width: 831 },
GlyphMetric { name: "a43", text: "\u{2730}", width: 923 },
GlyphMetric { name: "a44", text: "\u{2731}", width: 744 },
GlyphMetric { name: "a45", text: "\u{2732}", width: 723 },
GlyphMetric { name: "a46", text: "\u{2733}", width: 749 },
GlyphMetric { name: "a47", text: "\u{2734}", width: 790 },
GlyphMetric { name: "a48", text: "\u{2735}", width: 792 },
GlyphMetric { name: "a49", text: "\u{2736}", width: 695 },
GlyphMetric { name: "a5", text: "\u{2706}", width: 789 },
GlyphMetric { name: "a50", text: "\u{2737}", width: 776 },
GlyphMetric { name: "a51", text: "\u{2738}", width: 768 },
GlyphMetric { name: "a52", text: "\u{2739}", width: 792 },
GlyphMetric { name: "a53", text: "\u{273a}", width: 759 },
GlyphMetric { name: "a54", text: "\u{273b}", width: 707 },
GlyphMetric { name: "a55", text: "\u{273c}", width: 708 },
GlyphMetric { name: "a56", text: "\u{273d}", width: 682 },
GlyphMetric { name: "a57", text: "\u{273e}", width: 701 },
GlyphMetric { name: "a58", text: "\u{273f}", width: 826 },
GlyphMetric { name: "a59", text: "\u{2740}", width: 815 },
GlyphMetric { name: "a6", text: "\u{271d}", width: 494 },
GlyphMetric { name: "a60", text: "\u{2741}", width: 789 },
GlyphMetric { name: "a61", text: "\u{2742}", width: 789 },
GlyphMetric { name: "a62", text: "\u{2743}", width: 707 },
GlyphMetric { name: "a63", text: "\u{2744}", width: 687 },
GlyphMetric { name: "a64", text: "\u{2745}", width: 696 },
GlyphMetric { name: "a65", text: "\u{2746}", width: 689 },
GlyphMetric { name: "a66", text: "\u{2747}", width: 786 },
GlyphMetric { name: "a67", text: "\u{2748}", width: 787 },
GlyphMetric { name: "a68", text: "\u{2749}", width: 713 },
GlyphMetric { name: "a69", text: "\u{274a}", width: 791 },
GlyphMetric { name: "a7", text: "\u{271e}", width: 552 },
GlyphMetric { name: "a70", text: "\u{274b}", width: 785 },
GlyphMetric { name: "a71", text: "\u{25cf}", width: 791 },
GlyphMetric { name: "a72", text: "\u{274d}", width: 873 },
GlyphMetric { name: "a73", text: "\u{25a0}", width: 761 },
GlyphMetric { name: "a74", text: "\u{274f}", width: 762 },
GlyphMetric { name: "a75", text: "\u{2751}", width: 759 },
GlyphMetric { name: "a76", text: "\u{25b2}", width: 892 },
GlyphMetric { name: "a77", text: "\u{25bc}", width: 892 },
GlyphMetric { name: "a78", text: "\u{25c6}", width: 788 },
GlyphMetric { name: "a79", text: "\u{2756}", width: 784 },
GlyphMetric { name: "a8", text: "\u{271f}", width: 537 },
GlyphMetric { name: "a81", text: "\u{25d7}", width: 438 },
GlyphMetric { name: "a82", text: "\u{2758}", width: 138 },
GlyphMetric { name: "a83", text: "\u{2759}", width: 277 },
GlyphMetric { name: "a84", text: "\u{275a}", width: 415 },
GlyphMetric { name: "a85", text: "\u{276f}", width: 509 },
GlyphMetric { name: "a86", text: "\u{2771}", width: 410 },
GlyphMetric { name: "a87", text: "\u{2772}", width: 234 },
GlyphMetric { name: "a88", text: "\u{2773}", width: 234 },
GlyphMetric { name: "a89", text: "\u{2768}", width: 390 },
GlyphMetric { name: "a9", text: "\u{2720}", width: 577 },
GlyphMetric { name: "a90", text: "\u{2769}", width: 390 },
GlyphMetric { name: "a91", text: "\u{276c}", width: 276 },
GlyphMetric { name: "a92", text: "\u{276d}", width: 276 },
GlyphMetric { name: "a93", text: "\u{276a}", width: 317 },
GlyphMetric { name: "a94", text: "\u{276b}", width: 317 },
GlyphMetric { name: "a95", text: "\u{2774}", width: 334 },
GlyphMetric { name: "a96", text: "\u{2775}", width: 334 },
GlyphMetric { name: "a97", text: "\u{275b}", width: 392 },
GlyphMetric { name: "a98", text: "\u{275c}", width: 392 },
GlyphMetric { name: "a99", text: "\u{275d}", width: 668 },
GlyphMetric { name: "space", text: " ", width: 278 },
];
#[rustfmt::skip]
const ZAPFDINGBATS_UNICODE: &[(u32, u16)] = &[
(0x0020, 201),
(0x2192, 65),
(0x2194, 67),
(0x2195, 68),
(0x2460, 20),
(0x2461, 21),
(0x2462, 22),
(0x2463, 23),
(0x2464, 24),
(0x2465, 25),
(0x2466, 26),
(0x2467, 27),
(0x2468, 28),
(0x2469, 29),
(0x25a0, 173),
(0x25b2, 176),
(0x25bc, 177),
(0x25c6, 178),
(0x25cf, 171),
(0x25d7, 181),
(0x2605, 131),
(0x260e, 136),
(0x261b, 12),
(0x261e, 19),
(0x2660, 11),
(0x2663, 15),
(0x2665, 13),
(0x2666, 14),
(0x2701, 0),
(0x2702, 107),
(0x2703, 111),
(0x2704, 125),
(0x2706, 147),
(0x2707, 18),
(0x2708, 17),
(0x2709, 16),
(0x270c, 30),
(0x270d, 41),
(0x270e, 52),
(0x270f, 63),
(0x2710, 7),
(0x2711, 74),
(0x2712, 85),
(0x2713, 96),
(0x2714, 108),
(0x2715, 116),
(0x2716, 117),
(0x2717, 118),
(0x2718, 119),
(0x2719, 120),
(0x271a, 121),
(0x271b, 122),
(0x271c, 123),
(0x271d, 158),
(0x271e, 169),
(0x271f, 180),
(0x2720, 190),
(0x2721, 1),
(0x2722, 124),
(0x2723, 126),
(0x2724, 127),
(0x2725, 128),
(0x2726, 129),
(0x2727, 130),
(0x2729, 132),
(0x272a, 133),
(0x272b, 134),
(0x272c, 135),
(0x272d, 137),
(0x272e, 138),
(0x272f, 139),
(0x2730, 140),
(0x2731, 141),
(0x2732, 142),
(0x2733, 143),
(0x2734, 144),
(0x2735, 145),
(0x2736, 146),
(0x2737, 148),
(0x2738, 149),
(0x2739, 150),
(0x273a, 151),
(0x273b, 152),
(0x273c, 153),
(0x273d, 154),
(0x273e, 155),
(0x273f, 156),
(0x2740, 157),
(0x2741, 159),
(0x2742, 160),
(0x2743, 161),
(0x2744, 162),
(0x2745, 163),
(0x2746, 164),
(0x2747, 165),
(0x2748, 166),
(0x2749, 167),
(0x274a, 168),
(0x274b, 170),
(0x274d, 172),
(0x274f, 174),
(0x2750, 112),
(0x2751, 175),
(0x2752, 113),
(0x2756, 179),
(0x2758, 182),
(0x2759, 183),
(0x275a, 184),
(0x275b, 198),
(0x275c, 199),
(0x275d, 200),
(0x275e, 2),
(0x2761, 3),
(0x2762, 4),
(0x2763, 5),
(0x2764, 6),
(0x2765, 8),
(0x2766, 9),
(0x2767, 10),
(0x2768, 189),
(0x2769, 191),
(0x276a, 194),
(0x276b, 195),
(0x276c, 192),
(0x276d, 193),
(0x276e, 114),
(0x276f, 185),
(0x2770, 115),
(0x2771, 186),
(0x2772, 187),
(0x2773, 188),
(0x2774, 196),
(0x2775, 197),
(0x2776, 31),
(0x2777, 32),
(0x2778, 33),
(0x2779, 34),
(0x277a, 35),
(0x277b, 36),
(0x277c, 37),
(0x277d, 38),
(0x277e, 39),
(0x277f, 40),
(0x2780, 42),
(0x2781, 43),
(0x2782, 44),
(0x2783, 45),
(0x2784, 46),
(0x2785, 47),
(0x2786, 48),
(0x2787, 49),
(0x2788, 50),
(0x2789, 51),
(0x278a, 53),
(0x278b, 54),
(0x278c, 55),
(0x278d, 56),
(0x278e, 57),
(0x278f, 58),
(0x2790, 59),
(0x2791, 60),
(0x2792, 61),
(0x2793, 62),
(0x2794, 64),
(0x2798, 103),
(0x2799, 69),
(0x279a, 99),
(0x279b, 70),
(0x279c, 71),
(0x279d, 72),
(0x279e, 73),
(0x279f, 75),
(0x27a0, 76),
(0x27a1, 77),
(0x27a2, 78),
(0x27a3, 66),
(0x27a4, 79),
(0x27a5, 80),
(0x27a6, 81),
(0x27a7, 82),
(0x27a8, 83),
(0x27a9, 84),
(0x27aa, 100),
(0x27ab, 86),
(0x27ac, 106),
(0x27ad, 87),
(0x27ae, 109),
(0x27af, 88),
(0x27b1, 110),
(0x27b2, 89),
(0x27b3, 90),
(0x27b4, 104),
(0x27b5, 91),
(0x27b6, 101),
(0x27b7, 105),
(0x27b8, 92),
(0x27b9, 102),
(0x27ba, 93),
(0x27bb, 94),
(0x27bc, 95),
(0x27bd, 97),
(0x27be, 98),
];
#[rustfmt::skip]
const ZAPFDINGBATS_ENCODING: [u16; 256] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
202, 1, 108, 112, 126, 137, 148, 19, 18, 17, 13, 20, 31, 42, 53, 64,
8, 75, 86, 97, 109, 117, 118, 119, 120, 121, 122, 123, 124, 159, 170, 181,
191, 2, 125, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 138, 139, 140,
141, 142, 143, 144, 145, 146, 147, 149, 150, 151, 152, 153, 154, 155, 156, 157,
158, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 171, 172, 173, 174, 175,
113, 176, 114, 177, 178, 179, 180, 182, 183, 184, 185, 199, 200, 201, 3, 0,
190, 192, 195, 196, 193, 194, 115, 186, 116, 187, 188, 189, 197, 198, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 4, 5, 6, 7, 9, 10, 11, 16, 15, 14, 12, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 59,
60, 61, 62, 63, 65, 66, 68, 69, 104, 70, 100, 71, 72, 73, 74, 76,
77, 78, 79, 67, 80, 81, 82, 83, 84, 85, 101, 87, 107, 88, 110, 89,
0, 111, 90, 91, 105, 92, 102, 106, 93, 103, 94, 95, 96, 98, 99, 0,
];