Check patentability & draft patents in minutes with Patsnap Eureka AI!

Text rendering method and text rendering device

A text and rendering tree technology, applied in the field of image processing, can solve the problems of consumption and waste of embedded system video memory, etc., and achieve the effect of reducing the amount of occupancy

Active Publication Date: 2016-11-23
TCL CORPORATION
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This solution will greatly waste the video memory of the embedded system, especially in the case where the embedded platform memory and video memory are shared, the bottleneck is particularly prominent, for example, following the rule of the Nth power of the embedded texture 2, a 512* 512 textures need to occupy 512*512*4 / 1024=1 megabyte (ie 1M) memory in the video memory. If there are 20 places to display text on the user interface (UI, User Interface), the picture resolution is 512*512 In this case, only the text texture needs to consume 20M memory

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 rendering method and text rendering device
  • Text rendering method and text rendering device
  • Text rendering method and text rendering device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0025] A text rendering method in the present invention is described below with an embodiment, please refer to Figure 1-a , the text rendering method in the embodiment of the present invention includes:

[0026] 101. Create a texture with only an alpha channel;

[0027] In the embodiment of the present invention, the alpha chann...

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 text rendering method and a text rendering device. The text rendering method comprises the following steps: creating textures with only alpha channels; sequentially acquiring font images to be rendered for preprocessing till the preprocessed font images only contain data in alpha channels; updating the preprocessed font images into the textures, and recording texture coordinates of all the font images in the textures; traversing a rendering tree, and converting coordinates of text rendering nodes in the rendering tree into coordinates thereof in the world coordinate system; according to the texture coordinates of all the font images in the textures and the coordinates of the text rendering nodes in the world coordinate system, rendering each preprocessed text image into the corresponding text rendering node. After adoption of the technical scheme provided by the invention, the occupancy of a text memory can be effectively reduced.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a text rendering method and a text rendering device. Background technique [0002] With the popularity and popularization of mobile development platforms (such as Iphone and Android development platforms), more and more people enjoy the visual experience brought by mobile platforms. OpenGL ES is a subset of OpenGL 3D graphics application programming interface (API, Application Programming Interface), designed for embedded devices such as mobile phones, handheld computers (PDA, Personal Digital Assistant) and game consoles. With the application of OpenGL ES on smart terminals such as smart TVs and smart phones, 3D-based visual experience effects are becoming more and more popular. With the development of the Internet, more three-dimensional (ie 3D) applications appear in people's lives. . Compared with two-dimensional (that is, 2D), 3D graphics have an incomparable user experienc...

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
IPC IPC(8): G06T15/00G06T15/04
Inventor 赵智宝卢伟超
Owner TCL CORPORATION
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More