fix text depth
fix bug
use matrix and vector to refactory coordinate system