Legal claims defining the scope of protection. Each claim is shown in both the original legal language and a plain English translation.
1. A method comprising: at an electronic device with a display and one or more input devices; displaying on the display of the electronic device, a first text string with a first type style and a second text string with a second type style, wherein the first type style is different than the second type style; the first text string is displayed proximate to the second text string on the display with a first spatial arrangement that is determined based at least in part on the first type style and the second type style; after displaying the first text string and the second text string on the display, receiving, via the one or more input devices, input that changes a font size of the first text string and changes the respective font size of the second text string; in response to receiving the input, dynamically adjusting, by the electronic device, one or more font metrics that determine the spatial arrangement of text in accordance with text layout rules based on the first type style and the second type style; and displaying, on the display of the electronic device, the first text string and the second text string with the respective font size changed and with a second spatial arrangement that is determined based on the first type style, the second type style and the dynamically adjusted one or more font metrics.
An electronic device displays two text strings with different styles (e.g., font, size, color) positioned near each other. Their initial arrangement considers these style differences. When the font size of both strings is changed (via user or program), the device dynamically adjusts font metrics (spacing, kerning, leading) according to predefined text layout rules that are specific to those styles. The text strings are then re-displayed with the new font size and an updated arrangement reflecting the adjusted font metrics, thereby maintaining readability or visual harmony despite the size change.
2. The method of claim 1 , wherein receiving the input comprises receiving one or more of a user input and a programmatic input.
The dynamic text layout adjustment, as described where an electronic device adjusts spacing of text strings after a font size change, can be triggered by either direct user interaction (e.g., a slider in a UI) or through programmatic control (e.g., an API call changing the font size). This means the adjustment responds to both user-initiated changes and automated adjustments within the software.
3. The method of claim 1 , wherein dynamically adjusting the one or more font metrics comprises: adjusting a size of a bounding rectangle of a text container object for at least on of the first text string and the second text string.
In the dynamic text layout adjustment, where an electronic device adjusts spacing of text strings after a font size change, the adjustment of font metrics involves resizing the bounding rectangle of a text container object for at least one of the text strings. This means the rectangular area that encloses the text is dynamically resized to accommodate the new font size and maintain proper layout.
4. The method of claim 3 , wherein dynamically adjusting the one or more font metrics further comprises: adjusting one or more of a size and a shape of a text container region of the text container object.
The dynamic text layout adjustment, where an electronic device adjusts spacing of text strings after a font size change, further includes adjusting the size and/or shape of a text container region within the text container object. This allows for more granular control over the layout, not just resizing the entire bounding rectangle, but also modifying specific regions within that rectangle to optimize text arrangement.
5. The method of claim 1 , wherein dynamically adjusting the one or more font metrics comprises: adjusting line fragment padding for at least one of the first text string and the second text string.
In the dynamic text layout adjustment, where an electronic device adjusts spacing of text strings after a font size change, the adjustment of font metrics includes modifying the line fragment padding for at least one of the text strings. This means the spacing around individual lines of text is adjusted to improve readability and visual appearance after the font size change.
6. The method of claim 1 , wherein dynamically adjusting the one or more font metrics comprises: adjusting a size of a display object for displaying at least one of the first text string and the second text string.
In the dynamic text layout adjustment, where an electronic device adjusts spacing of text strings after a font size change, the adjustment of font metrics includes resizing the display object used to render at least one of the text strings. This allows for scaling or otherwise transforming the visual representation of the text element itself, not just adjusting internal font metrics.
7. The method of claim 1 , wherein at least one of the text layout rules specifies an amount of leading between baselines of text strings.
In the dynamic text layout adjustment, where an electronic device adjusts spacing of text strings after a font size change, at least one of the text layout rules defines the leading (vertical space) between the baselines of the text strings. This rule ensures proper vertical spacing between lines of text is maintained or adjusted as the font size changes.
8. The method of claim 1 , wherein at least one of the text layout rules specifies a linear equation.
In the dynamic text layout adjustment, where an electronic device adjusts spacing of text strings after a font size change, at least one of the text layout rules is defined by a linear equation. This allows for a mathematical relationship to govern how font metrics are adjusted based on factors like font size or other parameters.
9. The method of claim 8 , where the linear equation is a sum of a default leading and a fraction of the default leading.
The linear equation controlling text layout, as described where an electronic device adjusts spacing of text strings after a font size change, calculates the leading (vertical space) as the sum of a default leading value and a fraction of that default leading. This creates a proportional adjustment of the leading based on the original value.
10. A system comprising: a display; one or more input devices; one or more processors; and a memory coupled to the one or more processors and configured for storing instructions, which, when executed by the one or more processors, causes the one or more processors to perform operations comprising: displaying, on the display, a first text string with a first type style and a second text string with a second type style, wherein the first type style is different than the second type style; the first text string is displayed proximate to the second text string on the display with a first spatial arrangement that is determined based at least in part on the first type style and the second type style; after displaying the first text string and the second text string on the display, receiving, via the one or more input devices, input that changes a font size of the first text string and changes the respective font size of the second text string; in response to receiving the input, dynamically adjusting one or more font metrics that determine the special arrangement of text in accordance with text layout rules based on the first type style and the second type style; and displaying, on the display, the first text string and the second text string with the respective font size changed and with a second spatial arrangement that is determined based on the first type style, the second type style and the dynamically adjusted one or more font metrics.
A system includes a display, input devices, processor, and memory. The system displays two differently styled text strings near each other, with their initial positions determined by their styles. Upon receiving input that changes the font size of both strings, the system dynamically adjusts font metrics based on text layout rules that consider the styles. The text is then re-displayed with the new font size and updated arrangement, reflecting the font metric adjustments.
11. The system of claim 10 , wherein receiving the input comprises receiving one or more of a user input and a programmatic input.
The dynamic text layout adjustment, as described in a system that adjusts spacing of text strings after a font size change, can be triggered by either direct user interaction (e.g., a slider in a UI) or through programmatic control (e.g., an API call changing the font size). This means the adjustment responds to both user-initiated changes and automated adjustments within the software.
12. The system of claim 10 , wherein dynamically adjusting the one or more font metrics comprises: adjusting a size of a hounding rectangle of a text container object for at least one of the first text string and the second text string.
In the dynamic text layout adjustment, as described in a system that adjusts spacing of text strings after a font size change, the adjustment of font metrics includes resizing the bounding rectangle of a text container object for at least one of the text strings. This means the rectangular area that encloses the text is dynamically resized to accommodate the new font size and maintain proper layout.
13. The system of claim 12 , wherein dynamically adjusting the one or more font metrics further comprises: adjusting one or more of a size and a shape of a text container region of the text container object.
The dynamic text layout adjustment, as described in a system that adjusts spacing of text strings after a font size change, further includes adjusting the size and/or shape of a text container region within the text container object. This allows for more granular control over the layout, not just resizing the entire bounding rectangle, but also modifying specific regions within that rectangle to optimize text arrangement.
14. The system of claim 10 , wherein dynamically adjusting the one or more font metrics comprises: adjusting line fragment padding for at least one of the first text string and the second text string.
In the dynamic text layout adjustment, as described in a system that adjusts spacing of text strings after a font size change, the adjustment of font metrics includes modifying the line fragment padding for at least one of the text strings. This means the spacing around individual lines of text is adjusted to improve readability and visual appearance after the font size change.
15. The system of claim 10 , wherein dynamically adjusting the one or more font metrics comprises: adjusting a size of a display object for displaying at least one of the first text string and the second text string.
In the dynamic text layout adjustment, as described in a system that adjusts spacing of text strings after a font size change, the adjustment of font metrics includes resizing the display object used to render at least one of the text strings. This allows for scaling or otherwise transforming the visual representation of the text element itself, not just adjusting internal font metrics.
16. The system of claim 10 , wherein at least one of the text layout rules specifies an amount of leading between baselines of text strings.
In the dynamic text layout adjustment, as described in a system that adjusts spacing of text strings after a font size change, at least one of the text layout rules defines the leading (vertical space) between the baselines of the text strings. This rule ensures proper vertical spacing between lines of text is maintained or adjusted as the font size changes.
17. The system of claim 10 , wherein at least one of the text layout rules specifies a linear equation.
In the dynamic text layout adjustment, as described in a system that adjusts spacing of text strings after a font size change, at least one of the text layout rules is defined by a linear equation. This allows for a mathematical relationship to govern how font metrics are adjusted based on factors like font size or other parameters.
18. The system of claim 17 , where the linear equation is a sum of a default leading and a fraction of the default leading.
The linear equation controlling text layout, as described in a system that adjusts spacing of text strings after a font size change, calculates the leading (vertical space) as the sum of a default leading value and a fraction of that default leading. This creates a proportional adjustment of the leading based on the original value.
Unknown
December 19, 2017
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.