close #956 change font style of state and annotations