Unlock instant, AI-driven research and patent intelligence for your innovation.

Text processing method and device, equipment and medium

A text processing and text technology, which is applied in the field of text processing, can solve the problem of serious terminal performance consumption and achieve the effect of reducing performance overhead and reducing device resource consumption

Pending Publication Date: 2021-06-25
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, based on the inherent functional logic of the Textview control, when processing complex text with special effects, the consumption of terminal performance is serious

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text processing method and device, equipment and medium
  • Text processing method and device, equipment and medium
  • Text processing method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

[0025] In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present disclosure, and Not all examples.

[0026] figure 1 The flow chart of a text processing method provided by the embodiment of the present disclosure may be applicable to the situation of how to render text during the text presentation process. The text processing method can be executed by a text processing device, which can be imp...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention relates to a text processing method and device, equipment and a medium, and the method comprises the steps: obtaining at least two display attribute sets corresponding to a to-be-displayed text, wherein each display attribute set corresponds to characters with the same display effect; according to the characters corresponding to each display attribute set, segmenting the to-be-displayed text to obtain at least two text segments, wherein the characters in each text segment correspond to the same display attribute set; based on the display attribute set corresponding to the characters in each text segment, performing drawing processing on each text segment to obtain a drawing processing result corresponding to each text segment; and according to the position of each character in each text segment in the to-be-displayed text, splicing each drawing processing result to obtain a text drawing result. According to the embodiment of the invention, the consumption of equipment resources in the text drawing processing process can be reduced, and the performance overhead of text display in equipment is reduced.

Description

technical field [0001] The present disclosure relates to the technical field of text processing, and in particular, to a text processing method, device, device and medium. Background technique [0002] Currently, text display and interactive processing in an Android (Android) application program is usually implemented using an Android native control (Textview). With the expansion of the functions of the application program, the display effects of the text in the application program are also becoming more and more diverse. [0003] However, based on the inherent functional logic of the Textview control, when processing complex text with special effects, the consumption of terminal performance is serious. Contents of the invention [0004] In order to solve the above technical problems or at least partly solve the above technical problems, embodiments of the present disclosure provide a text processing method, device, device and medium. [0005] In a first aspect, an embod...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/109G06F40/111G06F40/166
CPCG06F40/109G06F40/111G06F40/166
Inventor 岳奇
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD