array ps_hyphenate    ( resource $psdoc   , string $text   )

ps_hyphenateHyphenates a word

psdoc

Resource identifier of the postscript file as returned by ps_new().

text

text should not contain any non alpha characters. Possible positions for breaks are returned in an array of interger numbers. Each number is the position of the char in text after which a hyphenation can take place.