Issue #2702205 by mondrake, jfrederick, cyslee: Text overlay: add an hook to alter the overlaid text and use it to enable setting maximum number of characters displayed