You would have to know each word you wanted to use, as well as how much space they would occupy.
Aldez aurretik jakin behar dituzu erabili nahi dituzun hitz guztiak eta zenbat toki hartuko duen bakoitzak.