Binary search for the beginning of text runs

Sadly this broke detailed glyph info. Can't repro myself but I will investigate this. Do not merge yet.