Displaying method for multi-line characters

A display method and character technology, applied in electrical digital data processing, instruments, calculations, etc., can solve the problems of insufficient display mode, low operating efficiency, and no public implementation method, etc., to achieve optimized display interface, high operating efficiency, and refreshing fast effect

Active Publication Date: 2015-06-17
FUJIAN NEWLAND COMM SCI TECH
View PDF2 Cites 2 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
  • Displaying method for 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 invention provides a displaying method for multi-line characters. The displaying method for the multi-line characters comprises the first step that the width of the paragraph of the characters is obtained by searching from the first character of the paragraph to the line break or carriage return or the end of the paragraph; the number of the characters of the paragraph is assumed to be n, and n belongs to natural numbers; the second step that whether the width of the n characters exceeds the width of the displaying area is judged, and if the width of the n characters does not exceed the width of the displaying area, the n characters of this line are directly displayed, line feed is conducted, the forth step is entered, if the width of the n characters exceeds the width of the displaying area, the third step is entered; the third step that the maximum character number m of the width capable of being displayed within the displaying area is obtained again through searching from the first character to the nth character, the m characters are displayed, then line feed is conducted, wherein the m is smaller than the n; the forth step that the displayed characters are offset, the first step is continuously repeated until the end of the characters of the paragraph. By means of the displaying method for the multi-line characters, the operation effect is good, the refresh frequency is fast, and the performance of a user interface is well improved.

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 Applications(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products