Fix the bug in Glyph::render(): not convert to float from int
add unit test
Now the character print seems good