To support TTF and OTF easy make a refactor to extract method to class behaviour #330