CN112818145A - Intelligent font style rendering system - Google Patents

Intelligent font style rendering system Download PDF

Info

Publication number
CN112818145A
CN112818145A CN202110071096.0A CN202110071096A CN112818145A CN 112818145 A CN112818145 A CN 112818145A CN 202110071096 A CN202110071096 A CN 202110071096A CN 112818145 A CN112818145 A CN 112818145A
Authority
CN
China
Prior art keywords
font
rendering
data
style
input
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
CN202110071096.0A
Other languages
Chinese (zh)
Other versions
CN112818145B (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.)
Shanghai Yiqi Information Technology Co ltd
Original Assignee
Shanghai Yiqi Information Technology 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 Shanghai Yiqi Information Technology Co ltd filed Critical Shanghai Yiqi Information Technology Co ltd
Priority to CN202110071096.0A priority Critical patent/CN112818145B/en
Publication of CN112818145A publication Critical patent/CN112818145A/en
Application granted granted Critical
Publication of CN112818145B publication Critical patent/CN112818145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Abstract

The invention relates to the field of intelligent systems and the integration of intelligent rendering and Chinese character writing, in particular to an intelligent font style rendering system, which comprises: the system comprises a data entry base, a font style database, a font rendering module and a font display module. The intelligent font style rendering system provided by the invention can record personal writing habits and writing fonts, generate rendering styles with personal writing characteristics and store the rendering styles in the font style database, and is convenient to call during font rendering, and simultaneously, the stroke style matched with input font data can be obtained through rendering, so that a user can compare input handwritten fonts with rendered fonts conveniently, thereby better improving the fonts per se, and a font correction module is used for complementing the fonts with incomplete font strokes so as to obtain correct fonts.

Description

Intelligent font style rendering system
Technical Field
The invention relates to the field of intelligent systems and integration of intelligent rendering and Chinese character writing, in particular to an intelligent font style rendering system.
Background
With the rapid development of electronic technology, the traditional paper pen writing is gradually replaced by keyboard input, and in daily life, people are used to the keyboard typing mode, so that the handwriting times become less and less. The method not only makes people lose the inheritance of traditional book culture, but also influences the appearance of a person when information is exchanged. However, in a fast-paced life style, people cannot develop a long-term calligraphy practice habit, and therefore, a system applied to style rendering of handwritten fonts is urgently needed to be provided, and the handwritten fonts of writers are used as a framework, and then different styles of strokes are rendered on the basis, or the styles of input handwritten fonts are rendered to be closer to the style of a calligraphy court in the past generation, so that the writers can compare the handwritten fonts with the rendered fonts, and the improvement of the fonts per se is better realized.
Disclosure of Invention
To solve some problems in the prior art, the present invention provides an intelligent font style rendering system, comprising:
the data entry and storage device is used for inputting font data and transmitting the font data to the font rendering module;
the font style database stores the font style in the word and can transmit the font style selected by the user to the font rendering module;
the font rendering module renders the input font data according to the font style selected by the user to obtain a rendered font and displays the rendered font in the font display module;
and the font display module is used for displaying the fonts in three different stages, namely a data entry and storage stage, a font style database and a font rendering module.
As a preferable aspect of the present invention, the input font data includes a handwriting font and a recognition picture font.
As a preferred scheme of the present invention, the font rendering module comprises a personalized font rendering module, which generates a rendering style with personal writing characteristics by recording personal writing habits and writing fonts; the font adjusting module is used for adjusting the size, thickness, italics and rotation direction of input font data; the conventional rendering module is used for rendering the input font data; and the stroke edge rendering module is used for correcting the structure of the input font data and simultaneously performing stroke edge rendering on the input font data.
As a preferred scheme of the present invention, the personalized font rendering module classifies input handwritten fonts according to stroke characteristics by recording personal writing habits and writing fonts, obtains the classified stroke characteristics for data matching training, and performs personalized rendering style fitting on the trained data to obtain a complete font structure and generate a font structure having personal writing characteristics.
As a preferable scheme of the invention, the stroke characteristics comprise point, horizontal, vertical, left falling, right falling, lifting, left falling, vertical lifting, horizontal bending lifting, hook, vertical hook, oblique hook and horizontal hook.
As a preferred scheme of the present invention, the font structure having the personal writing feature may be stored in a font style database, which facilitates the invocation during font rendering.
As a preferred solution of the present invention, the stroke edge rendering module includes a font modification module, configured to modify a font structure of input font data; and the stroke edge optimization module is used for performing stroke edge rendering on the input font data.
As a preferred scheme of the present invention, the font style correction module splits the font structure of the input font data according to the stroke characteristics, and performs interpolation correction on the stroke characteristics of each part of the split font by using cubic spline interpolation.
As a preferred scheme of the present invention, the stroke edge optimization module splits a font structure of input font data into different categories according to stroke characteristics, introduces the stroke characteristics of the different categories into the font rendering module, and obtains a stroke edge style matched with a font style selected by a user through data classification training.
As a preferred scheme of the present invention, when inputting font data, the data entry library reserves the characters of the fonts in the font file by sequencing and de-duplicating, so as to reduce the input data volume during batch input.
Compared with the prior art, the invention has the following beneficial effects:
(1) the personalized font rendering module can record personal writing habits and writing font types, and stores the generated rendering style with the personal writing characteristics in the font style database, so that the font rendering can be conveniently called, re-rendering is not needed when a user needs to use, and the time for rendering the font by the user is saved.
(2) The font correction module splits the font structure according to the stroke characteristics, and interpolates and corrects the stroke characteristics of each part of the split font by cubic spline interpolation, so that fonts with incomplete structures can be completed, and correct fonts can be obtained.
(3) The stroke style optimization module takes input handwritten fonts or identification picture fonts as a framework, and obtains the stroke style matched with input font data through rendering. The user can compare the input handwritten font with the rendered font conveniently, and the font of the user can be improved better.
(4) When the data is input in the data recording and warehousing, the characters of the fonts in the font file are reserved by sequencing and de-duplication, so that the data volume input in batch input is reduced, and the efficiency of batch font input is improved.
Description of the drawings:
FIG. 1 is a schematic flow diagram of an intelligent font style rendering system according to the present invention;
FIG. 2 is a schematic diagram of a font rendering module according to the present invention;
fig. 3 is a schematic diagram of a personalized font rendering module according to the present invention.
FIG. 4 is a schematic diagram of the database entry module of the present invention.
Detailed Description
The invention provides an intelligent font style rendering system, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the smart font style rendering system includes:
the data entry and storage device is used for inputting font data and transmitting the font data to the font rendering module;
the font style database stores the font style in the word and can transmit the font style selected by the user to the font rendering module;
the font rendering module renders the input font data according to the font style selected by the user to obtain a rendered font and displays the rendered font in the font display module;
and the font display module is used for displaying the fonts in three different stages, namely a data entry and storage stage, a font style database and a font rendering module.
The input font data of the invention comprises a handwritten font and an identification picture font.
The font rendering module comprises an individualized font rendering module, and a rendering style with the characteristic of personal writing is generated by recording the personal writing habit and the writing font; the font adjusting module is used for adjusting the size, thickness, italics and rotation direction of input font data; the conventional rendering module is used for rendering the input font data; and the stroke edge rendering module is used for correcting the structure of the input font data and simultaneously performing stroke edge rendering on the input font data.
In one embodiment, the conventional rendering module includes several rendering modes, such as horizontal gradient, shadow, linear gradient, projection, outline character, radial gradient, dither, metal, and Moshajin. Meanwhile, the traditional Chinese medicine comprises Fuxi Wang, Yanzhenqing, Huanyuan, Sudongpo, Huang court Jiang, rice lung, dynabell, willow public right, and the styles of the modern sand bang, Liu \22665659, Wang dynasty, Qigong and Liu Hupu calligraphy people.
The personalized font rendering module classifies input handwritten fonts according to stroke characteristics by recording personal writing habits and writing fonts to obtain classified stroke characteristics for data matching training, and performs personalized rendering style fitting on the trained data to obtain a complete font structure and generate a font structure with personal writing characteristics.
The stroke features of the present invention include point, horizontal, vertical, left falling, right falling, lifting, left falling, vertical lifting, horizontal bending, hook, vertical hook, inclined hook and horizontal hook.
The font structure with the personal writing characteristic can be stored in a font style database, and is convenient to call during font rendering.
The stroke edge rendering module comprises a font correction module, a font processing module and a stroke edge rendering module, wherein the font correction module is used for correcting a font structure of input font data; and the stroke edge optimization module is used for performing stroke edge rendering on the input font data.
The font correction module splits the font structure of the input font data according to the stroke characteristics, and interpolates and corrects the stroke characteristics of each part of the split font by cubic spline interpolation.
In an embodiment, the cubic spline interpolation is specifically implemented by splitting a font structure according to stroke characteristics, taking two end points of each split stroke, dividing the two end points into n sections, constructing a curve of each small section into a cubic spline function, and solving the cubic spline function to find out interpolation points missing in each stroke characteristic, obtain complete stroke line segments, and can complete fonts with incomplete stroke characteristics of the font, so as to obtain correct fonts.
The stroke edge optimization module divides the font structure of the input font data into different categories according to stroke characteristics, introduces the stroke characteristics of the different categories after division into the font rendering module, and obtains the stroke edge style matched with the input font data through data classification training.
In one embodiment, the stroke edge optimization module splits the font structure of the input font data into different categories according to the stroke features, introduces the stroke features of the different categories after splitting into the font rendering module, and obtains the stroke edge style matched with the font style selected by the user through data classification training.
When the data is input in the data entry and storage, the data volume input in batch input is reduced by sequencing, removing duplication and reserving characters of fonts in the font file.
In summary, the present invention provides an intelligent font style rendering system, which inputs a handwritten font or an identified picture font as input font data through a data entry bank, transmits the input font data to a font rendering module, and transmits a selected font style to the font rendering module through a font style database, and renders the input font data through the font rendering module, wherein a personalized font rendering module is used to generate a rendering style with personal writing characteristics and stores the rendering style in the font style database, and a stroke front optimization module and a stroke front modification module are used to implement stroke front rendering of different styles of input font data, and implement correction of an incomplete font structure, and simultaneously display the font in a font display module.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may be made by those skilled in the art, and all such equivalents and modifications should fall within the scope of the appended claims.

Claims (10)

1. An intelligent font style rendering system, comprising:
the data entry and storage device is used for inputting font data and transmitting the font data to the font rendering module;
the font style database stores the font style in the word and can transmit the font style selected by the user to the font rendering module;
the font rendering module renders the input font data according to the font style selected by the user to obtain a rendered font and displays the rendered font in the font display module;
and the font display module is used for displaying the fonts in three different stages, namely a data entry and storage stage, a font style database and a font rendering module.
2. The intelligent font style rendering system of claim 1 wherein the input font data includes handwriting fonts and recognition picture fonts.
3. The intelligent font style rendering system of claim 1, wherein the font rendering module comprises a personalized font rendering module that generates a rendering style having personal writing characteristics by recording personal writing habits and writing glyphs; the font adjusting module is used for adjusting the size, thickness, italics and rotation direction of input font data; the conventional rendering module is used for rendering the input font data; and the stroke edge rendering module is used for correcting the structure of the input font data and simultaneously performing stroke edge rendering on the input font data.
4. The system of claim 3, wherein the personalized font rendering module classifies input handwritten fonts according to stroke characteristics by recording individual writing habits and writing fonts, obtains the classified stroke characteristics for data matching training, and performs personalized rendering style fitting on the trained data to obtain a complete font structure and generate a font structure with individual writing characteristics.
5. The system of claim 4, wherein the stroke characteristics include point, horizontal, vertical, left-falling, right-falling, left-falling, vertical, horizontal, hook, vertical hook, diagonal hook, and horizontal hook.
6. The system for intelligent font style rendering according to claim 4, wherein the font structure with personal writing features is storable in a font style database and facilitates the font rendering invocation.
7. The system according to claim 3, wherein the stroke front rendering module comprises a font modification module for modifying a font structure of the input font data; and the stroke edge optimization module is used for performing stroke edge rendering on the input font data.
8. The system of claim 7, wherein the font modification module splits the font structure of the input font data according to stroke characteristics and interpolates and modifies the stroke characteristics of each part of the split font using cubic spline interpolation.
9. The system of claim 7, wherein the stroke edge optimization module splits a font structure of input font data into different categories according to stroke characteristics, guides the split stroke characteristics of the different categories into the font rendering module, and obtains a stroke edge style matched with a font style selected by a user through data classification training.
10. The system of claim 2, wherein when inputting font data, the data entry library reduces the amount of data input in batch input by sorting and de-duplicating characters of the font in the reserved font file.
CN202110071096.0A 2021-01-19 2021-01-19 Intelligent font style rendering system Active CN112818145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110071096.0A CN112818145B (en) 2021-01-19 2021-01-19 Intelligent font style rendering system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110071096.0A CN112818145B (en) 2021-01-19 2021-01-19 Intelligent font style rendering system

Publications (2)

Publication Number Publication Date
CN112818145A true CN112818145A (en) 2021-05-18
CN112818145B CN112818145B (en) 2022-09-09

Family

ID=75870133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110071096.0A Active CN112818145B (en) 2021-01-19 2021-01-19 Intelligent font style rendering system

Country Status (1)

Country Link
CN (1) CN112818145B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699518A (en) * 2009-10-30 2010-04-28 华南理工大学 Method for beautifying handwritten Chinese character based on trajectory analysis
CN101699516A (en) * 2009-10-30 2010-04-28 华南理工大学 Stroke rendering method for beautifying hand-written Chinese characters
CN103176955A (en) * 2013-01-03 2013-06-26 陈灿华 System and method for displaying Chinese character webpage scripts
CN103488339A (en) * 2013-09-09 2014-01-01 北京大学 Method for generating individualized digital ink of Chinese characters
CN105677646A (en) * 2014-11-17 2016-06-15 北京大学 Word stock generation method and system, and server
CN106384094A (en) * 2016-09-18 2017-02-08 北京大学 Chinese word stock automatic generation method based on writing style modeling
CN108197084A (en) * 2017-04-27 2018-06-22 中南出版传媒集团股份有限公司湖南教育出版社分公司 A kind of web-based digital publication cuts the method and system of font
CN108304357A (en) * 2018-01-31 2018-07-20 北京大学 A kind of Chinese word library automatic generation method based on font manifold
CN112765935A (en) * 2021-01-18 2021-05-07 上海锐线创意设计有限公司 Character shape personalization processing method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699518A (en) * 2009-10-30 2010-04-28 华南理工大学 Method for beautifying handwritten Chinese character based on trajectory analysis
CN101699516A (en) * 2009-10-30 2010-04-28 华南理工大学 Stroke rendering method for beautifying hand-written Chinese characters
CN103176955A (en) * 2013-01-03 2013-06-26 陈灿华 System and method for displaying Chinese character webpage scripts
CN103488339A (en) * 2013-09-09 2014-01-01 北京大学 Method for generating individualized digital ink of Chinese characters
CN105677646A (en) * 2014-11-17 2016-06-15 北京大学 Word stock generation method and system, and server
CN106384094A (en) * 2016-09-18 2017-02-08 北京大学 Chinese word stock automatic generation method based on writing style modeling
CN108197084A (en) * 2017-04-27 2018-06-22 中南出版传媒集团股份有限公司湖南教育出版社分公司 A kind of web-based digital publication cuts the method and system of font
CN108304357A (en) * 2018-01-31 2018-07-20 北京大学 A kind of Chinese word library automatic generation method based on font manifold
CN112765935A (en) * 2021-01-18 2021-05-07 上海锐线创意设计有限公司 Character shape personalization processing method and system

Also Published As

Publication number Publication date
CN112818145B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
US5687254A (en) Searching and Matching unrecognized handwriting
US9715623B2 (en) Reduced document stroke storage
US20130136377A1 (en) Method and apparatus for beautifying handwritten input
CN109472234B (en) Intelligent recognition method for handwriting input
KR100704093B1 (en) Component-based, adaptive stroke-order system
CN103778250A (en) Implement method for Chinese wubi cursive script dictionary query system
US11257267B2 (en) Method for generating a handwriting vector
Clausner et al. Icfhr 2018 competition on recognition of historical arabic scientific manuscripts–rasm2018
US20080002886A1 (en) Adapting a neural network for individual style
JP2023503272A (en) Gesture Stroke Recognition in Touch-Based User Interface Input
CN103914503A (en) System and method for generating personalized handwriting font
US20050276480A1 (en) Handwritten input for Asian languages
US11514696B2 (en) Display device, display method, and computer-readable recording medium
CN112818145B (en) Intelligent font style rendering system
CN106250035A (en) System and method for dynamically generating personalized handwritten fonts
US8265377B2 (en) Cursive handwriting recognition with hierarchical prototype search
TW200811727A (en) Method and system for font creating by handwriting
JP6094400B2 (en) Information processing apparatus, information processing method, and information processing program
CN112817504B (en) Intelligent pen point optimization system
Liu et al. Advances in chinese document and text processing
TWI664604B (en) System for construction and application of handwriting chinese character glyph sets to be used in a computer system
JP4101345B2 (en) Character recognition device
CN111582281A (en) Picture display optimization method and device, electronic equipment and storage medium
EP4086744A1 (en) Gesture stroke recognition in touch-based user interface input
Sen et al. BYANJON: a ground truth preparation system for online handwritten Bangla documents

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant