Fix get_text_style.

It didn't handle default correctly.