I need an alphabet of characters for a graphical project, so those characters must be "printable", specially in canvas
element (I need to do ctx.fillText(char,...)
).
Currently i'm just doing
const alphabeth = [
'A','B','C','D','E','F','G','H','I','L','M','N','O','P','Q','R','S','T','U','V','Z',
'a','b','c','d','e','f','g','h','i','l','m','n','o','p','q','r','s','t','u','v','z',
'1','2','3','4','5','6','7','8','9',
'-','+','@','?','^','!','(',')','&','#','%','$','|','<','>'
];
But this is limited to the char that I manually insert... are there way to get all printable chars? (or is exists a list of those)