1. A method comprising: identifying, by a processor, spatial relationships between document objects of a document image; determining, by a processor, 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, by a processor, a scaling factor based on the space separating the document objects in the document image and based on display device characteristics.
1. A method comprising: identifying, by a processor, spatial relationships between document objects of a document image; determining, by a processor, 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, by a processor, a scaling factor based on the space separating the document objects in the document image and based on display device characteristics. 3. The method defined in claim 1 further comprising representing the space between document objects with a graph model.