merge commonLetterCompose() and commonCompose()