# US 2017/0293598 A1 · Assistive Graphical User Interface for Preserving Document Layout While Improving Readability

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

- Number: US 2017/0293598 A1
- Document ID: US20170293598A1
- Status: Published application
- Kind: A1
- Application number: 15/097,087
- Filed: 2016-04-12
- Published: 2017-10-12
- Earliest claimed: 2016-04-12
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Hani Farouq Abu-Huwaij
- Web page: https://patentgrep.com/patent/US20170293598A1

## CPC

- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 40/106: Display of layout of documents; Previewing
- G06F 40/109: Font handling; Temporal or kinetic typography
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Technologies are described herein for providing an assistive graphical user interface for preserving document layout while improving readability, such as for persons with dyslexia or another type of reading disability. A document including one or more lines of text can be edited in first and second editing modes. When a request is received to edit the document in the second editing mode, the width of the lines when displayed using a non-assistive font is computed. The width of the lines when displayed using an assistive font, such as a font configured for use by persons with dyslexia, is also computed. A ratio between the width of the lines when displayed using the non-assistive font and the width of the lines when displayed using the assistive font is also computed. The width of the page is then expanded based upon the ratio and the lines are displayed using the assistive font.

## Claims

### Claim 1

A computer-implemented method, comprising:
enabling editing of a document in a first editing mode, the document comprising a page having one or more lines of text;
receiving a request to edit the document in a second editing mode; and
responsive to receiving the request to edit the document in the second editing mode,
calculating a width of the one or more lines of text when rendered using a first font,
calculating a width of the one or more lines of text when rendered using a second font,
calculating a ratio of the width of the one or more lines of text when rendered using the first font to the width of the one or more lines of text when rendered using the second font,
identifying a line of the one or more lines of text having a largest calculated ratio,
expanding a width of the page based upon the largest calculated ratio, and
displaying the one or more lines of text using the second font.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving one or more edits to the document in the second editing mode;
receiving a request to save the document; and
responsive to receiving the request to save the document, causing the one or more edits to the document to be saved in the document without saving the second font in the document.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more lines of text end at first locations when displayed in the first editing mode, and wherein the one or more lines of text end at the first locations when displayed using the second font in the second editing mode.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the page ends at a first location when displayed in the first editing mode, and wherein the page ends at the first location when displayed using the second font in the second editing mode.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more lines of text are organized into one or more paragraphs, wherein the one or more paragraphs end at first locations when displayed in the first editing mode, and wherein the one or more paragraphs end at the first locations when displayed using the second font in the second editing mode.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising:
displaying a ruler in the first editing mode; and
responsive to receiving the request to edit the document in the second editing mode, scaling the ruler based upon the largest calculated ratio.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the document further comprises an image, and wherein the method further comprises:
displaying the image in the first editing mode; and
responsive to receiving the request to edit the document in the second editing mode, scaling the image based upon the largest calculated ratio.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the document further comprises an image, and wherein the method further comprises:
displaying the image in the first editing mode; and
responsive to receiving the request to edit the document in the second editing mode, displaying the image in the second editing mode and displaying a border around the image, the border having dimensions computed based upon dimensions of the image and the largest calculated ratio.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the second font is an assistive font and wherein the first font is a non-assistive font.

### Claim 10

An apparatus, comprising:
one or more processors; and
at least one computer storage medium having computer executable instructions stored thereon which, when executed by the one or more processors, cause the apparatus to
provide a first editing mode for editing a document, the document comprising a page having a line of text,
receive a request to edit the document in a second editing mode,
calculate a width of the line of text when rendered using a first font,
calculate a width of the line of text when rendered using a second font,
calculate a ratio of the width of the line of text when rendered using the first font to the width of the line of text when rendered using the second font,
modify a width of the page based upon the ratio, and
display the line of text in the second editing mode using the second font.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the at least one computer storage medium has further computer executable instructions stored thereon to:
display a ruler in the first editing mode; and
scale a width of the ruler in the second editing mode based upon the ratio.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the document further comprises an image, and wherein the at least one computer storage medium has further computer executable instructions stored thereon to:
display the image in the first editing mode; and
scale the image based upon the ratio in the second editing mode.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the document further comprises an image, and wherein the at least one computer storage medium has further computer executable instructions stored thereon to:
display the image in the first editing mode; and
responsive to receiving the request to edit the document in the second editing mode, display the image in the second editing mode and display a border around the image, the border having dimensions computed based upon dimensions of the image and the ratio.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the line of text ends at a first location when displayed in the first editing mode, and wherein the line of text ends at the first location when displayed using the second font in the second editing mode.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the second font is an assistive font and wherein the first font is a non-assistive font.

### Claim 16

A computer storage medium having computer executable instructions stored thereon which, when executed by one or more processors, cause the processors to:
provide a first editing mode for editing a document, the document comprising a page having a line of text;
receive a request to edit the document in a second editing mode;
calculate a width of the line of text when rendered using a first font;
calculate a width of the line of text when rendered using a second font;
calculate a ratio of the width of the line of text when rendered using the first font to the width of the line of text when rendered using the second font;
modify a width of the page based upon the ratio; and
display the line of text in the second editing mode using the second font.

### Claim 17 (depends on 16)

The computer storage medium of claim 16, having further computer executable instructions stored thereon to:
display a ruler in the first editing mode; and
scale a width of the ruler in the second editing mode based upon the ratio.

### Claim 18 (depends on 16)

The computer storage medium of claim 16, having further computer executable instructions stored thereon to:
display the image in the first editing mode; and
scale the image based upon the ratio in the second editing mode.

### Claim 19 (depends on 16)

The computer storage medium of claim 16, having further computer executable instructions stored thereon to:
display the image in the first editing mode; and
responsive to receiving the request to edit the document in the second editing mode, display the image in the second editing mode and display a border around the image, the border having dimensions computed based upon dimensions of the image and the ratio.

### Claim 20 (depends on 19)

The computer storage medium of claim 19, wherein the second font is an assistive font and wherein the first font is a non-assistive font.
