1. A method for reducing font execution instructions for a font on a device having a processor, the method comprising: executing by the processor instructions that cause the device to: identify, within the font execution instructions, a common instruction set having at least two occurrences within the font execution instructions; insert into the font execution instructions a function encapsulating the common instruction set; and replace the common instruction set in the font execution instructions with a call to the function.