adjust font ratio in demo