pub fn detect_script(text: &str) -> Option<Script>
Detect only a script by a given text
Panics only if the internal script-counter table were empty, which cannot happen (it is a fixed-size array).