add os check condition when setting font style and size