Add safety check to UniscribeTextRenderer::get_output_character_count()
Add safety check to UniscribeTextRenderer::get_output_character_count()

This makes sure it returns a number that is within the length of the string (and throws an exception if it isn't).
reupen/ui_helpers,reupen/ui_helpers