Displaying text on path
AssigneeAdobe Systems Incorporated
InventorAndrei Burago
Life of this patent
Estimating the term…
Abstract
A method of displaying text on a path includes creating a mapping between distances along the path and points on a line based on changes in direction of the path, composing glyphs on the line, having a total line length defined in accordance with the mapping, to form a composed line, associating the glyphs with the path in accordance with the mapping and the composed line, and outputting the association of the glyphs with the path for display of the glyphs along the path.
Claims21
A computer-implemented method using a computing system having a processor and memory, the computer-implemented method comprising:
- creating, via the processor, a mapping between distances along a path and points on a line based on changes in direction of the path, wherein creating the mapping includes
- segmenting the path, based on a font size associated with glyphs, wherein the path is represented as interconnected segments, each having a length corresponding to the font size, after the segmenting,
- calculating an advance value for each of the segments representing the path based on a change in angle of the path with respect to a current segment, and
- calculating points on the line and a total line length based on the advance values;
- composing the glyphs on the line, having the total line length defined in accordance with the mapping, to form a composed line;
- associating the glyphs with the path in accordance with the mapping and the composed line;
- and
- outputting the association of the glyphs with the path for display of the glyphs along the path.
A computer program product, encoded on a non-transitory computer-readable medium, operable to cause data processing apparatus to perform operations comprising:
- creating a mapping between distances along a path and points on a line based on changes in direction of the path, wherein creating the mapping includes
- segmenting the path, based on a font size associated with glyphs, wherein the path is represented as interconnected segments, each having a length corresponding to the font size, after the segmenting,
- calculating an advance value for each of the segments representing the path based on a change in angle of the path with respect to a current segment, and
- calculating points on the line and a total line length based on the advance values;
- composing the glyphs on the line, having the total line length defined in accordance with the mapping, to form a composed line;
- associating the glyphs with the path in accordance with the mapping and the composed line;
- and
- outputting the association of the glyphs with the path for display of the glyphs along the path.
A system comprising:
- a user interface device;
- and
- a processor operable to interact with the user interface device and to perform operations comprising:
- creating a mapping between distances along a path and points on a line based on changes in direction of the path, wherein creating the mapping includes
- segmenting the path, based on a font size associated with glyphs, wherein the path is represented as interconnected segments, each having a length corresponding to the font size, after the segmenting,
- calculating an advance value for each of the segments representing the path based on a change in angle of the path with respect to a current segment, and
- calculating points on the line and a total line length based on the advance values;
- composing the glyphs on the line, having the total line length defined in accordance with the mapping, to form a composed line;
- associating the glyphs with the path in accordance with the mapping and the composed line;
- and
- outputting, to the user interface device, the association of the glyphs with the path for display of the glyphs along the path.
Dependencies are inferred from the claim text.