Bug encountered and fixed

Cross-platform compatibily fixed
fonts rendering problem fixed