Character display method and apparatus, electronic device, and computer-readable storage medium

US12443786B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12443786-B2
Application numberUS-202118245052-A
CountryUS
Kind codeB2
Filing dateAug 10, 2021
Priority dateOct 23, 2020
Publication dateOct 14, 2025
Grant dateOct 14, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

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.

First claim

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

Assignees

Inventors

Classifications

  • 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

  • G06F40/109Primary

    Font handling; Temporal or kinetic typography · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12443786B2 cover?
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-displa…
Who is the assignee on this patent?
Beijing Bytedance Network Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F40/109. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 14 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).