improve digitlayer, use coretext instead of catextlayer