trevorld / bittermelon

Bitmap Tools
https://trevorldavis.com/R/bittermelon/dev
Other
6 stars 0 forks source link

Combine combining characters (optionally) in 'as_bm_list.character()' #42

Closed trevorld closed 3 years ago

trevorld commented 3 years ago

Any character whose "Canonical_Combining_Class" property is above zero is a combining character:

Unicode::u_char_property("U+0333", "Canonical_Combining_Class")
220

A bit of documentation about the property: https://www.gnu.org/software/libunistring/manual/html_node/Canonical-combining-class.html

We should probably just support applying bm_overlay() to the base character and the combining characters.

trevorld commented 3 years ago

Would also be nice to have an option to combine (U)CSUR glyphs. Unifont has such a list of such.

trevorld commented 3 years ago