Optimise text rendering in modern browsers