local font = {}
font[" "] = {width = 2}
font["\t"] = {width = 8}
font["!"] = {width = 1,
{0, -8, 0, 2},
{-0.25, 4, 0, 3.75, 0.25, 4, 0, 4.25, -0.25, 4}
}
font['"'] = {width = 2,
{-1, -8, -1, -6},
{1, -8, 1, -6}
}
font["#"] = {width = 6,
{-2, 4, -1, -8},
{1, 4, 2, -8},
{4, -3, -4, -3},
{-4, 0, 4, 0}
}
font[","] = {width = 0.05,
{1, 3, -1, 5}
}
font["."] = {width = 0.05,
{0, 4, 0.25, 3.75, 0, 3.5, -0.25, 3.75, 0, 4}
}
font[":"] = {width = 0.05,
{0, 3.25, -0.25, 3, 0, 2.75, 0.25, 3, 0, 3.25},
{0, -1.75, -0.25, -2, 0, -2.25, 0.25, -2, 0, -1.75}
}
font["a"] = {width = 6,
{-3, -2, -1, -4, 1, -4, 3, -2, 3, 4},
{3, 2, 1, 4, -1, 4, -3, 2, -1, 0, 3, 0}
}
font["b"] = {width = 6,
{-3, 4, -3, -8},
{-3, -2, -1, -4, 1, -4, 3, -2, 3, 2, 1, 4, -1, 4, -3, 2}
}
font["c"] = {width = 6,
{3, -2, 1, -4, -1, -4, -3, -2, -3, 2, -1, 4, 1, 4, 3, 2}
}
font["d"] = {width = 6,
{3, -8, 3, 4},
{3, -2, 1, -4, -1, -4, -3, -2, -3, 2, -1, 4, 1, 4, 3, 2}
}
font["e"] = {width = 6,
{-3, 0, 3, 0, 3, -2, 1, -4, -1, -4, -3, -2, -3, 2, -1, 4, 1, 4, 3, 2}
}
font["f"] = {width = 4,
{-2, -4, 2, -4},
{0, 4, 0, -6, 2, -8, 4, -8}
}
font["g"] = {width = 6,
{3, -4, 3, 6, 1, 8, -1, 8, -3, 6},
{3, 2, 1, 4, -1, 4, -3, 2, -3, -2, -1, -4, 1, -4, 3, -2}
}
font["h"] = {width = 6,
{-3, -8, -3, 4},
{-3, -2, -1, -4, 1, -4, 3, -2, 3, 4}
}
font["i"] = {width = 2,
{0, 4, 0, -4},
{0, -5.75, -0.25, -6, 0, -6.25, 0.25, -6, 0, -5.75}
}
font["j"] = {width = 2,
{1, -4, 1, 4, -1, 6},
{1, -5.75, 0.75, -6, 1, -6.25, 1.25, -6, 1, -5.75}
}
font["k"] = {width = 4,
{-2, -8, -2, 4},
{-2, 0, 2, 4},
{-2, 0, 2, -4}
}
font["l"] = {width = 2,
{-0.5, -8, 0, -8, 0, 3, 1, 4}
}
font["m"] = {width = 8,
{-4, -4, -4, 4},
{-4, -2, -2, -4, 0, -2, 2, -4, 4, -2, 4, 4},
{0, -2, 0, 4}
}
font["n"] = {width = 6,
{-3, 4, -3, -4},
{-3, -2, -1, -4, 1, -4, 3, -2, 3, 4}
}
font["o"] = {width = 6,
{-3, -2, -1, -4, 1, -4, 3, -2, 3, 2, 1, 4, -1, 4, -3, 2, -3, -2}
}
font["p"] = {width = 6,
{-3, -4, -3, 8},
{-3, 2, -1, 4, 1, 4, 3, 2, 3, -2, 1, -4, -1, -4, -3, -2}
}
font["q"] = {width = 6,
{3, -4, 3, 8},
{3, 2, 1, 4, -1, 4, -3, 2, -3, -2, -1, -4, 1, -4, 3, -2}
}
font["r"] = {width = 3,
{-1.5, -4, -1.5, 4},
{-1.5, -2, 0.5, -4, 3, -4}
}
font["s"] = {width = 6,
{3, -2, 1, -4, -1, -4, -3, -2, -1, 0, 1, 0, 3, 2, 1, 4, -1, 4, -3, 2}
}
font["t"] = {width = 4,
{0, 4, 0, -8},
{-2, -4, 2, -4}
}
font["u"] = {width = 6,
{-3, -4, -3, 2, -1, 4, 1, 4, 3, 2},
{3, 4, 3, -4}
}
font["v"] = {width = 6,
{-3, -4, 0, 4, 3, -4}
}
font["w"] = {width = 8,
{-4, -4, -4, 2, -2, 4, 0, 2, 2, 4, 4, 2, 4, -4},
{4, -4, 4, 4},
{0, 2, 0, -4}
}
font["x"] = {width = 6,
{-3, -4, 3, 4},
{-3, 4, 3, -4}
}
font["y"] = {width = 6,
{-3, -4, -3, 2, -1, 4, 1, 4, 3, 2},
{3, -4, 3, 6, 1, 8, -1, 8, -3, 6}
}
font["z"] = {width = 6,
{-3, -4, 3, -4, -3, 4, 3, 4}
}
font["□"] = {width = 8,
{-4, -4, 4, -4, 4, 4, -4, 4, -4, -4}
}
-- nanpa
font["0"] = {width = 6,
{-2, 3, -3, 2, -3, -6, -1, -8, 1, -8, 3, -6, 3, 2, 1, 4, -1, 4, -2, 3, 2, -7}
}
font["1"] = {width = 4,
{2, 4, 2, -8, -2, -4}
}
font["2"] = {width = 6,
{3, 4, -3, 4, 3, -4, 3, -6, 1, -8, -1, -8, -3, -6}
}
font["3"] = {width = 6,
{-3, 2, -1, 4, 1, 4, 3, 2, 3, 0, 1, -2, -1, -2},
{1, -2, 3, -4, 3, -6, 1, -8, -1, -8, -3, -6}
}
font["4"] = {width = 6,
{3, 0, -3, 0, 1, -8, 1, 4}
}
font["5"] = {width = 6,
{-3, 2, -1, 4, 1, 4, 3, 2, 3, 0, 1, -2, -3, -2, -3, -8, 3, -8}
}
font["6"] = {width = 6,
{-3, 2, -1, 4, 1, 4, 3, 2, 3, 0, 1, -2, -1, -2, -3, 0, -3, 2},
{-3, 0, -3, -6, -1, -8, 1, -8, 3, -6}
}
font["7"] = {width = 6,
{-3, -8, 3, -8, 0, 4}
}
font["8"] = {width = 6,
{-1, 4, 1, 4, 3, 2, 3, 0, 1, -2, -1, -2, -3, 0, -3, 2, -1, 4},
{-1, -2, -3, -4, -3, -6, -1, -8, 1, -8, 3, -6, 3, -4, 1, -2}
}
font["9"] = {width = 6,
{-1, -8, 1, -8, 3, -6, 3, -4, 1, -2, -1, -2, -3, -4, -3, -6, -1, -8},
{3, -4, 3, 2, 1, 4, -1, 4, -3, 2}
}
return font