摘要 |
Technologies are described herein for providing dynamic application of a rendering scale factor. In some configurations, when a command for scaling a document is received, the technologies described herein selectively apply a rendering scale factor to select elements based on contextual information related to the elements and/or other elements of a document. A computing device may render a document having an element, such as an image, and other elements, such as text. Upon receiving a command to apply a rendering scale factor to the document, techniques herein determine contextual information related to the image. Based on the contextual data, the image is scaled based on the rendering scale factor, a weighted rendering scale factor or kept at its original size. By selectively applying the rendering scale factor to certain elements, the layout of the document may be preserved even when a user zooms into or out of the document. |