Closed juhp closed 1 year ago
Searching it seems in this case the character is U+3000 (Ideographic Space)
adding -u to print unicode
feature added
example:1
$ ./run.sh অA input_char: অA
Character: অ Lohit-Bengali.ttf: "Lohit Bengali" "Regular"
Character: A NotoSans[wght].ttf: "Noto Sans" "Regular"
example:2
$ ./run.sh -u অA ninja: no work to do. input_char: অA
Character: অ unicode: U+0041 Lohit-Bengali.ttf: "Lohit Bengali" "Regular"
Character: A unicode: U+0041 NotoSans[wght].ttf: "Noto Sans" "Regular"
$ whichfont অA
:
Character: অ
unicode: U+0041
:
clearly incorrect, though it works for single character
Also I think it would be okay to write the character and codepoint on the same line.
understood the problem
it was a problem of printing wrong unicode.
It would be useful here to know the utf8 hex sequence for the character