27. A computer-readable storage medium having instructions stored therein, which when executed by a system, cause the system to perform a method comprising: identifying spatial relationships between document objects of a document image; determining space separating pairs of neighboring document objects, wherein the space separating pairs of neighboring document objects is represented as weights in a weighted graph model; and determining a scaling factor based on the space separating the document objects in the document image and based on display device characteristics.
27. A computer-readable storage medium having instructions stored therein, which when executed by a system, cause the system to perform a method comprising: identifying spatial relationships between document objects of a document image; determining space separating pairs of neighboring document objects, wherein the space separating pairs of neighboring document objects is represented as weights in a weighted graph model; and determining a scaling factor based on the space separating the document objects in the document image and based on display device characteristics. 46. The computer-readable storage medium defined in claim 27 wherein the method further comprises scaling the document using the scaling factor.