Assistive graphical user interface for preserving document layout while improving the document readability
First Claim
1. A computer-implemented method, comprising:
- enabling editing of a document in a first editing mode in a first font, the document comprising a page having a plurality of lines of text;
receiving a request to edit the document in a second editing mode in a second font; and
responsive to receiving the request to edit the document in the second editing mode;
calculating a width of each of the plurality of lines of text when rendered using the first font;
calculating a width of each of the plurality of lines of text when rendered using the second font;
calculating a ratio of the width of each respective line of the plurality of lines of text when rendered using the first font to the width of the respective line when rendered using the second font;
identifying a line of the plurality of lines of text having a largest calculated ratio of the calculated ratios;
expanding an on-screen width of the page based upon the ratio of the identified line; and
displaying the one or more lines of text using the second font on the expanded on-screen width of the page, wherein displaying includes maintaining the formatting of the plurality of lines of text as rendered when using the first font.
1 Assignment
0 Petitions
Accused Products
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.
22 Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
enabling editing of a document in a first editing mode in a first font, the document comprising a page having a plurality of lines of text; receiving a request to edit the document in a second editing mode in a second font; and responsive to receiving the request to edit the document in the second editing mode; calculating a width of each of the plurality of lines of text when rendered using the first font; calculating a width of each of the plurality of lines of text when rendered using the second font; calculating a ratio of the width of each respective line of the plurality of lines of text when rendered using the first font to the width of the respective line when rendered using the second font; identifying a line of the plurality of lines of text having a largest calculated ratio of the calculated ratios; expanding an on-screen width of the page based upon the ratio of the identified line; and displaying the one or more lines of text using the second font on the expanded on-screen width of the page, wherein displaying includes maintaining the formatting of the plurality of lines of text as rendered when using the first font. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
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 in a first font, the document comprising a page having a plurality of lines of text receive a request to edit the document in a second editing mode in a second font; calculate a width of each of the plurality of lines of text when rendered using the first font; calculate a width of each of the plurality of lines of text when rendered using the second font; calculate a ratio of the width of each respective line of the plurality of lines of text when rendered using the first font to the width of the respective line of text when rendered using the second font; identify a line of the plurality of lines of text having a largest calculated ratio of the calculated ratios; modify an on-screen width of the page based upon the ratio of the identified line; and display the plurality of lines of text in the second editing mode using the second font on the expanded on-screen width of the page while the formatting of the plurality of lines of text is maintained as rendered when using the first font. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A computer storage medium having computer executable instructions stored thereon which, when executed by one or more processors, cause the one of more processors to:
-
provide a first editing mode for editing a in a first font, the document comprising a page having a plurality of lines of text; receive a request to edit the document in a second editing mode in a second font; calculate a width of each of the plurality of lines of text when rendered using the first font; calculate a width of each of the plurality of lines of text when rendered using the second font; calculate a ratio of the width of each respective line of the plurality of lines of text when rendered using the first font to the width of the respective line of text when rendered using the second font; identify a line of the plurality of lines of text having a largest calculated ratio of the calculated ratios; modify an on-screen width of the page based upon the ratio of the identified line; and display the plurality of lines of text in the second editing mode using the second font on the expanded on-screen width of the page while the formatting of the plurality of lines of text is maintained as rendered when using the first font. - View Dependent Claims (17, 18, 19, 20)
-
Specification