CN100555359C - A kind of vector font that utilizes realizes that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red - Google Patents

A kind of vector font that utilizes realizes that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red Download PDF

Info

Publication number
CN100555359C
CN100555359C CNB2007100172224A CN200710017222A CN100555359C CN 100555359 C CN100555359 C CN 100555359C CN B2007100172224 A CNB2007100172224 A CN B2007100172224A CN 200710017222 A CN200710017222 A CN 200710017222A CN 100555359 C CN100555359 C CN 100555359C
Authority
CN
China
Prior art keywords
data point
stepping
font
point
data
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.)
Expired - Fee Related
Application number
CNB2007100172224A
Other languages
Chinese (zh)
Other versions
CN101000722A (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.)
Inventec Besta Xian Co Ltd
Original Assignee
Inventec Besta Xian 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 Inventec Besta Xian Co Ltd filed Critical Inventec Besta Xian Co Ltd
Priority to CNB2007100172224A priority Critical patent/CN100555359C/en
Publication of CN101000722A publication Critical patent/CN101000722A/en
Application granted granted Critical
Publication of CN100555359C publication Critical patent/CN100555359C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a kind of vector font that utilizes and realize that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red.This method has following steps: 1, font is converted to vector font, its each stroke is one to discharge curve; 2, the unique point on the extracted vector curve; 3, unique point is converted into data point; 4, its data point is rearranged in the direction of the clock, the starting point of choosing stroke is as first data point to discharge curve, with animation speed along unit length amount of stepping respectively clockwise and counterclockwise; 5, constitute a polygon by data point, fill and demonstration; When 6, the clockwise direction stepping crossed with stepping counterclockwise, current stroke was completed.The present invention can not destroy under the situation of raw data in the size of data that does not increase the original vector font yet, makes a cover vector font both can be used for font and shows, can be used for the dynamic demonstration of Chinese-character writing yet and learns to write by tracing over characters printed in red.

Description

A kind of vector font that utilizes realizes that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red
Technical field
The present invention relates to a kind of vector font that utilizes and realize that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red.
Background technology
The Chinese-character writing that uses is demonstrated and is learnt to write by tracing over characters printed in red at present, mostly realize by the cartoon making instrument, by showing a complete word and corresponding phonetic, the word that allows children see to provide goes to write, be difficult to allow the correct ways of writing of the word that children can know easily under the state of understanding, and this kind mode of learning is uninteresting unusually, also is difficult to cause children's learning interest.
Summary of the invention
The present invention is for solving the above-mentioned technical matters that exists in the background technology, and provide a kind of vector font that utilizes to realize the Chinese-character writing dynamic demonstration and learn to write by tracing over characters printed in red, Chinese character is demonstrated and write the vector font that utilizes that is integrated in one and realize that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red.
Technical solution of the present invention is: the present invention realizes that for a kind of vector font that utilizes Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red, and its special character is: this method may further comprise the steps:
1) font is converted to vector font, each stroke of vector font is one to discharge curve;
2) distinguish on the extracted vector curve and the unique point of vectorial extra curvature;
3) unique point on discharge curve is converted into data point, the unique point of vectorial extra curvature is converted into data point according to the Bei Saier curve;
4) the drafting direction to discharge curve is consistent with the stroke presentation direction, the character font data point of subtend discharge curve rearranges in the direction of the clock, the starting point of choosing stroke is as first data point to discharge curve, with animation speed C is render speed, along a clockwise and unit length amount of counter clockwise direction difference stepping D, wherein unit length amount D is directly proportional with the font size size F of font, and C is inversely proportional to animation speed, i.e. D=F/C;
5) in the stepping process of drawing, if the distance between two data points then directly moves to next data point less than unit length amount D; If the distance between two data points is then carried out interpolation greater than unit length amount D between two raw data points, obtain a computational data point, move to next data point by this computational data point;
6) constitute a polygon by these data points, fill this polygon, show then;
7) continue stepping and draw, when the clockwise direction stepping crossed with stepping counterclockwise, then current stroke was completed.
Above-mentioned steps 5) in the process of stroke dynamic drafting, when occurring turning round in the stepping process, on the data point of the Internal and external cycle of corner, add the synchronous points zone bit, utilize the most significant digit of data point to do the synchronous points zone bit, as long as in the dynamic drafting stepping, there is a directional data point discovery that the synchronous points zone bit is arranged, then other direction is inevitable also has a data point to have synchronous points zone bit correspondence with it, at this moment, the stepping that runs into the synchronous points zone bit earlier just enters waiting status, after the other direction stepping also runs into the synchronous points zone bit, the data point of both direction then continues stepping together, proceeds to step 6).
The present invention utilizes vector font to realize that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red, mainly be on analysis foundation to vectorial character font data, by character font data being adjusted the setting with zone bit, realize the Chinese-character writing demonstration can be level and smooth, that comply with the style of brushwork and the method for learning to write by tracing over characters printed in red, therefore, the present invention can be in the size of data that does not increase the original vector font, do not destroy under the situation of raw data yet, make a cover vector font both can be used for font and show, also can be used for the dynamic demonstration of Chinese-character writing and learn to write by tracing over characters printed in red.
Description of drawings
Fig. 1-5 is the demonstration synoptic diagram of the specific embodiment of the invention.
Embodiment
In vector font, a Chinese character constitutes to discharge curve by many, a stroke to discharge curve formation Chinese character, and the demonstration of a Chinese character stroke is exactly a demonstration to discharge curve, therefore to realize the demonstration of the tight cunning of Chinese character, just must analyzing to single to discharge curve.
The present invention specifically may further comprise the steps:
1) font is converted to vector font, each stroke of vector font is one to discharge curve;
2) distinguish on the extracted vector curve and the unique point of vectorial extra curvature;
3) unique point on discharge curve is converted into data point, the unique point of vectorial extra curvature is converted into data point according to the Bei Saier curve;
4) the drafting direction to discharge curve is consistent with the stroke presentation direction, the character font data point of subtend discharge curve rearranges in the direction of the clock, the starting point of choosing stroke is as first data point to discharge curve, with animation speed C is render speed, along a clockwise and unit length amount of counter clockwise direction difference stepping D, wherein unit length amount D is directly proportional with the font size size F of font, and C is inversely proportional to animation speed, i.e. D=F/C;
5) in the stepping process of drawing, if the distance between two data points then directly moves to next data point less than unit length amount D; If the distance between two data points is then carried out interpolation greater than unit length amount D between two raw data points, obtain a computational data point, move to next data point by this computational data point;
6) constitute a polygon by these data points, fill this polygon, show then;
7) continue stepping and draw, when the clockwise direction stepping crossed with stepping counterclockwise, then current stroke was completed.
Wherein in the step 5) in the process of stroke dynamic drafting, when occurring turning round in the stepping process, on the data point of the Internal and external cycle of corner, add the synchronous points zone bit, utilize the most significant digit of data point to do the synchronous points zone bit, as long as in the dynamic drafting stepping, there is a directional data point discovery that the synchronous points zone bit is arranged, then other direction is inevitable also has a data point to have synchronous points zone bit correspondence with it, at this moment, the stepping that runs into the synchronous points zone bit earlier just enters waiting status, after the other direction stepping also runs into the synchronous points zone bit, the data point of both direction then continues stepping together, proceeds to step 6).
Below in conjunction with specific embodiment the present invention is described in further detail:
Referring to Fig. 1, be example with " forever " second, it constitutes as shown in the figure to discharge curve:
KEY_POINT: the unique point on discharge curve can be converted into data point.
CONTROL_POINT: the unique point of vectorial extra curvature, it can only appear between two KEY_POINT, and it can control curve, makes the more level and smooth of curve performance, in curve plotting, CONTROL_POINT can be converted into data point according to Bei Saier (Bezier) curve equation.
Referring to Fig. 2, stroke in the Chinese character all has the direction of writing, therefore want the character font data of subtend discharge curve to put in the direction of the clock and rearrange, and to make first KEY_POINT be the starting point of stroke, make presentation direction just consistent like this with drafting direction to discharge curve.When stroke is write dynamic demonstration, to the drafting of discharge curve from FIRST_KEYPOINT, respectively along a clockwise and unit length amount of stepping counterclockwise distance, the font size size of the size of distance and font is in direct ratio, be inversely proportional to animation speed, distance=FontSize/CartoonSpeed is determining font size like this, after adjusting animation speed, distance promptly can obtain.
Referring to Fig. 3, in the stepping process of drawing, if the distance between two data points then directly moves to next data point less than unit length amount distance; If the distance between two data points is then carried out interpolation greater than distance between two raw data points, obtain a calculation level as the computational data point, move to next data point by this computational data point; Constitute a polygon by these stepping points then, fill this polygon.
Referring to Fig. 4, in the process of stroke dynamic drafting, turn round if occur in the stepping, at this moment also keep identical stepping with advancing counterclockwise clockwise, the nonsynchronous phenomenon of figure is drawn out in the back of then turning round, so for guarantee after turning round can data sync, need add the synchronous points zone bit on the Internal and external cycle KEY_POINT of corner, can utilize the most significant digit of KEY_PONT data point to do the synchronous points zone bit, coordinate the stepping of Internal and external cycle.As long as there is a direction KEY_PONT to find to have the synchronous points zone bit like this in the dynamic drafting stepping, then other direction is inevitable also has a KEY_PONT to have synchronous points zone bit correspondence with it.Therefore the stepping that runs into the synchronous points zone bit earlier just can enter waiting status, and after the other direction stepping also ran into the synchronous points zone bit, the data point of both direction just continued stepping together.
Referring to Fig. 5, in the process that stepping is drawn, if the clockwise direction stepping crosses with stepping counterclockwise, then current stroke is completed.
Repeat above-mentioned steps, just can finish the dynamic electronics that reaches of writing of " forever " other strokes and learn to write by tracing over characters printed in red.

Claims (2)

1, a kind of vector font that utilizes realizes that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red, and it is characterized in that: this method may further comprise the steps:
1) font is converted to vector font, each stroke of vector font is one to discharge curve;
2) distinguish on the extracted vector curve and the unique point of vectorial extra curvature;
3) unique point on discharge curve is converted into data point, the unique point of vectorial extra curvature is converted into data point according to the Bei Saier curve;
4) the drafting direction to discharge curve is consistent with the stroke presentation direction, the character font data point of subtend discharge curve rearranges in the direction of the clock, the starting point of choosing stroke is as first data point to discharge curve, with animation speed C is render speed, along a clockwise and unit length amount of counter clockwise direction difference stepping D, wherein unit length amount D is directly proportional with the font size size F of font, and C is inversely proportional to animation speed, i.e. D=F/C;
5) in the stepping process of drawing, if the distance between two data points then directly moves to next data point less than unit length amount D; If the distance between two data points is then carried out interpolation greater than unit length amount D between two raw data points, obtain a computational data point, move to next data point by this computational data point;
6) constitute a polygon by these data points, fill this polygon, show then;
7) continue stepping and draw, when the clockwise direction stepping crossed with stepping counterclockwise, then current stroke was completed.
2, the vector font that utilizes according to claim 1 realizes that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red, it is characterized in that: in the described step 5) in the process of stroke dynamic drafting, when occurring turning round in the stepping process, on the data point of the Internal and external cycle of corner, add the synchronous points zone bit, utilize the most significant digit of data point to do the synchronous points zone bit, as long as in the dynamic drafting stepping, there is a directional data point discovery that the synchronous points zone bit is arranged, then other direction is inevitable also has a data point to have synchronous points zone bit correspondence with it, at this moment, the stepping that runs into the synchronous points zone bit earlier just enters waiting status, after the other direction stepping also runs into the synchronous points zone bit, the data point of both direction then continues stepping together, proceeds to step 6).
CNB2007100172224A 2007-01-11 2007-01-11 A kind of vector font that utilizes realizes that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red Expired - Fee Related CN100555359C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100172224A CN100555359C (en) 2007-01-11 2007-01-11 A kind of vector font that utilizes realizes that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100172224A CN100555359C (en) 2007-01-11 2007-01-11 A kind of vector font that utilizes realizes that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red

Publications (2)

Publication Number Publication Date
CN101000722A CN101000722A (en) 2007-07-18
CN100555359C true CN100555359C (en) 2009-10-28

Family

ID=38692676

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100172224A Expired - Fee Related CN100555359C (en) 2007-01-11 2007-01-11 A kind of vector font that utilizes realizes that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red

Country Status (1)

Country Link
CN (1) CN100555359C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184652A (en) * 2011-06-01 2011-09-14 张建强 Digitization method and software system capable of demonstrating word writing process
CN104821005B (en) * 2015-05-12 2017-10-10 南京师范大学 The method that the Chinese character calligraphy works writing process of style of brushwork style dynamically reappears can be simulated
CN105425979B (en) * 2015-10-30 2018-01-23 河南理工大学 The implementation method that robot humanoid writes
CN111583753B (en) * 2020-05-07 2022-01-04 天津洪恩完美未来教育科技有限公司 Writing learning implementation method and device, storage medium and computing equipment

Also Published As

Publication number Publication date
CN101000722A (en) 2007-07-18

Similar Documents

Publication Publication Date Title
CN101630311B (en) Method and device for displaying characters
CN100555359C (en) A kind of vector font that utilizes realizes that Chinese-character writing dynamically reaches the method that electronics is learnt to write by tracing over characters printed in red
CN101963954A (en) Method and device for displaying words
CN104063359B (en) Implementation method for personalized Chinese character word library
CN102023716A (en) 26, 27, 29 or 30 letter key element-containing numeric key Chinese input method
CN102929394A (en) Braille input method based on gesture recognition
CN107438194A (en) A kind of intelligent television UI object rendering methods and intelligent television
CN103616960A (en) Six vowel binary syllabification input method
CN102830809B (en) Encode method for entering Chinese characters
CN103489268B (en) A kind of Arabic display packing for POS platform
CN103942819A (en) Method and device for drawing geologic symbols
CN102750009B (en) A kind of without switching input method of Chinese character and keyboard
CN105912139B (en) Method for correspondingly recognizing modular stroke coding Chinese characters
CN101739936B (en) Chinese character display method
CN103207684A (en) Phonemic letter double-input method
CN1510554B (en) Embedded applied Chinese character inputting method
CN100561469C (en) Create and use the method and system of Chinese language data and user-corrected data
TWI310522B (en) Method for generating characters
CN103049096A (en) Method for achieving random coding of words, terms and sentences by displacing word code list of three kinds of Chinese character messages
CN102023717A (en) Three-five initial-subsequent phonetic code and keyboard thereof
CN103279202A (en) Standard holographic Chinese character input method conforming to teaching use and system of input method
CN102566775A (en) Input method and system for generating character interval
CN201465102U (en) Chinese character learning system
CN104765473A (en) Optimized spelling code input method
CN109637205A (en) A kind of Chinese character learning system and method

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091028

Termination date: 20140111