new wide font
This commit is contained in:
parent
2bd9ccbc99
commit
42654fcbcc
|
@ -19,9 +19,10 @@ static const std::string circlesrepl[] {"ⓐ", "ⓑ", "ⓒ", "ⓓ", "ⓔ", "ⓕ"
|
|||
static const std::string boxrepl[] {"🄰", "🄱", "🄲", "🄳", "🄴", "🄵", "🄶", "🄷", "🄸", "🄹", "🄺", "🄻", "🄼", "🄽", "🄾", "🄿", "🅀", "🅁", "🅂", "🅃", "🅄", "🅅", "🅆", "🅇", "🅈", "🅉", "🄰", "🄱", "🄲", "🄳", "🄴", "🄵", "🄶", "🄷", "🄸", "🄹", "🄺", "🄻", "🄼", "🄽", "🄾", "🄿", "🅀", "🅁", "🅂", "🅃", "🅄", "🅅", "🅆", "🅇", "🅈", "🅉"};
|
||||
static const std::string ncirclerepl[] {"🅐", "🅑", "🅒", "🅓", "🅔", "🅕", "🅖", "🅗", "🅘", "🅙", "🅚", "🅛", "🅜", "🅝", "🅞", "🅟", "🅠", "🅡", "🅢", "🅣", "🅤", "🅥", "🅦", "🅧", "🅨", "🅩", "🅐", "🅑", "🅒", "🅓", "🅔", "🅕", "🅖", "🅗", "🅘", "🅙", "🅚", "🅛", "🅜", "🅝", "🅞", "🅟", "🅠", "🅡", "🅢", "🅣", "🅤", "🅥", "🅦", "🅧", "🅨", "🅩"};
|
||||
static const std::string nboxrepl[] {"🅰", "🅱", "🅲", "🅳", "🅴", "🅵", "🅶", "🅷", "🅸", "🅹", "🅺", "🅻", "🅼", "🅽", "🅾", "🅿", "🆀", "🆁", "🆂", "🆃", "🆄", "🆅", "🆆", "🆇", "🆈", "🆉", "🅰", "🅱", "🅲", "🅳", "🅴", "🅵", "🅶", "🅷", "🅸", "🅹", "🅺", "🅻", "🅼", "🅽", "🅾", "🅿", "🆀", "🆁", "🆂", "🆃", "🆄", "🆅", "🆆", "🆇", "🆈", "🆉"};
|
||||
static const std::string widerepl[] {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"};
|
||||
|
||||
FontBot::FontBot() {
|
||||
fonts.reserve(13);
|
||||
fonts.reserve(14);
|
||||
fonts.push_back(new ReplaceFont("Fancy", fancyrepl));
|
||||
fonts.push_back(new ReplaceFont("Fraktur", frakturrepl));
|
||||
fonts.push_back(new ReplaceFont("Double", doublerepl));
|
||||
|
@ -34,6 +35,7 @@ FontBot::FontBot() {
|
|||
fonts.push_back(new ReplaceFont("Negative Circles", ncirclerepl));
|
||||
fonts.push_back(new ReplaceFont("Negative Boxes", nboxrepl));
|
||||
fonts.push_back(new RuleFont("Binary", [](char c){ return std::bitset<8>((int) c).to_string() + " "; }));
|
||||
fonts.push_back(new ReplaceFont("WIDE", widerepl));
|
||||
}
|
||||
|
||||
FontBot::~FontBot() {
|
||||
|
|
Loading…
Reference in New Issue