/unicode-vo

Unicode vertical orientation detection

Primary LanguageRustApache License 2.0Apache-2.0

unicode-vo

Crates.io Documentation

This library implements Unicode Vertical_Orientation Property (annex #50).

use unicode_vo::*;

assert_eq!(char_orientation('A'), Orientation::Rotated);
assert_eq!(char_orientation('本'), Orientation::Upright);

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.