implemented fontification in compose buffer