bm_compose | R Documentation |
bm_compose()
simplifies bm_list()
object
by applying combining marks to preceding glpyhs (composing new graphemes).
bm_compose(bml, pua_combining = character(0), ...)
bml |
A |
pua_combining |
Additional Unicode code points to be considered as a “combining” character such as characters defined in the Private Use Area (PUA) of a font. |
... |
Passed to |
bm_compose()
identifies combining marks by their name using is_combining_character()
.
It then combines such marks with their immediately preceding glyph using bm_overlay()
.
A bm_list()
object.
font_file <- system.file("fonts/spleen/spleen-8x16.hex.gz", package = "bittermelon") font <- read_hex(font_file) grave <- font[[str2ucp("`")]] a <- font[[str2ucp("a")]] bml <- bm_list(`U+0061` = a, `U+0300` = grave) print(bml, px = px_ascii) print(bm_compose(bml), px = px_ascii)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.