… | |
… | |
789 | // compose chars are used to represent composite characters |
789 | // compose chars are used to represent composite characters |
790 | // that are not representable in unicode, as well as characters |
790 | // that are not representable in unicode, as well as characters |
791 | // not fitting in the BMP. |
791 | // not fitting in the BMP. |
792 | struct compose_char |
792 | struct compose_char |
793 | { |
793 | { |
794 | // c1 can be any chaarcter != NOCHAR, including another compose character |
794 | // c1 can be any character != NOCHAR, including another compose character |
795 | // c2 must always be a zero-width character or NOCHAR, in case |
795 | // c2 must always be a zero-width character or NOCHAR, in case |
796 | // this just extends beyond the BMP. |
796 | // this just extends beyond the BMP. |
797 | unicode_t c1, c2; |
797 | unicode_t c1, c2; |
798 | |
798 | |
799 | compose_char (unicode_t c1, unicode_t c2) |
799 | compose_char (unicode_t c1, unicode_t c2) |