White outline for a text object
The object is polygon geometry or rendered already
In a 2D postprocessing step, you can use a dilate node on the alpha channel. This could also be done in any image editing/compositing software.

The object is a 3D text

Duplicate the text object.
Change the color of the duplicate.
Decrease the texts extrude property and increase its bevel and offset properties.