CN103578450A - Character display method, character display device and safety authentication device - Google Patents

Character display method, character display device and safety authentication device Download PDF

Info

Publication number
CN103578450A
CN103578450A CN201210268421.3A CN201210268421A CN103578450A CN 103578450 A CN103578450 A CN 103578450A CN 201210268421 A CN201210268421 A CN 201210268421A CN 103578450 A CN103578450 A CN 103578450A
Authority
CN
China
Prior art keywords
character
bezier
contour feature
reference mark
coordinate
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.)
Granted
Application number
CN201210268421.3A
Other languages
Chinese (zh)
Other versions
CN103578450B (en
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.)
Nationz Technologies Inc
Original Assignee
Nationz Technologies Inc
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 Nationz Technologies Inc filed Critical Nationz Technologies Inc
Priority to CN201210268421.3A priority Critical patent/CN103578450B/en
Publication of CN103578450A publication Critical patent/CN103578450A/en
Application granted granted Critical
Publication of CN103578450B publication Critical patent/CN103578450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a character display method, a character display device and a safety authentication device. The character display method comprises the steps that according to a plurality of preset Bezier curve control points of characters to be displayed, contours of the characters to be displayed are resolved into multiple Bezier curves; according to a Bezier curve equation and coordinate values of the Bezier curve control points, coordinate values of a plurality of contour characteristic points of each Bezier curve are obtained; according to the coordinate values of all the contour characteristic points corresponding to the characters to be displayed, the characters to be displayed are displayed. According to the technical scheme, compared with the prior art, the character display method, the character display device and the safety authentication device are more complete.

Description

A kind of character display method, character display device and safety certification device
Technical field
The present invention relates to electronic applications, relate in particular to a kind of character display method, character display device and safety certification device.
Background technology
Along with the development of electronic technology, each class of electronic devices, as computer, mobile phone, the U of bank shield, electronic dictionary etc., is widely used in daily life, and display effect becomes the problem that people pay close attention to day by day.
At present, the most general character Display mode of application is to adopt dot-matrix, adopts 0,1 dot chart to describe font.Although this mode is comparatively easy, there is many defects, as when resolution is higher, its data volume is increased sharply, and when character shows, extremely easily occurs obvious sawtooth etc., display effect is had certain requirements electronic equipment, and this character Display mode is inapplicable.
Summary of the invention
The invention provides character display method, character display device and safety certification device that a kind of relative prior art is more perfect.
For a kind of more perfect character display method, character display device and safety certification device are provided, the present invention takes following technical scheme.
, comprising: according to a plurality of Beziers reference mark of default character to be shown, the profile of described character to be shown is resolved into many Beziers; According to the coordinate figure at bezier curve equation and Bezier reference mark, ask for the coordinate figure of a plurality of contour feature points that form each Bezier; According to the coordinate figure of all contour feature points corresponding to described character to be shown, described character to be shown is shown.
In an embodiment of the present invention, according to a plurality of Beziers reference mark of default character to be shown, the method that the profile of described character to be shown is resolved into many Beziers is specifically as follows: the attribute information according to a plurality of Beziers reference mark of default character to be shown, resolves into many Beziers by the profile of described character to be shown; Described attribute information comprises: for representing the information of reference mark on Bezier and for representing the not information on Bezier of reference mark.Preferably, if in continuous n+1 reference mark, the attribute information at head and the tail two reference mark is all illustrated on Bezier, the attribute information at n-1 middle reference mark all represents not on Bezier, according to a described n+1 reference mark, obtain the Bezier on n rank, wherein, n is more than or equal to 1 positive integer.Further, the Bezier that step 1 is decomposed to the high-order obtaining carries out depression of order processing, is specifically as follows: if n is more than or equal to 3, the Bezier on the described n rank that obtain is decomposed into the Bezier on n-1 bar 2 rank.
In an embodiment of the present invention, bezier curve equation can be B ( t ) = Σ i = 0 n n i P i ( 1 - t ) n - i t i , Wherein, the exponent number that n is Bezier, and n is more than or equal to 1 positive integer, P ifor the coordinate figure at i reference mark of corresponding exponent number Bezier, 0≤t≤1, B (t) is for forming the coordinate figure of the contour feature point of corresponding exponent number Bezier.
In an embodiment of the present invention, according to the coordinate figure of all contour feature points corresponding to described character to be shown, the method that described character to be shown is shown is specifically as follows: according to the coordinate figure of all contour feature points corresponding to described character to be shown, directly described character to be shown is shown, or according to the coordinate figure of all contour feature points corresponding to described character to be shown, fill, after having filled, show again.Further, no matter be any scheme in above-mentioned two schemes, can comprise the following steps: before described character to be shown is shown, if need to carry out translation to described character to be shown, the abscissa value of all contour feature points of described character to be shown, ordinate value be added respectively to off-set value; If need to described character to be shown be tilted, the ordinate value of all contour feature points of described character to be shown is multiplied by inclination factor, as tilt offset value, add to its corresponding abscissa value; If need to carry out convergent-divergent to described character to be shown, the abscissa value of all contour feature points of described character to be shown, ordinate value are multiplied by respectively to corresponding zoom factor.
In an embodiment of the present invention, according to the coordinate figure of all contour feature points corresponding to described character to be shown, the method of filling is specifically as follows: the contour feature point identical to ordinate value, according to abscissa value order from small to large, match between two successively, to being made between two right contour feature points, fill.
A kind of character display device, can comprise Bezier decomposing module, Bezier computing module and Graphics Processing module, wherein, described Bezier decomposing module, for according to a plurality of Beziers reference mark of default character to be shown, resolves into many Beziers by the profile of described character to be shown; Described Bezier computing module, for according to the coordinate figure at bezier curve equation and Bezier reference mark, is asked for the coordinate figure of a plurality of contour feature points that form each Bezier; Described Graphics Processing module, for according to the coordinate figure of all contour feature points corresponding to described character to be shown, shows described character to be shown.
In an embodiment of the present invention, this character display device also comprises memory module, a plurality of Beziers reference mark of described memory module for storing default character to be shown.Preferably, described memory module can be for storing attribute information and the coordinate figure at a plurality of Beziers reference mark of default character to be shown; The described attribute information of described Bezier decomposing module for storing according to described memory module, the profile of described character to be shown is resolved into many Beziers, and wherein said attribute information comprises: for representing the information of reference mark on Bezier and for representing the not information on Bezier of reference mark; Described Bezier computing module, for the coordinate figure at the Bezier reference mark of storing according to bezier curve equation and described memory module, is asked for the coordinate figure of a plurality of contour feature points that form each Bezier.Preferably, described memory module, for storing default vector font library, is preserved attribute information and the coordinate figure at a plurality of Beziers reference mark of conventional characters in described vector font library.Preferably, described vector font library can be TrueType character repertoire.
In an embodiment of the present invention, described Graphics Processing module can comprise display sub-module, for according to the coordinate figure of all contour feature points corresponding to described character to be shown, directly described character to be shown is shown; Or described Graphics Processing module can comprise fills processing module and display sub-module, described filling processing module is for filling according to the coordinate figure of all contour feature points corresponding to described character to be shown, described display sub-module, shows for the character to be shown to after having filled.Further, described Graphics Processing module can also comprise translation processing module, inclination processing module and/or convergent-divergent processing module, and described translation processing module is for adding respectively off-set value by the abscissa value of all contour feature points of described character to be shown, ordinate value; Described inclination processing module, for the ordinate value of all contour feature points of described character to be shown is multiplied by inclination factor, adds to its corresponding abscissa value as tilt offset value; Described convergent-divergent processing module is for being multiplied by respectively corresponding zoom factor by the abscissa value of all contour feature points of described character to be shown, ordinate value.
In an embodiment of the present invention, described filling processing module can comprise pairing submodule and filling submodule, and described pairing submodule, for the contour feature point identical to ordinate value, according to abscissa value order from small to large, matches successively between two; Described filling submodule is for filling being made between two right contour feature points.
, comprise the character display device described in above-mentioned any one, also comprise security authentication module; Described security authentication module is used for carrying out safety certification, and the index of character to be shown is transferred to described character display device.
The present invention is according to a plurality of Beziers reference mark of default character to be shown, the profile of character to be shown is resolved into many Beziers, ask for the coordinate figure of a plurality of contour feature points that form each Bezier, according to the coordinate figure of all contour feature points corresponding to character to be shown, character to be shown is shown again.With respect to the character Display mode that adopts dot-matrix, the present invention only need to store the Bezier reference mark of default character to be shown, for the Bezier on n rank, only have n+1 reference mark, so its storage space greatly reduces, simultaneously, due to the distinctive geometric properties of Bezier, for convergent-divergent, translation, the inclination of character provides condition, can enrich the display effect of character, even if under high resolving power, be also not easy to occur sawtooth.
Further, the demonstration of vector outline word is at present all generally to adopt software operation, and character display speed is slower, and character display method provided by the invention, character display device and safety certification device can adopt pure hardware to realize, with less hardware resource, realize fast the demonstration of vector character.
Accompanying drawing explanation
The schematic diagram of the character display device that Fig. 1 provides for one embodiment of the invention;
Fig. 2 is the schematic diagram of Graphics Processing module in character display device shown in Fig. 1;
Fig. 3 is the another kind of structural representation of Graphics Processing module in character display device shown in Fig. 1;
Fig. 4 is the schematic diagram corresponding to a plurality of contour feature points of certain character to be shown;
Fig. 5 is the schematic diagram of filling certain character to be shown of processing;
Fig. 6 is the process flow diagram of the character display method of character display device shown in Fig. 1.
Embodiment
Below by embodiment, by reference to the accompanying drawings the present invention is described in further detail.
Main design of the present invention is: according to a plurality of Beziers reference mark of default character to be shown, the profile of character to be shown is resolved into many Beziers, ask for the coordinate figure of a plurality of contour feature points that form each Bezier, according to the coordinate figure of all contour feature points corresponding to character to be shown, character to be shown is shown again.
As shown in Figure 1, the character display device providing for one embodiment of the invention, comprise memory module 11, Bezier decomposing module 12, Bezier computing module 13 and Graphics Processing module 14, Bezier decomposing module 12, Bezier computing module 13 and Graphics Processing module 14 are connected successively, and memory module 11 can be connected with Bezier decomposing module 12, Bezier computing module 13, Graphics Processing module 14 respectively.
Memory module 11 is mainly used in a plurality of Beziers reference mark of the default character to be shown of storage, comprise the attribute information, coordinate figure at reference mark etc., attribute information comprises: for representing that the information of reference mark on Bezier is as " on ", and for represent reference mark not the information on Bezier as " off ".Attribute information mainly offers Bezier decomposing module 12 and decomposes the Bezier of reflection character outline.Coordinate figure mainly offers the coordinate figure that Bezier computing module 13 is asked for the contour feature point that forms each Bezier.
Owing to conventionally storing a large amount of conventional characters in existing vector font library, reflect the reference mark of many Beziers of each conventional characters profile, and the attribute information at each reference mark, coordinate figure etc., therefore, as one embodiment of the invention, in memory module 11, can directly store existing vector font library, a plurality of Beziers reference mark of character to be shown is set in addition without user.The existing TrueType character repertoire of take is example, conventionally store a large amount of conventional characters, reflect the reference mark of many Beziers of each conventional characters profile, and the attribute information at each reference mark, coordinate relative value etc., during coordinate figure in using TrueType character repertoire, re-use after can first coordinate relative value being converted to coordinate absolute value.
Memory module 11 is also with simultaneously for storing coordinate figure, the shown character of storage Graphics Processing module 14 of the contour feature point that Bezier computing module 13 calculates.Memory module 11 in character display device also can be saved, and coordinate figure, the storage Graphics Processing module 14 shown characters of a plurality of Beziers reference mark of default character to be shown, contour feature point that Bezier computing module 13 calculates can be stored in to the storage space being independent of outside character display device.
Bezier decomposing module 12 is mainly used according to the attribute information at a plurality of Beziers reference mark of the character to be shown of storage in memory module 11, the profile of character to be shown is resolved into many Beziers, concrete decomposition rule can be: the attribute information that reads a plurality of Beziers reference mark of character to be shown from memory module 11, if the attribute information at a certain reference mark is for representing the information of reference mark on Bezier, as " on ", illustrate that this reference mark is on Bezier, if the attribute information at a certain reference mark is for representing the not information on Bezier of reference mark, as " off ", illustrate that this reference mark is not on Bezier, if in continuous n+1 reference mark, head and the tail two reference mark are all on Bezier, n-1 middle reference mark be not on Bezier, according to this n+1 reference mark, obtain the Bezier on n rank, wherein, n is more than or equal to 1 positive integer.That is to say:
If two continuous reference mark P 0, P 1attribute information represent reference mark P 0, P 1be all the point on curve, according to these two points, obtain the Bezier on 1 rank, these two end points that point is the Bezier on these 1 rank;
If 3 continuous reference mark P 0, P 1, P 2in, P 0, P 2attribute information represent P 0, P 2the point on curve, P 1attribute information represent P 1be the point of extra curvature, according to these three points, obtain the Bezier on 2 rank, P 0, P 2it is end points.
The like, the profile of character to be shown can be resolved into many Beziers, these many Beziers may comprise the Bezier on x bar 1 rank, the Bezier on the Bezier on y bar 2 rank, z bar 3 rank, the Bezier on s bar 4 rank ... the Bezier on w bar n rank, wherein, x, y, z, s ... w is identical or different positive integer, or is 0.
In an embodiment of the present invention, coordinate figure for the ease of subsequent calculations contour feature point, Bezier decomposing module 12 can further be carried out depression of order to the Bezier of high-order, as: if n is more than or equal to 3, if i.e. above-mentioned decomposition has obtained 3 rank and Beziers more than 3 rank, this Bezier is decomposed into the Bezier on n-1 bar 2 rank.Preferably, for the Bezier (n is more than or equal to 3) on n rank, suppose that its n+1 reference mark is respectively (P 0, P 1p n), so, the reference mark of the Bezier on two 2 rank at the two ends that obtain after depression of order can be respectively (P 0, P 1, P temp_1), (P temp_n-2, P n-1, P n), the reference mark of the Bezier on middle n-3 2 rank can be (P temp_k, P k+1, P temp_k+1), P wherein temp_k=(P k, P k+1one group of reference mark of the Bezier on corresponding 2 rank of value of)/2, one k, the span of k is [1, n-2], k is integer.With n=3, to the Bezier on 3 rank, carrying out rank is example, supposes that 4+1 reference mark of the Bezier on these 3 rank is respectively (P 0, P 1, P 2, P 3), after depression of order, obtain so the Bezier on 22 rank, owing to being two, so " Beziers on n-3 2 rank " of above-mentioned centre do not exist, the Bezier reference mark on 22 rank at two ends is respectively (P 0, P 1, (P 1+ P 2)/2), ((P 1+ P 2)/2, P 2, P 3), be equivalent to additionally increase (P 1+ P 2this point of)/2, as newly-increased reference mark, this point is just on curve.
After depression of order is processed, the profile of character to be shown is decomposed to resulting many Beziers, only by the Bezier on 1 rank and the Bezier on 2 rank, formed.
Bezier computing module 13, for according to the coordinate figure at bezier curve equation and Bezier reference mark, decomposes to Bezier decomposing module 12 each Bezier obtaining, and asks for the coordinate figure of a plurality of contour feature points that form it; So-called contour feature point refers to the point that forms Bezier, comprise reference mark on Bezier and other points between reference mark, because the coordinate figure at reference mark can directly obtain in memory module 11, therefore, Bezier computing module 13 is mainly used in calculating the contour feature point of other except reference mark on Bezier.
Bezier curve equation is: B ( t ) = Σ i = 0 n n i P i ( 1 - t ) n - i t i , Wherein, the exponent number that n is Bezier, and n is more than or equal to 1 positive integer, P ifor the coordinate figure at i reference mark of corresponding exponent number Bezier, 0≤t≤1, B (t) is for forming the coordinate figure of the contour feature point of corresponding exponent number Bezier.After decompositing many Beziers by above-mentioned Bezier decomposing module 12, the exponent number n of each Bezier is known, corresponding n+1 reference mark (P 0, P 1p n) coordinate figure can from memory module 11, obtain, also be known, therefore, for a Bezier that decomposition obtains, above-mentioned bezier curve equation, by being an equation with one unknown quantity that variable is t, solves this equation with one unknown quantity, can obtain the contour feature point B (t) of this Bezier, according to the value difference of t, can obtain the coordinate figure B (t) of a plurality of contour feature points.Therefore, the value of t determines asking for how many contour feature points on a Bezier, if carry out character demonstration according to the corresponding pixel of each contour feature point, contour feature point is more, it is clearer that character shows, but if contour feature point is too many, also can affect the complexity of whole calculating.Therefore, before Bezier computing module 13 calculates the coordinate figure of contour feature point, user need to set according to actual conditions the value of t, with the line of limited contour feature point, forms each Bezier, then forms the whole exterior contour curve of character to be shown.
Graphics Processing module 14, for the coordinate figure of all contour feature points corresponding to character to be shown that calculate according to Bezier computing module 13, shows this character to be shown.Can be that the corresponding pixel of a contour feature point shows.
In an embodiment of the present invention, as shown in Figure 2, Graphics Processing module 14 can comprise display sub-module 141, coordinate figure for all contour feature points corresponding to character to be shown that calculate according to Bezier computing module 13, directly this character to be shown is shown, now, this character to be shown only consists of contour feature point, and what therefore show is the character of a hollow out." dragon " word being formed by contour feature point as shown in Figure 4, only illustrates its 4 contour feature point Q in this figure 1, Q 2, Q 3, Q 4, other contour feature points are not shown.
In another embodiment of the present invention, as shown in Figure 3, Graphics Processing module 14 can comprise fills processing module 142 and display sub-module 141, filling processing module 142 can further include pairing submodule 142a and fills submodule 142b, pairing submodule 142a is for the contour feature point identical to ordinate value, according to abscissa value order from small to large, match between two successively; Fill submodule 142b for filling being made between two right contour feature points; Display sub-module 141, shows for the character to be shown to after having filled.As shown in Figure 4,4 contour feature points of character to be shown " dragon " of take are example, Q 1, Q 2, Q 3, Q 4for 4 identical contour feature points of ordinate value, ordinate value is 83, and its abscissa value from small to large, is matched submodule 142a according to abscissa value order from small to large, by Q 1and Q 2match, Q 3and Q 4match; Fill submodule 142b to being made into two right contour feature point Q 1and Q 2between, Q 3and Q 4between fill, after completing pairing to all contour feature points, filling, just can obtain solid " dragon " word, as shown in Figure 5.
In another embodiment of the present invention, only comprise display sub-module, or comprise the Graphics Processing module of filling processing module and display sub-module simultaneously, can further include translation processing module, inclination processing module and/or convergent-divergent processing module, translation processing module is for adding respectively off-set value by the abscissa value of all contour feature points of character to be shown, ordinate value; Inclination processing module, for the ordinate value of all contour feature points of character to be shown is multiplied by inclination factor, adds to its corresponding abscissa value as tilt offset value; Convergent-divergent processing module is for being multiplied by respectively corresponding zoom factor by the abscissa value of all contour feature points of character to be shown, ordinate value.
As shown in Figure 6, character display method for character display device shown in Fig. 1, suppose that character to be shown is " dragon " word, in TrueType character repertoire, store a plurality of reference mark of each Bezier of the d bar Bezier (comprising 1 rank or 2 rank Beziers) of its profile, and the attribute information at reference mark and coordinate relative value.According to actual conditions, set bezier curve equation B ( t ) = Σ i = 0 n n i P i ( 1 - t ) n - i t i A plurality of values of middle t.Concrete display packing comprises following flow process.
S601, Bezier decomposing module 12 are obtained the attribute information at all reference mark of " dragon " word from the TrueType character repertoire of memory module 11 storages, according to following principle, restore d bar Bezier:
If in continuous n+1 reference mark, head and the tail two reference mark are all on Bezier, and n-1 middle reference mark, not on Bezier, obtains the Bezier on n rank according to this n+1 reference mark, and wherein, n is more than or equal to 1 positive integer.If n is more than or equal to 3, this Bezier is continued to be decomposed into the Bezier on n-1 bar 2 rank.
S602, Bezier computing module 13 obtain the coordinate relative value at all reference mark of " dragon " word from the TrueType character repertoire of memory module 11 storages, and the coordinate relative value at all reference mark is converted to coordinate absolute value, in conjunction with bezier curve equation, the d bar Bezier that Bezier decomposing module 12 is restored, asks for respectively the wherein coordinate figure of a plurality of contour feature points of each Bezier of formation.
The exponent number n of each Bezier being restored by above-mentioned Bezier decomposing module 12 is known, corresponding n+1 reference mark (P 0, P 1p n) coordinate figure from memory module 11, obtain, also be known, therefore, for a Bezier that decomposition obtains, above-mentioned bezier curve equation will be an equation with one unknown quantity that variable is t, different according to the value of t, this equation with one unknown quantity is solved, can obtain the coordinate figure B (t) of a plurality of contour feature points.
The coordinate figure of all contour feature points of the d bar Bezier corresponding to " dragon " word that S603, Graphics Processing module 14 calculate according to Bezier computing module 13, shows " dragon " word.Can be that the corresponding pixel of a contour feature point shows.
Concrete, user can select to show " dragon " word of hollow out, the coordinate figure of all contour feature points corresponding to " dragon " word that Graphics Processing module 14 calculates according to Bezier computing module 13, directly shows " dragon " word; User also can select to show solid " old " word, the first contour feature point identical to ordinate value of Graphics Processing module 14, according to abscissa value order from small to large, match between two successively, to being made between two right contour feature points, fill again, finally " dragon " word after having filled is shown.Before showing or in procedure for displaying, user also can select hollow out or solid " dragon " word to carry out translation, inclination and/or zoom operations, as selected to carry out translation, Graphics Processing module 14 also needs the abscissa value of all contour feature points of " dragon " word, ordinate value to add respectively off-set value; As selected, Graphics Processing module 14 also needs the ordinate value of all contour feature points of " dragon " word to be multiplied by inclination factor, as tilt offset value, adds to its corresponding abscissa value; As selected to carry out convergent-divergent, Graphics Processing module 14 also needs the abscissa value of all contour feature points of " dragon " word, ordinate value to be multiplied by respectively corresponding zoom factor.
The present embodiment is according to a plurality of Beziers reference mark of default character to be shown, the profile of character to be shown is resolved into many Beziers, ask for the coordinate figure of a plurality of contour feature points that form each Bezier, according to the coordinate figure of all contour feature points corresponding to character to be shown, character to be shown is shown again.With respect to the character Display mode that adopts dot-matrix, the present invention only need to store the Bezier reference mark of default character to be shown, for the Bezier on n rank, only there is n+1 reference mark, therefore its storage space greatly reduces, meanwhile, and due to the distinctive geometric properties of Bezier, for convergent-divergent, translation, the inclination of character provides condition, can enrich the display effect of character.Further, the demonstration of vector outline word is at present all generally to adopt software operation, and character display speed is slower, and character display method provided by the invention, character display device and safety certification device can adopt hardware to realize, with less hardware resource, realize fast the demonstration of vector character.
The present invention also provides a kind of safety certification device, comprise character display device and security authentication module, security authentication module has been mainly used in safety certification work, carry the index of character to be shown to character display device simultaneously, character display device is mainly used according to a plurality of Beziers reference mark of default character to be shown, the coordinate figure that character to be shown is carried out to Bezier decomposition, contour feature point calculates, and finally character to be shown is shown.Concrete, security authentication module is used for carrying out safety certification, and the index of character to be shown is transferred to character display device, Bezier decomposing module in character display device, according to a plurality of Beziers reference mark of the default character to be shown of the index coupling of this character to be shown, resolves into many Beziers by the profile of described character to be shown; Bezier computing module in character display device, for according to the coordinate figure at bezier curve equation and Bezier reference mark, is asked for the coordinate figure of a plurality of contour feature points that form each Bezier; Graphics Processing module in character display device, for according to the coordinate figure of all contour feature points corresponding to described character to be shown, shows described character to be shown.This embodiment utilizes character display device to show the information in safety certification process, can realize convergent-divergent, translation, inclination, filling, painted, the hollow out texts of character, has enriched the character display effect in safety certification process.
Above content is in conjunction with concrete embodiment further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (15)

1. a character display method, is characterized in that, comprising:
According to a plurality of Beziers reference mark of default character to be shown, the profile of described character to be shown is resolved into many Beziers;
According to the coordinate figure at bezier curve equation and Bezier reference mark, obtain the coordinate figure of a plurality of contour feature points that form each Bezier;
According to the coordinate figure of all contour feature points corresponding to described character to be shown, described character to be shown is shown.
2. character display method as claimed in claim 1, it is characterized in that, according to a plurality of Beziers reference mark of default character to be shown, the method that the profile of described character to be shown is resolved into many Beziers is specially: the attribute information according to a plurality of Beziers reference mark of default character to be shown, resolves into many Beziers by the profile of described character to be shown; Described attribute information comprises: for representing the information of reference mark on Bezier and for representing the not information on Bezier of reference mark.
3. character display method as claimed in claim 2, it is characterized in that, if in continuous n+1 reference mark, the attribute information at head and the tail two reference mark is all illustrated on Bezier, the attribute information at n-1 middle reference mark all represents not on Bezier, according to a described n+1 reference mark, obtain the Bezier on n rank, wherein, n is more than or equal to 1 positive integer; If the n of the n rank Bezier obtaining is more than or equal to 3, the described n rank Bezier obtaining is decomposed into the Bezier on n-1 bar 2 rank.
4. character display method as claimed in claim 1, is characterized in that, bezier curve equation is B ( t ) = Σ i = 0 n n i P i ( 1 - t ) n - i t i , Wherein, the exponent number that n is Bezier, and n is more than or equal to 1 positive integer, P ifor the coordinate figure at i reference mark of corresponding exponent number Bezier, 0≤t≤1, B (t) is for forming the coordinate figure of the contour feature point of corresponding exponent number Bezier.
5. character display method as claimed in claim 1, it is characterized in that, according to the coordinate figure of all contour feature points corresponding to described character to be shown, the method that described character to be shown is shown is specially: according to the coordinate figure of all contour feature points corresponding to described character to be shown, directly described character to be shown is shown, or according to the coordinate figure of all contour feature points corresponding to described character to be shown, fill, after having filled, show again.
6. character display method as claimed in claim 5, it is characterized in that, according to the coordinate figure of all contour feature points corresponding to described character to be shown, the method of filling is specially: the contour feature point identical to ordinate value, according to abscissa value order from small to large, match between two successively, to being made between two right contour feature points, fill.
7. the character display method as described in claim 5 or 6, it is characterized in that, according to the coordinate figure of all contour feature points corresponding to described character to be shown, before described character to be shown is shown, if need to carry out translation to described character to be shown, the abscissa value of all contour feature points of described character to be shown, ordinate value be added respectively to off-set value; If need to described character to be shown be tilted, the ordinate value of all contour feature points of described character to be shown is multiplied by inclination factor, as tilt offset value, add to its corresponding abscissa value; If need to carry out convergent-divergent to described character to be shown, the abscissa value of all contour feature points of described character to be shown, ordinate value are multiplied by respectively to corresponding zoom factor.
8. a character display device, is characterized in that, comprises Bezier decomposing module, Bezier computing module and Graphics Processing module, wherein,
Described Bezier decomposing module, for according to a plurality of Beziers reference mark of default character to be shown, resolves into many Beziers by the profile of described character to be shown;
Described Bezier computing module, for according to the coordinate figure at bezier curve equation and Bezier reference mark, is asked for the coordinate figure of a plurality of contour feature points that form each Bezier;
Described Graphics Processing module, for according to the coordinate figure of all contour feature points corresponding to described character to be shown, shows described character to be shown.
9. character display device as claimed in claim 8, is characterized in that, also comprises memory module, a plurality of Beziers reference mark of described memory module for storing described default character to be shown.
10. character display device as claimed in claim 9, is characterized in that, described memory module is for storing attribute information and the coordinate figure at a plurality of Beziers reference mark of described default character to be shown; The described attribute information of described Bezier decomposing module for storing according to described memory module, the profile of described character to be shown is resolved into many Beziers, and wherein said attribute information comprises: for representing the information of reference mark on Bezier and for representing the not information on Bezier of reference mark; Described Bezier computing module, for the coordinate figure at the Bezier reference mark of storing according to bezier curve equation and described memory module, is asked for the coordinate figure of a plurality of contour feature points that form each Bezier.
11. character display devices as claimed in claim 10, it is characterized in that, described memory module, for storing default TrueType character repertoire, is preserved attribute information and the coordinate figure at a plurality of Beziers reference mark of conventional characters in described TrueType character repertoire.
12. character display devices as claimed in claim 8, is characterized in that, described Graphics Processing module comprises display sub-module, for according to the coordinate figure of all contour feature points corresponding to described character to be shown, directly described character to be shown are shown; Or described Graphics Processing module comprises fills processing module and display sub-module, described filling processing module is for filling according to the coordinate figure of all contour feature points corresponding to described character to be shown, described display sub-module, shows for the character to be shown to after having filled.
13. character display devices as claimed in claim 12, it is characterized in that, described filling processing module comprises pairing submodule and filling submodule, and described pairing submodule is for the contour feature point identical to ordinate value, according to abscissa value order from small to large, match between two successively; Described filling submodule is for filling being made between two right contour feature points.
14. character display devices as described in claim 12 or 13, it is characterized in that, described Graphics Processing module also comprises translation processing module, inclination processing module and/or convergent-divergent processing module, and described translation processing module is for adding respectively off-set value by the abscissa value of all contour feature points of described character to be shown, ordinate value; Described inclination processing module, for the ordinate value of all contour feature points of described character to be shown is multiplied by inclination factor, adds to its corresponding abscissa value as tilt offset value; Described convergent-divergent processing module is for being multiplied by respectively corresponding zoom factor by the abscissa value of all contour feature points of described character to be shown, ordinate value.
15. 1 kinds of safety certification devices, is characterized in that, comprise the character display device as described in claim 8 to 14 any one, also comprise security authentication module; Described security authentication module is used for carrying out safety certification, and the index of character to be shown is transferred to described character display device.
CN201210268421.3A 2012-07-31 2012-07-31 A kind of character display method, character display device and safety certification device Active CN103578450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210268421.3A CN103578450B (en) 2012-07-31 2012-07-31 A kind of character display method, character display device and safety certification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210268421.3A CN103578450B (en) 2012-07-31 2012-07-31 A kind of character display method, character display device and safety certification device

Publications (2)

Publication Number Publication Date
CN103578450A true CN103578450A (en) 2014-02-12
CN103578450B CN103578450B (en) 2016-02-03

Family

ID=50050109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210268421.3A Active CN103578450B (en) 2012-07-31 2012-07-31 A kind of character display method, character display device and safety certification device

Country Status (1)

Country Link
CN (1) CN103578450B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818544A (en) * 2016-09-12 2018-03-20 北京大学 A kind of character scale method
CN108304356A (en) * 2018-01-30 2018-07-20 深圳市茁壮网络股份有限公司 A kind of character display method and device
CN111402366A (en) * 2020-03-18 2020-07-10 北京奇艺世纪科技有限公司 Character rendering method and device, electronic equipment and storage medium
CN111460761A (en) * 2020-03-20 2020-07-28 稿定(厦门)科技有限公司 Character deformation method, medium, equipment and device
CN112927119A (en) * 2019-12-06 2021-06-08 富士施乐实业发展(中国)有限公司 Anti-theft information embedding method and using method of TrueType font library

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1062800A (en) * 1990-12-29 1992-07-15 株式会社日立制作所 Produce the method and apparatus of character pattern data
JPH04290181A (en) * 1991-03-19 1992-10-14 Alps Electric Co Ltd Coordinate data regenerating method for curve
CN1118471A (en) * 1994-08-17 1996-03-13 普林特罗尼克斯股份有限公司 Bit map character convertor
JPH11143450A (en) * 1997-11-05 1999-05-28 Canon Inc Character generating method, character generating device and recording medium
JP2007322550A (en) * 2006-05-30 2007-12-13 Takashi Nishikawa Character display device, character display method, and computer program for character display
CN101415079A (en) * 2008-11-04 2009-04-22 新奥特(北京)视频技术有限公司 Method for transforming subtitling object into Bessel curve
CN101540054A (en) * 2008-03-21 2009-09-23 联发科技股份有限公司 Character rendering system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1062800A (en) * 1990-12-29 1992-07-15 株式会社日立制作所 Produce the method and apparatus of character pattern data
JPH04290181A (en) * 1991-03-19 1992-10-14 Alps Electric Co Ltd Coordinate data regenerating method for curve
CN1118471A (en) * 1994-08-17 1996-03-13 普林特罗尼克斯股份有限公司 Bit map character convertor
JPH11143450A (en) * 1997-11-05 1999-05-28 Canon Inc Character generating method, character generating device and recording medium
JP2007322550A (en) * 2006-05-30 2007-12-13 Takashi Nishikawa Character display device, character display method, and computer program for character display
CN101540054A (en) * 2008-03-21 2009-09-23 联发科技股份有限公司 Character rendering system
CN101415079A (en) * 2008-11-04 2009-04-22 新奥特(北京)视频技术有限公司 Method for transforming subtitling object into Bessel curve

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818544A (en) * 2016-09-12 2018-03-20 北京大学 A kind of character scale method
CN107818544B (en) * 2016-09-12 2020-05-05 北京大学 Character scaling method
CN108304356A (en) * 2018-01-30 2018-07-20 深圳市茁壮网络股份有限公司 A kind of character display method and device
CN108304356B (en) * 2018-01-30 2021-02-09 深圳市茁壮网络股份有限公司 Character display method and device
CN112927119A (en) * 2019-12-06 2021-06-08 富士施乐实业发展(中国)有限公司 Anti-theft information embedding method and using method of TrueType font library
CN112927119B (en) * 2019-12-06 2024-02-09 富士施乐实业发展(中国)有限公司 Antitheft information embedding method and use method of TrueType word stock
CN111402366A (en) * 2020-03-18 2020-07-10 北京奇艺世纪科技有限公司 Character rendering method and device, electronic equipment and storage medium
CN111460761A (en) * 2020-03-20 2020-07-28 稿定(厦门)科技有限公司 Character deformation method, medium, equipment and device
CN111460761B (en) * 2020-03-20 2022-07-01 稿定(厦门)科技有限公司 Character deformation method, medium, equipment and device

Also Published As

Publication number Publication date
CN103578450B (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN103578450B (en) A kind of character display method, character display device and safety certification device
US9230350B2 (en) Method and apparatus for interactive curve generation
JP3802102B2 (en) How to configure a scalable font database
CN112074806A (en) Block floating point computations using reduced bit width vectors
CN117113969A (en) Machine understanding of unstructured text
JP2007011392A (en) Method and apparatus for storing and retrieving font data
US7437384B2 (en) Revivifivation display method for outline fonts based on stroke centerlines technology
CN113378552B (en) Commodity title generation method based on multi-mode GPT2 model
CN101692254B (en) Method and device for displaying multi-Unicode language character codes
CN109815452A (en) Text comparative approach, device, storage medium and electronic equipment
US7453463B2 (en) Enlargement of font characters
CN108763188A (en) A kind of text display method, device, equipment and storage medium
JP2003044035A (en) Irreversible compression and storage method for font
CN106126140A (en) Method and device for rendering characters and electronic equipment
CN104063359B (en) Implementation method for personalized Chinese character word library
JPH0916146A (en) Character and symbol pattern generating device
US9081529B1 (en) Generation of electronic books
CN103489268B (en) A kind of Arabic display packing for POS platform
CN101957837B (en) Method for accessing stroke vector font
CN106920268A (en) It is a kind of that 2 points of methods of dynamic line are realized based on SVG
JPS60202476A (en) Character font generation system
CN103152059A (en) Device and method of generating of constant coefficient matrix of radio sonde (RS) of consultative committee for space data system (CCSDS)
CN103309878A (en) Method and device used for layout in webpage displaying
CN112256175A (en) Character display method and device, electronic equipment and computer readable storage medium
CN111859939A (en) Text matching method and system and computer equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant