Restrict text scale to 0.5..1.5.

These are the roughly the range we can support before the layouts break.
Handle if setting the palette fails.