CN101645063A - Method and device for combining characters - Google Patents

Method and device for combining characters Download PDF

Info

Publication number
CN101645063A
CN101645063A CN200810117919A CN200810117919A CN101645063A CN 101645063 A CN101645063 A CN 101645063A CN 200810117919 A CN200810117919 A CN 200810117919A CN 200810117919 A CN200810117919 A CN 200810117919A CN 101645063 A CN101645063 A CN 101645063A
Authority
CN
China
Prior art keywords
word
character
character cell
group
carrier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200810117919A
Other languages
Chinese (zh)
Inventor
王全鹏
高翔
杨燕菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN200810117919A priority Critical patent/CN101645063A/en
Publication of CN101645063A publication Critical patent/CN101645063A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a method and a device for combining characters, which belong to the technical field of type-setting, and are designed aiming at the problems of large data quantity, low transmission efficiency and inaesthetic character style after character combination in the prior art. The character combining method comprises the following steps: calling character units included in the combined characters from a current character library, and placing the character units on a carrier; and regulating the character units according to the correlation of the character units included in thecombined characters. Corresponding to the character combining method, the character combining device comprises a calling and placing module and a regulating module, wherein the calling and placing module is used for calling the character units included in the combined characters from the current character library, and placing the character units on the carrier; and the regulating module is used for regulating the character units placed on the carrier according to the correlation of the character units included in the combined characters. The method and the device are applied to places with character combining requirements.

Description

Group word method and apparatus
Technical field
The invention belongs to typesetting system field, be specifically related to a kind of group of word method and apparatus.
Background technology
In typesetting system field, because a large amount of rarely used words or decoration word are not fabricated in the character library, when causing using character library, these literal can't correctly show on the computing machine of front end, the printing equipment of also being inconvenient to be delivered to the rear end prints, in order to address this problem, the following two kinds of methods of main at present employing:
First method is: the character cell of analyzing rarely used word or decorating word is formed, and the font profile that will have any one Chinese character of identical characters unit then is converted to curve, and the part curve of needed character cell correspondence is shifted out; Take same means to obtain the curve of other character cell correspondences of this rarely used word or decoration word, then these curves are grouped together the font that forms rarely used word or decorate word.Though this method has solved the problems referred to above, have following shortcoming at least: after 1, the font profile is converted to curve, lost the advantage of vector fonts, the file data amount that obtains after the composing increases, and influences file transfer efficient; When 2, making up, need the curve corresponding with character cell be spliced one by one, because curve is wayward, so inefficiency; 3, curve is difficult to editor, so rarely used word that obtains or decoration word font have some setbacks, is difficult to guarantee the attractive in appearance of font; 4, be converted to curve after, will no longer be character, can't carry out literal location together with common language.
Second method is: by inlay software, existing character library is carried out inlay handle.This method operation is than being easier to, and kept the advantage of vector fonts simultaneously, but had following shortcoming: 1, the computing machine of front end has carried out inlay, may be still in when printing character library of rear end this word not, it is normal to cause front end to show, and the rear end prints out and now loses the word phenomenon, and risk is bigger; If 2 pass to the rear end force download with the word of being mended, then data volume is excessive, and efficient is low; 3, because inlay is not to adopt unified standard to carry out, conflict may appear in the sign indicating number position that therefore takies; 4, buy inlay software, need to drop into again, cost is bigger.
Summary of the invention
On the one hand, the invention provides a kind of group of word method, data volume is big behind the group word in the prior art, transfer efficiency is low, the inaesthetic problem of font to solve.
For achieving the above object, the technical solution used in the present invention is:
A kind of group of word method comprises the steps:
From current character library, access the included character cell of the word that is combined and be placed on the carrier;
According to the mutual relationship of the included character cell of the word that is combined, described character cell is adjusted.
Access the included character cell of the word that is combined in the of the present invention group of at first current character library of word method and be placed on the carrier; According to the mutual relationship of the included character cell of the word that is combined, described character cell is adjusted again, thereby obtained needed word.Because adopted the character cell in the current character library to make up, having kept character cell is the little advantage of vector fonts data volume, so the digital data amount after the combination is little, and the transfer efficiency height, and font is attractive in appearance.
On the other hand, the invention provides a kind of group of word device, data volume is big behind the group word in the prior art, transfer efficiency is low, the inaesthetic problem of font to solve.
For achieving the above object, the technical solution used in the present invention is:
A kind of group of word device comprises:
Call and placement module: be used for accessing the included character cell of the word that is combined and being placed into a carrier from current character library;
Adjusting module: be used for mutual relationship, the described character cell that is placed on the carrier is adjusted according to the included character cell of the word that is combined.
Of the present invention group of word device in use, at first use and call and placement module, from current character library, access the included character cell of the word that is combined and be placed on the carrier, pass through adjusting module again, mutual relationship according to the included character cell of the word that is combined, the described character cell that is placed on the carrier is adjusted, thereby obtained needed word.Because adopted the character cell in the current character library to make up, having kept character cell is the little advantage of vector fonts data volume, so the digital data amount after the combination is little, and the transfer efficiency height, and font is attractive in appearance.
Description of drawings
Fig. 1 is of the present invention group of particular flow sheet that word method embodiment adjusts character cell on carrier;
Fig. 2 organizes the schematic flow sheet of word for of the present invention group of word method embodiment;
Fig. 3 is the schematic flow sheet of of the present invention group of word method embodiment combined decoration word;
Fig. 4 is the structural representation of of the present invention group of word device embodiment;
Schematic flow sheet when Fig. 5 is used for software for composing for of the present invention group of word method embodiment.
Embodiment
Data volume is big behind the group word in the prior art, transfer efficiency is low, the inaesthetic problem of font, the invention provides a kind of group of word method and apparatus in order to solve, and below in conjunction with accompanying drawing the present invention is elaborated.
Of the present invention group of word method can be written as the software module of computerese, is embedded in the existing software for composing to use.The word that the 3rd frame shows among Fig. 1, second aspect of this word in Unicode (UNICODE) standard is encoded to U+22C66, this word not all in the general character library.Be that example is introduced with this rarely used word below.In the process of setting type,, organize the word method as shown in Figure 5 if run into this word:
At first, analyze the included character cell of the word that is combined and the mutual relationship of character cell: on the structure of word, this word can be divided into three character cells that from left to right are arranged in order: " Rolling ", " easily " and " Dao ".Character cell is the unit of forming the word that is combined in the current character library, is specially radical, Chinese character, letter, character etc.Character cell can be any unit in the current character library.Current character library is meant character library in the front-end computer and the character library in the printing equipment of rear end.This step can be realized by computer program, also can directly be realized by artificial.
Guaranteeing that character cell can choose at random under the prerequisite that selected character cell exists in character library.The quantity of character cell is few more good more, so that the follow-up word of organizing apace.
Then, from current character library, access this three character cells and being placed on the carrier in the edit page of software for composing.
The use of carrier is for a space of adjusting is provided to character cell, and this carrier can be arranged in the optional position of edit page.Preferably this carrier is set to an object in the edit page, is generated and is managed by the Object Manager in the software for composing.Have various objects in the edit page, as image, line, color and literal etc., Object Manager is used for the various attributes to these object allocated code (ID) and management object, as position, size and color.
At last, according to the mutual relationship of these three character cells, character cell is adjusted.Adjust for convenience, these three character cells are made as big or small consistent with carrier, and be placed into the middle position of carrier, effect is shown in first box among Fig. 1 at this moment; A selected then reference point (such as the upper left point of carrier) is used to adjust the position, then, according to the structure of the word that is combined, adjusts size, the position of described character cell, to obtain needed word.
From character cell " Rolling ", upper left point with carrier is a reference point, structure according to the word that is combined, adjust its horizontal direction ratio earlier and be reduced into 60%, the position moves to left 13.18%, obtain among Fig. 1 the effect shown in second frame: in the manner described above, with character cell " easily " in the horizontal direction ratio be reduced into 55%, the position moves to right 30.47%; With " Dao " in the horizontal direction ratio be reduced into 58%, the position moves to right 55.24%, thereby obtains among Fig. 1 the effect shown in the 3rd frame.Can adjust the color of character cell, to obtain different-effect as required simultaneously.
Of the present invention group of word method adopted the character cell in the current character library to make up, and obtained needed rarely used word, and having kept character cell is the little advantage of vector fonts data volume, so the digital data amount after the combination is little, and the transfer efficiency height, font is attractive in appearance.
After this rarely used word combines, need this word is set type in edit page to print.Can be undertaken this moment by the allocating object manager.Because carrier is set to an object in the abovementioned steps, then can adjust position, size and the color of carrier by Object Manager, to satisfy the demand.The size of rarely used word generally can be identical with other fonts in the page, thus can be when generating this carrier the size of carrier be set to the size of a font in the edit page.
In edit page, set type finish after, can generate an e-file, the printing equipment that is used to be delivered to the rear end prints.The information of described carrier of storage and character cell in this e-file (size, position and color etc.) is because carrier is an object in the edit page, so can the information of carrier be stored by Object Manager.
Because the resulting digital data amount in combination back is little, so the file data amount that obtains after setting type is also less, when the printing equipment that this document need be delivered to the rear end prints, the transfer efficiency height.The process of rear end printing is: read the information of the character cell that comprises in the file, transfer character cell then from the character library of rear end, according to information (size, position and color) printable character unit one by one.Because stored the information of carrier and character cell in this e-file, and character cell exists in current character library, so the printing equipment of rear end can access the information of the included character cell of this rarely used word, and this word correctly printed, guarantee printing quality and avoided losing the word phenomenon.So after using of the present invention group of word method, can make rarely used word show correctly that on the computing machine of front end the printing equipment that also can be delivered to the rear end fast correctly prints.
As shown in Figure 2, according to above-mentioned group of word method, just can be combined into two rarely used words shown in this Fig.
In addition, the present invention can make up any character unit in the character library, under not helping by other instruments, can be combined into the decoration word, has enriched the font effect.As shown in Figure 3, for use this group word method to Chinese character " in " both sides add the decoration word that produces after the bracket.Equally, the present invention can be used for making the arbitrary graphic pattern of being made up of character cell.
Corresponding with above-mentioned group word method, the invention provides a kind of group of word device, it comprises:
Analysis module: be used to analyze the be combined included character cell of word and the mutual relationship of character cell.
Call and placement module: be used for accessing the included character cell of the word that is combined and being placed into a carrier from current character library;
Adjusting module: be used for mutual relationship, the described character cell that is placed on the carrier is adjusted according to the included character cell of the word that is combined.
When needs group word, elder generation's operational analysis module, the be combined mutual relationship (this analytic process also can directly be realized by artificial) of included character cell of word and character cell of analysis, use then and call and placement module, from current character library, access aforementioned character cell and be placed on the carrier, then by adjusting module, according to the mutual relationship of the included character cell of the word that is combined, the described character cell that is placed on the carrier is adjusted, thereby obtained needed word.Because adopted the character cell in the current character library to make up, having kept character cell is the little advantage of vector fonts data volume, so the digital data amount after the combination is little, and the transfer efficiency height, and font is attractive in appearance.
Of the present invention group of word device can be used in the printing issues that solves rarely used word in the software for composing or decorate word.At this moment, as shown in Figure 4, can organize setting again in the word device at this:
Administration module: be used for described carrier is adjusted according to the requirement of setting type;
Memory module: be used to generate an e-file, the information of described carrier of storage and character cell in this e-file.
In the edit page of software for composing, according to foregoing group of word method, use and call and placement module, adjusting module, obtain after needed rarely used word or the decoration word; Re-use administration module, carrier is adjusted attributes such as size, position and color according to the needs of setting type; By memory module, generate an e-file at last, the information of described carrier of storage and character cell in this e-file.
Because this group word device has adopted the character cell in the current character library to make up, the digital data amount that obtains is little, and the electronic document data amount that the back of setting type generates is also little, so this e-file can be delivered to the printing equipment of rear end fast.And stored the information of carrier and character cell in the e-file, so the printing equipment of rear end can obtain the information of the included character cell of needed word from e-file, from the character library of rear end, access the respective symbols unit, word is correctly printed.
The present invention is applicable to the place that the group word needs, and is specially adapted to solve in the typesetting technique rarely used word and decorates word can not correctly show on front-end computer and can not be delivered to the problem that correctly print the rear end fast.

Claims (13)

1, a kind of group of word method is characterized in that, comprises the steps:
From current character library, access the included character cell of the word that is combined and be placed on the carrier;
According to the mutual relationship of the included character cell of the word that is combined, described character cell is adjusted.
2, according to claim 1 group of word method is characterized in that, describedly accesses the included character cell of the word that is combined and be placed on the carrier before the step from current character library, also comprises step:
Analysis the be combined included character cell of word and the mutual relationship of character cell.
3, according to claim 1 group of word method is characterized in that, described character cell is the unit in the current character library.
4, according to claim 1 group of word method is characterized in that, described mutual relationship according to the included character cell of the word that is combined is carried out set-up procedure to described character cell and is specially:
According to the structure of the word that is combined, adjust size, the position of described character cell.
5, according to claim 4 group of word method is characterized in that, described mutual relationship according to the included character cell of the word that is combined is carried out set-up procedure to described character cell and also comprised step:
Adjust the color of described character cell.
6, according to claim 1 group of word method is characterized in that, described carrier is arranged in the edit page of software for composing.
7, according to claim 6 group of word method is characterized in that, described carrier is managed by the Object Manager in the software for composing.
According to claim 6 or 7 described groups of word methods, it is characterized in that 8, described mutual relationship according to the included character cell of the word that is combined carries out also comprising step after the set-up procedure to described character cell:
Generate an e-file, the information of described carrier of storage and character cell in this e-file.
9, according to claim 8 group of word method is characterized in that, the information of described carrier and character cell comprises size, position and color.
10, a kind of group of word device is characterized in that, comprising:
Call and placement module: be used for accessing the included character cell of the word that is combined and being placed into a carrier from current character library;
Adjusting module: be used for mutual relationship, the described character cell that is placed on the carrier is adjusted according to the included character cell of the word that is combined.
11, according to claim 10 group of word device is characterized in that, described group of word device also comprises:
Analysis module: be used to analyze the be combined included character cell of word and the mutual relationship of character cell.
12, according to claim 10 group of word device is characterized in that, described group of word device also comprises:
Administration module: be used for described carrier is adjusted by the requirement of setting type.
According to claim 10 or 11 described groups of word devices, it is characterized in that 13, described group of word device also comprises:
Memory module: be used to generate an e-file, the information of described carrier of storage and character cell in this e-file.
CN200810117919A 2008-08-05 2008-08-05 Method and device for combining characters Pending CN101645063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810117919A CN101645063A (en) 2008-08-05 2008-08-05 Method and device for combining characters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810117919A CN101645063A (en) 2008-08-05 2008-08-05 Method and device for combining characters

Publications (1)

Publication Number Publication Date
CN101645063A true CN101645063A (en) 2010-02-10

Family

ID=41656951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810117919A Pending CN101645063A (en) 2008-08-05 2008-08-05 Method and device for combining characters

Country Status (1)

Country Link
CN (1) CN101645063A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908600A (en) * 2017-10-27 2018-04-13 北京雷客天地科技有限公司 A kind of Word-Drawing method and system
CN113850050A (en) * 2020-06-28 2021-12-28 荣耀终端有限公司 Character display method, character display device and terminal equipment
CN114610164A (en) * 2022-03-17 2022-06-10 联想(北京)有限公司 Information processing method and electronic device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908600A (en) * 2017-10-27 2018-04-13 北京雷客天地科技有限公司 A kind of Word-Drawing method and system
CN113850050A (en) * 2020-06-28 2021-12-28 荣耀终端有限公司 Character display method, character display device and terminal equipment
WO2022001408A1 (en) * 2020-06-28 2022-01-06 荣耀终端有限公司 Character display method, character display apparatus, and terminal device
CN114610164A (en) * 2022-03-17 2022-06-10 联想(北京)有限公司 Information processing method and electronic device

Similar Documents

Publication Publication Date Title
CN106980605B (en) contract generation method and device
CN107153636A (en) It is a kind of to realize the method and system that business datum is quickly exported with PDF format
CN104915332A (en) Method and device for generating composing template
CN109829139A (en) The method and apparatus that a kind of stream-oriented file of DOC/DOCX format is converted into the layout files of OFD format
CN110969004B (en) Automatic typesetting method and system for graphics context, server and medium
CN103885731A (en) Data printing method and device
CN116757165B (en) Method for projecting effect tool to OFD file based on layout data stream file base plate
CN104021112A (en) One-key book-forming system based on automatic typesetting
KR20090037264A (en) Rogo menufacturing method using the internet
CN105589686A (en) Template-based information input and printing method and device under WinCE (Windows Embedded Compact) platform
CN101645063A (en) Method and device for combining characters
CN103488441A (en) Implementation method for printing Arabic on POS (point-of-sale) terminals
US7057617B1 (en) Font memory and font data reading method
CN104516868A (en) Layout space streaming restoring method and layout space streaming restoring system
Shirali-Shahreza et al. An improved version of Persian/Arabic text steganography using" La" Word
CN101957837B (en) Method for accessing stroke vector font
CN112200158B (en) Training data generation method and system
CN105677262A (en) Typesetting method and device for banner printing
CN101430715B (en) Data memory method and apparatus after type-setting
CN101436177B (en) Method and apparatus for importing data film to form
CN103955349B (en) A kind of embedded italic algorithm and mobile terminal based on GSM/GPRS
CN112882665A (en) Method and device for generating printing template, electronic equipment and storage medium
CN100349203C (en) Co-screen displaying device supporting scale chracter shape and method thereof
CN102082929B (en) Method and device for indiscriminately applying caption template
CN102096903B (en) Page rasterized character smooth processing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100210