new option: direction

Added new option to scale text based on viewport height instead of
width.