Determining content layout positions produced by a layout engine
First Claim
1. A computer-implemented method for determining positions at which a plurality of content components within original content of a digital publication are rendered by an independent layout engine, comprising:
- producing modified content by modifying visual attribute values of the plurality of content components of the original content, the content components of the original content being described by markup tags, the modifying comprising at least one of modifying the markup tags and adding additional markup tags associated with the content components, wherein the modifying does not modify layout positions of the content components of the original content when rendered by the layout engine;
associating the modified visual attribute values with the content components to which they correspond;
producing a modified rendering by rendering the modified content to an offscreen graphics buffer using the layout engine;
identifying changes in pixel values over the modified rendering;
identifying positions of regions within the modified rendering of the offscreen graphics buffer that have the modified visual attribute values, based on the identified changes in pixel values; and
associating the identified positions with content components based on the associations of the modified visual attribute values with the content components.
2 Assignments
0 Petitions
Accused Products
Abstract
A position determination module determines positions that components of content—such as individual words of textual content—will have when rendered by a layout engine. Specifically, the position determination module modifies visual attribute values of the content components such that the components when rendered will have different appearances, but the same positions, as they would if rendered without the modified visual attribute values. The position determination module then causes the layout engine to render the content with the modified visual attribute values and identifies the various values of the visual attributes within the rendered content and notes the positions at which they occur. Based on its knowledge of which visual attribute values are associated with which content components, the position determination module in turn associates the positions with the corresponding content components. Thus, positions of content components within rendered images of the content can be determined.
-
Citations
17 Claims
-
1. A computer-implemented method for determining positions at which a plurality of content components within original content of a digital publication are rendered by an independent layout engine, comprising:
-
producing modified content by modifying visual attribute values of the plurality of content components of the original content, the content components of the original content being described by markup tags, the modifying comprising at least one of modifying the markup tags and adding additional markup tags associated with the content components, wherein the modifying does not modify layout positions of the content components of the original content when rendered by the layout engine; associating the modified visual attribute values with the content components to which they correspond; producing a modified rendering by rendering the modified content to an offscreen graphics buffer using the layout engine; identifying changes in pixel values over the modified rendering; identifying positions of regions within the modified rendering of the offscreen graphics buffer that have the modified visual attribute values, based on the identified changes in pixel values; and associating the identified positions with content components based on the associations of the modified visual attribute values with the content components. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable storage medium storing a computer program executable by a processor for determining positions at which a plurality of content components within original content of a digital publication are rendered by an independent layout engine, actions of the computer program comprising:
-
producing modified content by modifying visual attribute values of the plurality of content components of the original content, the content components of the original content being described by markup tags, the modifying comprising at least one of modifying the markup tags and adding additional markup tags associated with the content components, wherein the modifying does not modify layout positions of the content components of the original content when rendered by the layout engine; associating the modified visual attribute values with the content components to which they correspond; producing a modified rendering by rendering the modified content to an offscreen graphics buffer using the layout engine; identifying changes in pixel values over the modified rendering; identifying positions of regions within the modified rendering of the offscreen graphics buffer that have the modified visual attribute values, based on the identified changes in pixel values; and associating the identified positions with content components based on the associations of the modified visual attribute values with the content components. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer system for determining positions at which a plurality of content components within original content of a digital publication are rendered by an independent layout engine, the system comprising:
-
a computer processor; and a computer program executable by the computer processor and performing actions comprising; modifying visual attribute values of the plurality of content components of the original content, thereby producing modified content, the content components of the original content being described by markup tags, the modifying comprising at least one of modifying the markup tags and adding additional markup tags associated with the content components, wherein the modifying does not modify layout positions of the content components of the original content when rendered by the layout engine; associating the modified visual attribute values with the content components to which they correspond; producing a modified rendering by rendering the modified content to an offscreen graphics buffer using the layout engine; identifying changes in pixel values over the modified rendering; identifying positions of regions within the modified rendering of the offscreen graphics buffer that have the modified visual attribute values, based on the identified changes in pixel values; and associating the identified positions with content components based on the associated of the modified visual attribute values with the content components. - View Dependent Claims (14, 15, 16, 17)
-
Specification