1. A computer-implemented method for zooming an object, comprising: receiving a selection to zoom an object in a document having content in addition to the object; determining, by a processor, a viewing property including a current font size of the content displayed with the object; determining, by the processor, an object property relating to a current display of the object before zooming, wherein determining the object property comprises determining the font size of text within the object; calculating, by the processor, a scaling factor that is used to zoom the object based at least in part on the viewing property and the object property, wherein the scaling factor causes the text in the object to match the font size of the content; zooming the object based on the calculated scaling factor; and displaying the zoomed object on a display.