lib/uniscribe.rb in uniscribe-1.5.0 vs lib/uniscribe.rb in uniscribe-1.5.1

- old
+ new

@@ -7,11 +7,15 @@ require "symbolify" require "characteristics" require "paint" require "unicode/display_width" require "unicode/emoji" +require "unicode/version" module Uniscribe + UNICODE_VERSION_GLYPH_DETECTION = RUBY_ENGINE == "ruby" && + Unicode::Version.unicode_version + SUPPORTED_ENCODINGS = Encoding.name_list.grep( Regexp.union( /^UTF-8$/, /^UTF8-/, /^UTF-...E$/,