text rendering algorithms, untested