Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for displaying multi-line characters

A display method and character technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as low operating efficiency, no public implementation method, and insufficient display mode, and achieve high operating efficiency and fast refresh , Optimize the effect of the display interface

Active Publication Date: 2017-08-25
FUJIAN NEWLAND COMM SCI TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This display method is not fast enough, the operating efficiency is low, and there is no specific implementation method disclosed

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 method for displaying multi-line characters

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] see figure 1 Shown, a kind of multi-line character display method of the present invention comprises the following steps:

[0018] Step 1. Get the width of the character to be displayed from the first of the character to be displayed until the line feed or carriage return or the end of the character; set the number of characters in the character is n, and n is a natural number;

[0019] Step 2, judge whether the width of n characters exceeds the width of the display area, if not, directly display the n characters of this line and change the line; go to step 4; if it exceeds, go to step 3;

[0020] Step 3. Re-obtain the maximum number of characters m that can be displayed between the first character and the nth character, which cannot exceed the width of the display area; then display the m characters and change the line, where m

[0021] Step 4. After offsetting the displayed character, continue to repeat step 1 until the end of the character.

[0022] Wherein, ...

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 present invention provides a method for displaying multi-line characters. The method is as follows: 1. From the first beginning of the character to be displayed until the end of the newline or carriage return or the character, the character to be displayed is obtained. The width of this paragraph of characters; set the number of characters of this paragraph of characters to n, and n is a natural number; 2. Determine whether the width of n characters exceeds the width of the display area, and if it does not exceed, directly display the n characters of this line and Newline; Enter 4; Exceed, then enter 3; 3. Re-acquire the maximum number of characters m that can be displayed between the first character and the nth character, which cannot exceed the width of the display area; and then display this m characters and newline, where m

Description

technical field [0001] The invention relates to the technical field of user display interfaces, in particular to a method for displaying multi-line characters. Background technique [0002] At this stage, when multiple lines of characters are displayed in the display area, the algorithm used to calculate the maximum number of characters that can be displayed in one line is: calculate whether the width from the last character to the first character exceeds the width of the display area, if yes, Just recalculate the width from the penultimate character to the first character, until the calculated width is smaller than the width of the display area, the characters of this line are displayed and the line is changed. This display method is not fast enough, the operating efficiency is low, and no specific implementation method is disclosed. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a multi-line character display...

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): G06F17/22
Inventor 李必龙陈晓辉袁苇沈少阳
Owner FUJIAN NEWLAND COMM SCI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products