1. A method comprising: identifying a font of an electronic document; generating a simulated presentation of a respective portion of the electronic document using a first hint type of a plurality of hint types associated with the font; comparing characters from the simulated presentation to a predefined presentation of the characters; determining, by a processing device, a quality score for the first hint type, the quality score indicating how closely characters from the simulated presentation match the predefined presentation of the characters; creating a hint tag set for the font, the hint tag set comprising a suggested order of hint types, wherein the first hint type is arranged in the suggested order according to the corresponding quality score for the first hint type; and sending the electronic document with the hint tag set to a user device.