added function to know is a character is printable in tools namespace and use it in c_popup and c_lalbel