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

A realization method of rendering flash rich text according to specified character rules

A technology for specifying characters and implementing methods, applied in the field of rich text rendering and interaction of flash

Active Publication Date: 2021-08-24
学利网络科技(上海)有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is how to realize the mixed layout of graphics and text in the flash environment or how to add complex style support to specific text, and how to display it compatible in 2D and 3D environments

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
  • A realization method of rendering flash rich text according to specified character rules
  • A realization method of rendering flash rich text according to specified character rules
  • A realization method of rendering flash rich text according to specified character rules

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following describes several preferred embodiments of the present invention with reference to the accompanying drawings, so as to make the technical content clearer and easier to understand. The present invention can be embodied in many different forms of embodiments, and the protection scope of the present invention is not limited to the embodiments mentioned herein.

[0047] Such as figure 1 Shown is the processing flow of parsing and rendering a rich text format that meets special requirements from the original string. The first step is to parse the input raw text (rawText) to generate a series of text blocks (TextBlocks). The second step is to use different text rendering processes for rendering according to different display environments, and display them in rich text formats in different display environments.

[0048] In the first step, the parser (IParser) is responsible for parsing the raw text. Through regular matching, the parser parses the original text...

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 invention discloses a method for rendering flash rich text according to specified character rules, and relates to the field of flash rich text rendering and interaction. The rules parse the original text into a series of text block objects; step 2, determine whether the display environment is a 2D environment or a 3D environment, according to the different display environments, adopt different text rendering processes for rendering, and display the text in the rich text format on the under different display environments. The present invention can add rich styles to the designated text, insert pictures in the designated text position, and can make the rendered text run in multiple flash rendering modes at the same time, thus realizing the advanced support for the displayed text.

Description

technical field [0001] The invention relates to the field of flash rich text rendering and interaction, in particular to an implementation method for rendering flash rich text according to specified character rules. Background technique [0002] In the prior art, flash's native rendering of text is very simple. Only simple text effects can be achieved through flash built-in API (Application Programming Interface), limited HTML (Hyper Text Markup Language) tags and CSS (Cascading Style Sheets) styles. However, tasks such as mixing graphics and text, or adding complex styles to specific texts are not well implemented. [0003] Specifically, flash cannot achieve the following three rendering effects: [0004] 1) Flash cannot add a background color to a specific text block, nor can it add an underline; [0005] 2) Flash cannot insert pictures at specific text positions; [0006] 3) The text rendered by flash is not compatible with 2D (display list) and 3D (Stage3D) environme...

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 Patents(China)
IPC IPC(8): G06T11/60G06T11/40
CPCG06T11/40G06T11/60
Inventor 厉学新梁启
Owner 学利网络科技(上海)有限公司