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

Method and device drafting character string at targeted area

A technology of target area and character string, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as the inability to guarantee the efficiency of character string drawing, reduce the number of attempts to draw, have no technical obstacles, and reduce resources wasteful effect

Active Publication Date: 2008-02-20
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF0 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is to provide a method for drawing character strings in the target area, so as to solve the problem that in the prior art, automatic line wrapping and shrinking font filling processing cannot be realized simultaneously in the target area, and the efficiency of character string drawing cannot be guaranteed. question

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
  • Method and device drafting character string at targeted area
  • Method and device drafting character string at targeted area
  • Method and device drafting character string at targeted area

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0067] One of the core concepts of the embodiments of the present invention is to use a certain font size to draw a character string. If the drawn character string is within the size of the target area, the font size is considered "appropriate", otherwise it is "inappropriate". In this case, the purpose of the present invention to adjust the font size is to keep trying to draw until finding a maximum appropriate value that does not exceed the initial font size. The process of trying to draw is to make the font size try to draw between the lower limit of the variable font size and the upper limit of the variable font size, and constantly update the lower limit of the variable font size and the upper limit of the variable font size t...

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 utility model discloses a method of rendering character strings within object regions. The method is as follows: a font size variation range is preset; character strings are rendered according to reference font sizes within the object regions; whether the rendered character strings exceed the size of the object regions is judged; if yes, the reference font sizes replace the upper limit of the variable font sizes when the reference font sizes are smaller than the upper limit of the variable font sizes, and the reference font sizes are reduced according to a first preset rule; if no, the reference font sizes replace the lower limit of the variable font sizes when the reference font sizes are bigger than the lower limit of the variable font sizes, and the reference font sizes are enlarged according to a second preset rule; whether the reduced or enlarged reference font sizes are within the variation range of the font sizes is judged; if yes, the character strings are re-rendered within the object regions. The utility model can simultaneously realize line wrap and font reduction filling within object regions, while ensuring the efficiency of rendering character strings.

Description

technical field [0001] The invention relates to the field of character drawing processing, in particular to a method and device for drawing character strings in a target area. Background technique [0002] In existing webpages or application programs, due to the needs of interface drawing, text editing, printing output, etc., the system is required to have the function of outputting a character string of indeterminate length in a target area, for example, in a cell. When the length of the character string exceeds the length of the target area, in addition to manually adjusting the font size by the user to reduce the length of the character string, two solutions are provided in the prior art: "automatic line wrapping" and "reducing font filling". . [0003] "Auto wrap" means that when the length of the character string in the target area exceeds the width of the area, the character string in the area that exceeds the width of the area is changed to the next line for 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/24G06F17/25G06F40/189
Inventor 李馥龙
Owner KINGDEE SOFTWARE(CHINA) CO LTD
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