System and method for text layout using a path-fill algorithm
Abstract:
A method for placing a text string on a page includes obtaining an electronic document identifying a margin of the page, an exclusion region having a perimeter for placement on the page, a texture to fill the exclusion region, and the text string, calculating, using a path-fill algorithm inputting the perimeter, exclusion region geometric primitives, calculating, using the path-fill algorithm inputting a path based on the perimeter and the margin, text region geometric primitives, receiving the text string and the text region geometric primitives; calculating, for a line band crossing the page, segments corresponding to an intersection of the line band with the text region geometric primitives, rendering the page by filling the exclusion region geometric primitives with the texture, and placing the text string within the segments.
Public/Granted literature
Information query
Patent Agency Ranking
0/0