1# -*- coding: utf-8 -*- 2import os 3import sys 4import time 5import test_utils 6 7project_name = "test_font" 8display_name = "main_display" 9 10def get_test_header(): 11 notes = "* Studio Font Kerning Flag Test *\n" 12 notes += "* *\n" 13 notes += "* Test font kerning flag *\n" 14 return notes 15 16def run_kerning_flag_tests(generate, screenshot): 17 18 test_utils.output_test_header(get_test_header()) 19 test_utils.setup(generate, screenshot, 'test_kerning_flag_golden_file') 20 21 test_utils.open_project("test_kerning_flag.gxp") 22 test_utils.compare_result() 23 24 test_utils.write_end('Kerning Flag Tests') 25