chang font logic