Fix handling of $fn, $fs and $fa parameters for text rendering.