Added text align definitions

Already (accidentally) committed the function definitions in a prior
commit