Commit Graph

2 Commits (9f372cff412ef7fbddcb4ca897f1dce700228724)

Author SHA1 Message Date
Torsten Paul 9f372cff41 Simple detection of script and direction based on given text.
This adds a simple detection logic based on the hb_unicode_script()
function provided by harfbuzz. Automatic script selection will only
happen if no valid parameter was given (basically only in case of
a missing script parameter in text()).
If different scripts are found in a single text, the resulting value
is HB_SCRIPT_UNKNOWN.
2015-05-09 18:05:07 +02:00
Marius Kintel dc160d410d #1158 Updated examples 2015-03-03 02:49:19 -05:00