# US 2019/0317980 A1 · Glyph Aware Snapping

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0317980 A1
- Document ID: US20190317980A1
- Status: Published application
- Kind: A1
- Application number: 15/955,415
- Filed: 2018-04-17
- Published: 2019-10-17
- Earliest claimed: 2018-04-17
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Praveen Kumar Dhanuka; Gaurav Jain
- Web page: https://patentgrep.com/patent/US20190317980A1

## CPC

- G06F 40/109: Font handling; Temporal or kinetic typography
- G06F 40/166: Editing, e.g. inserting or deleting
- G06T 11/23: using straight lines or curves
- G06T 11/60: Creating or editing images; Combining images with text
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Glyph aware snapping is described. A content processing system receives a selection input to select a glyph from text content presented via a user interface of a content editing application. Responsive to this, the content processing system generates and presents snapping guidelines in relation to the glyph while preserving an ability of the glyph to be editable using text editing tools. These snapping guidelines correspond to an identified subset of linear segments of the glyph and enable the content processing system to snap a focus (e.g., a cursor) of a graphics editing tool from a position proximate the snapping guidelines to a position on the snapping guidelines. This enables the content processing system to generate graphical content that aligns with the snapping guidelines and can be attached to the glyph based on the alignment—without destroying the ability of the text content to be editable using text editing tools.

## Claims

### Claim 1

In a digital medium environment to aid graphical design in relation to text content included as part of digital visual content, a method implemented by at least one computing device, the method comprising:
receiving, by the at least one computing device, user input via a graphics editing tool for editing digital visual content that includes text content, the user input indicating to align graphical content with a guideline presented in relation to a glyph included as part of the text content;
generating, by the at least one computing device, updated digital visual content by aligning the graphical content to the guideline of the glyph; and
presenting, by the at least one computing device and via a user interface, the updated digital visual content, the text content being editable as included in the updated digital visual content using a text editing tool.

### Claim 2 (depends on 1)

A method as described in claim 1, further comprising:
receiving a selection input selecting the glyph from the text content;
presenting at least a first snapping guideline in relation to the glyph;
snapping a focus of the graphics editing tool to a first position in the user interface that corresponds to the first snapping guideline, the snapping based on the user input positioning the focus proximate the first snapping guideline; and
aligning the graphical content to the glyph based, in part, on the first position.

### Claim 3 (depends on 2)

A method as described in claim 2, wherein the selection input comprises hovering the focus proximate the glyph.

### Claim 4 (depends on 2)

A method as described in claim 2, wherein the selection input is received in relation to a user interface instrumentality indicative of an option to present snapping guides for the glyph.

### Claim 5 (depends on 2)

A method as described in claim 2, further comprising:
presenting a second snapping guideline in relation to the glyph;
snapping the focus of the graphics editing tool to a second position in the user interface that corresponds to the second snapping guideline, the snapping to the second position based on the user input repositioning the focus proximate the second snapping guideline after the focus is snapped to the first position; and
aligning the graphical content to the glyph further based on the second position.

### Claim 6 (depends on 1)

A method as described in claim 1, further comprising receiving text editing input via the text editing tool to edit the text content as included in the updated digital visual content.

### Claim 7 (depends on 6)

A method as described in claim 6, wherein the text editing input indicates to edit at least one of:
a font of the text content;
characters included in the text content, the text editing input indicating to add or remove one or more of the characters in relation to a caret; or
a paragraph characteristic associated with the text content.

### Claim 8

A system comprising:
a glyph geometry module implemented at least partially in hardware of at least one computing device to generate information describing a subset of linear segments that combine to form a shape of a selected glyph of text content;
a snapping guide module implemented at least partially in the hardware of the at least one computing device to generate snapping guidelines for presentation in relation to the selected glyph, the snapping guides enabling a focus of a graphics editing tool to be snapped from positions proximate the snapping guidelines to positions corresponding to the snapping guidelines.

### Claim 9 (depends on 8)

A system as described in claim 8, further comprising a content editing application that includes the graphics editing tool, the content editing application further configured to generate graphical content having an alignment that corresponds to at least one of the snapping guidelines based, in part, on the focus being snapped to a position corresponding to the at least one snapping guideline.

### Claim 10 (depends on 8)

A system as described in claim 8, wherein the text content remains editable using a text editing tool after the snapping guidelines are generated by the snapping guide module.

### Claim 11 (depends on 8)

A system as described in claim 8, further comprising a simple line snapping module to generate the snapping guidelines for horizontal and vertical linear segments of the subset.

### Claim 12 (depends on 8)

A system as described in claim 8, further comprising an angular snapping module to generate the snapping guidelines for non-horizontal and non-vertical linear segments of the subset.

### Claim 13 (depends on 8)

A system as described in claim 8, further comprising an equi-spacing snapping module to generate the snapping guidelines substantially equidistant between pairs of horizontal and pairs of vertical linear segments of the subset.

### Claim 14

In a digital medium environment to aid graphical design in relation to text content included as part of digital visual content, a method implemented by at least one computing device, the method comprising:
receiving, by the at least one computing device and via a user interface, a selection input to select a glyph included as part of text content;
retrieving, by the at least one computing device, outline information describing a shape of the glyph from font data maintained for a respective font;
transforming, by the at least one computing device, the outline information into a list of segment entries describing linear segments that form the shape of the glyph;
identifying, by the at least one computing device, a subset of the linear segments based on one or more criteria;
generating, by the at least one computing device, snapping guidelines based on the subset of linear segments;
presenting, by the at least one computing device and via the user interface, the snapping guidelines in relation to the glyph; and
snapping, by the at least one computing device, a focus associated with a graphics editing tool from a first position proximate a presented snapping guideline to a second position corresponding to the presented snapping guideline.

### Claim 15 (depends on 14)

A method as described in claim 14, wherein the outline information describes the shape of the glyph using Bezier curves and the Bezier curves are transformed into the list of segment entries.

### Claim 16 (depends on 14)

A method as described in claim 14, wherein a segment entry describes at least one of an angle, intercept, or length of a respective linear segment.

### Claim 17 (depends on 14)

A method as described in claim 14, wherein the one or more criteria include at least one of:
correspondence of a linear segment with a bounding box of the glyph; or
a length of a linear segment meeting a length threshold.

### Claim 18 (depends on 14)

A method as described in claim 14, further comprising comparing information included in the segment entries to the one or more criteria to identify the subset.

### Claim 19 (depends on 14)

A method as described in claim 14, wherein the text content remains editable using a text editing tool after each of the receiving, retrieving, transforming, identifying, generating, presenting, and snapping.

### Claim 20 (depends on 14)

A method as described in claim 14, wherein the retrieving, transforming, identifying, and generating are performed in real-time so that a time delay between the receiving and presenting is imperceptible to a client device user.
