added support for ligature and attachment attributes

Signed-off-by: K <mustkre8@gmail.com>