fix hyphens detection when reflowing pdf/djvu pages