Alternating Positioning of Primary Text
US-2024419887-A1 · Dec 19, 2024 · US
US12443786B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-12443786-B2 |
| Application number | US-202118245052-A |
| Country | US |
| Kind code | B2 |
| Filing date | Aug 10, 2021 |
| Priority date | Oct 23, 2020 |
| Publication date | Oct 14, 2025 |
| Grant date | Oct 14, 2025 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Provided are a character display method and apparatus, an electronic device, and a computer-readable storage medium. The method includes: obtaining a to-be-displayed character; determining a type of the to-be-displayed character; determining a display origin of the to-be-displayed character based on the type of the to-be-displayed character; displaying, at the display origin of the to-be-displayed character, the to-be-displayed character in a first manner in response to the to-be-displayed character being of a first type; and displaying, at the display origin of the to-be-displayed character, the to-be-displayed character in a second manner in response to the to-be-displayed character being of a second type.
Opening claim text (preview).
What is claimed is: 1. A character display method, performed by an electronic device having a screen, comprising: obtaining a to-be-displayed character to be displayed on the screen; determining a type of the to-be-displayed character; determining a display origin of the to-be-displayed character on the screen based on the type of the to-be-displayed character; displaying, at the display origin of the to-be-displayed character on the screen, the to-be-displayed character in a first manner in response to the to-be-displayed character being of a first type; and displaying, at the display origin of the to-be-displayed character on the screen, the to-be-displayed character in a second manner in response to the to-be-displayed character being of a second type, wherein said determining the display origin of the to-be-displayed character on the screen based on the type of the to-be-displayed character comprises: obtaining a position of an initial display origin, wherein the position of the initial display origin is a display position of a first to-be-displayed character on the screen; and determining a position of the display origin of the to-be-displayed character based on the position of the initial display origin and a display parameter, wherein said determining the position of the display origin of the to-be-displayed character based on the position of the initial display origin and the display parameter comprises: determining the display origin of the to-be-displayed character based on a type of a previous character, a display origin of the previous character, the display parameter, and the type of the to-be-displayed character, wherein: the display parameter comprises an outline width of a character, a character spacing, and an outline height of the character; and said determining the display origin of the to-be-displayed character based on the type of the previous character, the display origin of the previous character, the display parameter, and the type of the to-be-displayed character comprises: calculating, in response to the previous character and the to-be-displayed character being of the first type, coordinates of the display origin of the to-be-displayed character based on coordinates of the display origin of the previous character, an outline height of the to-be-displayed character, and the character spacing; calculating, in response to the previous character being of the second type and the to-be-displayed character being of the first type, the coordinates of the display origin of the to-be-displayed character based on the coordinates of the display origin of the previous character, an outline width of the previous character, the outline height of the to-be-displayed character, and the character spacing; calculating, in response to the previous character being of the first type and the to-be-displayed character being of the second type, the coordinates of the display origin of the to-be-displayed character based on the coordinates of the display origin of the previous character and the character spacing; and calculating, in response to the previous character and the to-be-displayed character being of the second type, the coordinates of the display origin of the to-be-displayed character based on the coordinates of the display origin of the previous character, the outline width of the previous character, and the character spacing. 2. The character display method according to claim 1 , wherein said obtaining the to-be-displayed character to be displayed on the screen comprises: obtaining a to-be-displayed text; and splitting characters in the to-be-displayed text to obtain at least one to-be-displayed character. 3. The character display method according to claim 2 , wherein said splitting the characters in the to-be-displayed text to obtain the at least one to-be-displayed character comprises: obtaining a first code of the to-be-displayed text; and splitting the to-be-displayed text based on the first code to obtain the to-be-displayed character. 4. The character display method according to claim 1 , wherein said determining the type of the to-be-displayed character comprises: obtaining a first code of the to-be-displayed character; and determining the type of the to-be-displayed character to be the first type or the second type based on the first code of the to-be-displayed character. 5. The character display method according to claim 1 , further comprising, subsequent to said determining the type of the to-be-displayed character: storing, in a first queue, the to-be-displayed character in response to the to-be-displayed character being of the first type; and in response to the to-be-displayed character being of the second type, making up a word using consecutive to-be-displayed characters, and storing the word in a second queue. 6. The character display method according to claim 1 , further comprising: re-determining the position of the display origin of the to-be-displayed character based on the type of the to-be-displayed character, a display position of the previous character, and the display parameter in response to a position of a lower border of the to-be-displayed character exceeding a maximum threshold. 7. The character display method according to claim 6 , wherein said re-determining the position of the display origin of the to-be-displayed character based on the type of the to-be-displayed character, the display position of the previous character, and the display parameter comprises: calculating coordinates of the display origin of the to-be-displayed character based on coordinates of the display origin of the previous character, a font size, and a line spacing in response to the to-be-displayed character being of the first type or being a first character in a word made up by characters of the second type; and in response to the to-be-displayed character being of the second type and not being a first character in a word made up by characters of the second type, setting the to-be-displayed character as the first character in the word, and calculating the coordinates of the display origin of the to-be-displayed character based on coordinates of a display origin of a previous character of the first character, the font size, and the line spacing. 8. The character display method according to claim 7 , wherein said setting the to-be-displayed character as the first character in the word comprises: setting an index of the to-be-displayed character as an index of the first character in the word. 9. The character display method according to claim 1 , further comprising, during the obtaining of the to-be-displayed character: splitting a to-be-displayed text to obtain each to-be-displayed character, setting an index for each to-be-displayed character, and indexing and storing in an index list each to-be-displayed character in accordance with an order of the to-be-displayed character in the to-be-displayed text. 10. The character display method according to claim 9 , wherein said determining the position of the display origin of the to-be-displayed character based on the position of the initial display origin and the display parameter comprises: identifying a display origin of each to-be-displayed character by starting from a to-be-displayed character having an index of 0; setting, in response to the index of the to-be-displayed character being 0, i.e., the to-be-displayed character being a first character in the to-be-displayed text, the display origin of the to-be-displayed character on the screen as the initial display origin; or determining, in response to the index of the to-be-displayed character not being 0, the display origin of the to-be-displayed character ba
Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77) · CPC title
Processing of non-Latin text (kana-to-kanji conversion G06F40/129; vowelisation G06F40/232) · CPC title
Display of layout of documents; Previewing · CPC title
Interaction with page-structured environments, e.g. book metaphor · CPC title
Font handling; Temporal or kinetic typography · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.