Modify the parameters for font file and text file