Auto detect and resize text altas texture.

first work result for #114, ready to merge :)

still need update `README.md`.