CN109814947A - A kind of method and system that auxiliary fontlib calls - Google Patents

A kind of method and system that auxiliary fontlib calls Download PDF

Info

Publication number
CN109814947A
CN109814947A CN201811642933.5A CN201811642933A CN109814947A CN 109814947 A CN109814947 A CN 109814947A CN 201811642933 A CN201811642933 A CN 201811642933A CN 109814947 A CN109814947 A CN 109814947A
Authority
CN
China
Prior art keywords
target
font
fontlib
characters
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811642933.5A
Other languages
Chinese (zh)
Inventor
刘鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201811642933.5A priority Critical patent/CN109814947A/en
Publication of CN109814947A publication Critical patent/CN109814947A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

This application provides a kind of method and systems that auxiliary fontlib calls, which comprises determines target characters;Judge whether target fontlib has the target font of the target characters;If the target fontlib judges whether the auxiliary fontlib has the target font of the target characters without the target font;If the auxiliary fontlib disassembles the target characters for multiple character fonts according to the structure of the target characters without the target font;The character font of the character font is obtained to the target fontlib;The character font is spliced according to the structure of the target characters, obtains the target font of the target characters;Fontlib is assisted described in target font typing by the target characters.The embodiment of the present application can solve the problem of that current existing fontlib lacks rare font and makes the font and be more troublesome.

Description

A kind of method and system that auxiliary fontlib calls
Technical field
This application involves word-base technology fields, more particularly to a kind of method that auxiliary fontlib calls and a kind of optional word The system that body library is called.
Background technique
Chinese character style file in computer usually all lacks some non-commonly used words, such as " Yue " " Cock " etc..For instant This is a problem very troublesome for Chinese-character display system (such as information board, TV subtitling packaging etc.), and hand is generally used The dynamic picture for making the word replaces, or the method for modification character library is coped with, and modifies character library and exist and invade character library author edition The problem of power.
Summary of the invention
The application provides a kind of method that auxiliary fontlib calls and a kind of system that auxiliary fontlib calls, to solve mesh Preceding existing fontlib lacks rare font, makes the problem of font is more troublesome.
To solve the above-mentioned problems, this application discloses a kind of methods that auxiliary fontlib calls, which comprises
Determine target characters;
Judge whether target fontlib has the target font of the target characters;
If the target fontlib judges whether the auxiliary fontlib has the target characters without the target font Target font;
If the auxiliary fontlib is without the target font, according to the structure of the target characters, by the target Chinese Word dismantling is multiple character fonts;
The character font of the character font is obtained to the target fontlib;
The character font is spliced according to the structure of the target characters, obtains the target word of the target characters Body;
Fontlib is assisted described in target font typing by the target characters.
Optionally, Xiang Suoshu target fontlib obtains the step of character font of the character font and includes:
One and the basic Chinese characters that include the character font are chosen to the target fontlib;
For the structure of the basic Chinese characters, the basic Chinese characters are disassembled as multiple font modules;
The font module unrelated with the character font is deleted, the character font of the character font is obtained.
Optionally, the character font is spliced according to the structure of the target characters, obtains the target characters Target font the step of include:
According to the font style characteristic information in the target fontlib, the character font is subjected to two-dimensional transform, is obtained To target character font;
The target character font is spliced according to the structure of the target characters, obtains the mesh of the target characters Marking-up body.
Optionally, the two-dimensional transform includes translation, rotation, scaling.
Optionally, include: the step of auxiliary fontlib described in the target font typing by the target characters
The target font of the target characters generates font query code;
The target font of the font query code and the target characters is generated into binding relationship;
Fontlib will be assisted described in the target font of the target characters and the font query code typing.
To solve the above-mentioned problems, this application discloses the methods that another auxiliary fontlib calls, which comprises
Determine target characters;
Judge whether target fontlib has the target font of the target characters;
If the target fontlib judges whether the auxiliary fontlib has the target characters without the target font Target font;
If the auxiliary fontlib obtains the initial font vector data of the target characters without the target font;
According to the font style characteristic information in the target fontlib, by the initial font vector number of the target characters Vector is carried out according to according to the font style characteristic information, obtains the target font of the target characters;
Fontlib is assisted described in target font typing by the target characters.
To solve the above-mentioned problems, disclosed herein as well is it is a kind of auxiliary fontlib call system, the system comprises With lower module:
The first confirmation module of target characters, for determining target characters;
Target font first judgment module, for judging whether target fontlib has the target font of the target characters;
The second judgment module of target font, for when the target fontlib is without the target font, described in judgement Whether auxiliary fontlib has the target font of the target characters;
Target characters disassemble module, for when the auxiliary fontlib is without the target font, according to the target The structure of Chinese character disassembles the target characters for multiple character fonts;
Character font obtains module, for obtaining the character font of the character font to the target fontlib;
The first generation module of target font, for spelling the character font according to the structure of the target characters It connects, obtains the target font of the target characters;
The first recording module of target font, for assisting fontlib described in the target font typing by the target characters.
To solve the above-mentioned problems, disclosed herein as well is the system that another auxiliary fontlib calls, the system packets It includes with lower module:
The second determining module of target characters, for determining target characters;
Target font third judgment module, for judging whether target fontlib has the target font of the target characters;
The 4th judgment module of target font, for when the target fontlib is without the target font, described in judgement Whether auxiliary fontlib has the target font of the target characters;
Initial font vector obtains module, for when the auxiliary fontlib is without the target font, described in acquisition The initial font vector data of target characters;
The second generation module of target font, for according to the font style characteristic information in the target fontlib, by institute The initial font vector data for stating target characters carries out vector according to the font style characteristic information, obtains the target The target font of Chinese character;
The second recording module of target font, for assisting fontlib described in the target font typing by the target characters.
The embodiment of the present application also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that the method that described device executes one or more described in the embodiment of the present application.
The embodiment of the present application also provides one or more machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that the method that the processor executes one or more described in the embodiment of the present application.
Compared with prior art, the application includes following advantages:
The auxiliary fontlib that the application establishes in a computer includes the rare of different-style in the auxiliary fontlib Font, these rare fonts are that user can be according to current practical application, to font lacking in current computer font library The real-time typing carried out;Assist fontlib in font and target fontlib font style feature it is almost the same, user calling Get up simple and convenient, it can be achieved that rare font shows immediately;
This application provides the target fonts that target characters are generated using connecting method, while providing using vector Mode generates the target font of target characters, and by a kind of mode of its typing auxiliary fontlib, so that user's later period can be unlimited It is secondary to use the target font.
Detailed description of the invention
Fig. 1 is a kind of step flow chart for the method that auxiliary fontlib calls of the embodiment of the present application;
Fig. 2 is the step flow chart for the method that the embodiment of the present application another kind auxiliary fontlib calls;
Fig. 3 is a kind of structural block diagram for the system that auxiliary fontlib calls of the embodiment of the present application;
Fig. 4 is the structural block diagram for the system that the embodiment of the present application another kind auxiliary fontlib calls.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in detail.
It can be touched with the rapid development of intelligent terminal and mobile Internet, in daily life various The font of style common are the Song typeface, regular script, lishu etc., and there are also the special fonts of some comparisons, such as Gu Yinti, nine folded seal characters Font, variety body etc..
At present in computer for certain style font (such as Gu Yinti) fontlib Chinese character amount it is less, may only some Commonly used word, for rare word, such as " Yue " " Cock " etc., people utilize the style in other of word or computer e-text When font (such as Gu Yinti) inputs Chinese character, if some Chinese character does not have in the fontlib (Gu Yinti fontlib) of the style, The Chinese character will not be shown with the style font (such as Gu Yinti), and be indirectly displayed as the style font (such as Song typeface) of the Chinese character.
This is very troublesome asks for instant Chinese-character display system (such as information board, TV subtitling packaging etc.) Topic is generally used and makes the picture of the word manually to replace, or the method for modification character library is coped with, and modifies character library and exist The problem of invading character library author copyright.
Against the above technical problems, present applicant proposes following embodiment, an auxiliary font establishing in a computer Library includes the rare font of different-style in the auxiliary fontlib, these rare fonts are that user can answer according to current reality With the real-time typing carried out to font lacking in current computer font library;Font in auxiliary fontlib can give birth to automatically At, it is almost the same with the font style feature of target fontlib, user's operation get up it is simple and convenient, it can be achieved that rare font i.e. Shi Xianxian.
Embodiment 1:
Referring to Fig.1, a kind of step flow chart for the method that auxiliary fontlib calls of the embodiment of the present application, the side are shown Method can specifically include following steps:
Step S101: target characters are determined;
The process of above-mentioned determining target characters, which can be considered, (can be regarded as some text in computer in some e-text Software, such as word) in the input target characters process, such as determining target characters Wei " Yue " word.
Step S102: judge whether target fontlib has the target font of the target characters;
According to current demand, need to show the Chinese character of Gu Yinti style (target font).
User can first set the current display font style of Chinese character as Gu Yinti, then input Chinese character when actually entering. Or user chooses the Chinese character currently shown after having inputted Chinese character, and selects Gu Yinti.
If there is " Yue " word (target characters) in Gu Yinti character library (target fontlib), computer program can be automatically from Gu " Yue " word is transferred in print body character library and is shown in a manner of Gu Yinti;
Gu Yinti (target font) of the Ruo Guyin body character library (target fontlib) without " Yue " word, in current technology, electronics Text is Jiang " Yue " word (target characters) to there is the font style of the Chinese character to show, is such as shown as the Song typeface or regular script.
The embodiment of the present application it is creative increase an auxiliary fontlib, auxiliary fontlib can be regarded as one with depositing Store up the auxiliary tool of function, the rare font for certain Chinese characters that people have built up before the inside may have, it is also possible to not have.
Step S103: if whether the target fontlib judges the auxiliary fontlib without the target font State the target font of target characters;
Computer program judges Gu Yinti (target font) of the Gu Yinti character library (target fontlib) without described " Yue " word When, the target font of the target characters, i.e. " Yue " word of Gu Yinti style can be searched whether in auxiliary fontlib automatically.
Step S104: if the auxiliary fontlib without the target font, according to the structure of the target characters, by institute Stating target characters dismantling is multiple character fonts;
It, next can be by user's hand in a computer when assisting Gu Yinti (the target font) in fontlib without " Yue " word The structure of dynamic operation or by computer automatic execution, according to " Yue " word (target characters), the " Yue " word (target characters) dismantling For two character fonts, i.e. a character font is " king " word by left avertence, another character font is " moon " word of the right phonetic element of a Chinese pictophonetic character.
S105: Xiang Suoshu target fontlib of step obtains the character font of the character font;
In one alternative embodiment of the application, the character words that the character font is obtained to the target fontlib are provided A kind of possible mode of body, can specifically include following sub-step:
One: Xiang Suoshu target fontlib of sub-step chooses one and the basic Chinese characters that include the character font;
Above-mentioned sub-step can be manually operated in a computer by user or by computer automatic execution, specifically: Xiang Suoshu Gu Yinti character library (target fontlib) chooses one and the basic Chinese characters that include " king " word by left avertence, and choose one and It include the basic Chinese characters of " moon " word of the right phonetic element of a Chinese pictophonetic character,.
For example what is chosen include the basic Chinese characters of " king " word by left avertence is " two pieces of jade put together " word of Gu Yinti, what is chosen includes The basic Chinese characters of " moon " word of the right phonetic element of a Chinese pictophonetic character are " yin " word of Gu Yinti.
Sub-step two: for the structure of the basic Chinese characters, the basic Chinese characters are disassembled as multiple font modules;
Then for the structure of " two pieces of jade put together " word of Gu Yinti, Gu Yinti " king " word and the right avertence " two pieces of jade put together " word being split as by left avertence Other Gu Yinti " jade " word.
For the structure of " yin " word of Gu Yinti, " yin " word is split as by " Fu " word of the Gu Yinti by left avertence and right avertence Gu Yinti " moon " word.
Gu Yinti " king " word by mentioned left avertence, Gu Yinti " jade " word by right avertence, the Gu Yinti " Fu " by left avertence Gu Yinti " moon " word by word or right avertence can be considered a font module.
Sub-step three: the font module unrelated with the character font is deleted, the character of the character font is obtained Font.
Then it by Gu Yinti " jade " word deletion in " two pieces of jade put together " word after fractionation, obtains as the Gu Yinti of character form structure by left avertence " king " word;Gu Yinti " Fu " word deletion in " yin " word after fractionation is obtained for the Gu Yinti " moon " of character form structure by right avertence Word, the step can also be manually operated in a computer or by computer automatic execution by user.
Step S106: the character font is spliced according to the structure of the target characters, obtains the target Chinese The target font of word;
According to the structure of " Yue " word (target characters), then by Gu Yinti " king " word of character form structure by left avertence, by right avertence Gu Yinti " moon " word of character form structure is stitched together, the step can be manually operated in a computer by user or by computer from It is dynamic to execute.
Wherein, above-mentioned splicing may have multiple steps, such as the tiled configuration according to Gu Yinti character library (target fontlib) Two character fonts are carried out vector shift, it are made to be stitched together by the Space Interval data between Chinese character.It may also be by such as The two-dimensional transforms such as translation, rotation, scaling.
In one alternative embodiment of the application, provides and carry out the character font according to the structure of the target characters Splicing, obtains a kind of possible connecting method of the target font of the target characters, specifically may include following sub-step:
Sub-step four: according to the font style characteristic information in the target fontlib, the character font is carried out two Dimension transformation, obtains target character font;
Different words in same character library have different font style characteristics, and share identical style and features, i.e. font style Characteristic information, which has, to be defined, and the classifier of a font style is specifically established by deep neural network model, will Existing character library, which is put into classifier, to be trained;After the completion of training, certain middle layer in deep neural network model is exported, The font style characteristic information is obtained, the above process belongs to the prior art, not described here any more.
For example go for " returning " the target font of word (target characters), first according to Gu Yinti character library (target fontlib) Font style characteristic information, two " mouth " words (character font) are subjected to two-dimensional transforms, such as by " mouth " word (character words Body) how many times are reduced, another " mouth " word (character font) is amplified how many times, obtains the target character word of two " mouth " words Body.
Sub-step five: the target character font is spliced according to the structure of the target characters, obtains the mesh Mark the target font of Chinese character.
According to the structure of " returning " word, it is interior pack arrangement, Gu Yinti " mouth " word (target character font) after diminution is put into In amplified Gu Yinti " mouth " word (another target character font), and further according to actual conditions, rotation, adjustment angle etc. Deng obtaining the target font for " returning " word.
Step S107: fontlib is assisted described in the target font typing by the target characters.
In one alternative embodiment of the application, the possibility implementation of step S107 is provided, it can be by user in computer It is middle to be manually operated or by computer automatic execution, can specifically include following sub-step:
Sub-step seven: the target font of the target characters generates font query code;
Sub-step eight: the target font of the font query code and the target characters is generated into binding relationship;
Sub-step nine: font will be assisted described in the target font of the target characters and the font query code typing Library.
Above-mentioned font query code can be used Unicode coding, to the unique identification of the character in a kind of computer.
The target font of font query code and the target characters is bound, and in typing auxiliary fontlib after, user When inputting some target characters, such as " Yue " word, if in Gu Yinti character library (target fontlib) without described " Yue " word Gu Yinti (target font) can search font query code in auxiliary fontlib automatically, be exported according to font query code ancient Print body style " Yue " word.
To sum up, step S101~step S107 is provided and is generated the target font of target characters using connecting method and record Enter and assist fontlib, and call a kind of mode of auxiliary fontlib, user's later period can use infinitely, and user's operation is got up letter It is single convenient, by calling auxiliary fontlib that can realize showing immediately for rare font, compared with prior art, save at present manually Time for making the picture of the word to replace avoids the method for modification character library coping with and exists and invade character library author copyright Problem.
Embodiment 2:
Referring to Fig. 2, the step flow chart for the method that the embodiment of the present application another kind auxiliary fontlib calls is shown, it is described Method can specifically include following steps:
Step S201: target characters are determined;
Step S202: judge whether target fontlib has the target font of the target characters;
Step S203: if whether the target fontlib judges the auxiliary fontlib without the target font State the target font of target characters;
Step S204: if the auxiliary fontlib obtains the initial font of the target characters without the target font Vector data;
Above-mentioned initial font vector data is appreciated that the vectorial coordinate of the contour line of an initial font.
Font style characteristic does not include any style, it is possible to carry out table to font style characteristic with the line segment of several identical thicknesses Show.In order to record these line segments, the key point of lower line segment need to be recorded, i.e., the starting point and end point of each line segment, such as " mouth " Word, when not including any style, by taking two-dimensional coordinates as an example, four coordinate points respectively can for (0,0), (0,1), (1,0), (1,1).
If the initial font of " returning " word (target font) of acquisition is regular script, vector data includes the contour line of outsourcing mouth 1 points of vectorial coordinate and interior packet mouth contour line 1 points of vectorial coordinate.Under Song typeface style, Just within packet mouth four points for, the vectorial coordinate of aforementioned four point may become (0.05,0), (0,1), (1.01,0), (1,1).
Step S205: according to the font style characteristic information in the target fontlib, by the initial of the target characters Font vector data carries out vector according to the font style characteristic information, obtains the target font of the target characters;
The stroke of any Chinese character only has five kinds of " horizontal, vertical, left, flick, folding ", can correspond respectively to respective angles in same " rice " The line segment in direction, can to different strokes respectively it is unified, accurate carry out " reasonable " i.e. regular assignment, coding, conversion, Quantization operations, font style characteristic information mentioned by the embodiment of the present application, includes based on target font (such as Gu Yinti) The stroke font key point of same stroke order.
Above-mentioned vector may include moving to left, moving to right, moving up, moving down how many a vectors, tilt to left and right, above and below how much Degree is bent how many degree etc., and vector can be manually operated in a computer or by computer automatic execution by user.
Since font style characteristic information belongs to the prior art, thus corresponding vector be also it is existing, herein not It repeats, other are explained referring to embodiment 1 more.
The embodiment of the present application is by the initial font vector data of the target characters according to the font style characteristic information Carry out vector, so that it may obtain the target font of the target characters.
Step S206: fontlib is assisted described in the target font typing by the target characters.
To sum up, step S201~step S106 provides the target font that target characters are generated using vector mode, And its typing is assisted to the another way of fontlib.Step S201~step S203, step S206 can refer to embodiment 1, This is seldom repeated.User's later period can use infinitely, and user's operation is got up simple and convenient, it can be achieved that the instant of rare font shows It is existing, compared with prior art, the time for making the picture of the word manually to replace at present is saved, the method for avoiding modification character library Come cope with and there are problems that invade character library author copyright.
For system embodiments, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
Embodiment 3:
Referring to Fig. 3, method described in corresponding embodiment 1 shows what a kind of auxiliary fontlib of the embodiment of the present application called The structural block diagram of system, the system can specifically include with lower module:
The first confirmation module of target characters 301, for determining target characters;
Target font first judgment module 302, for judging whether target fontlib has the target word of the target characters Body;
The second judgment module of target font 303, for judging institute when the target fontlib is without the target font State the target font whether auxiliary fontlib there are the target characters;
Target characters disassemble module 304, for when the auxiliary fontlib is without the target font, according to the mesh The structure for marking Chinese character, the target characters are disassembled as multiple character fonts;
Character font obtains module 305, for obtaining the character font of the character font to the target fontlib;
The first generation module of target font 306, for carrying out the character font according to the structure of the target characters Splicing, obtains the target font of the target characters;
The first recording module of target font 307, for assisting font described in the target font typing by the target characters Library.
The method of alternative embodiment in corresponding embodiment 1, it includes following submodule that character font, which obtains module 305:
Basic Chinese characters determine submodule, for the target fontlib choose one with include the character font Basic Chinese characters;
Basic Chinese characters disassemble submodule, are more by basic Chinese characters dismantling for being directed to the structure of the basic Chinese characters A font module;
Basic Chinese characters delete submodule, for deleting the font module unrelated with the character font, obtain described The character font of character font.
The method of alternative embodiment in corresponding embodiment 1, the first generation module of target font 306 include following submodule:
Two-dimensional transform submodule, for according to the font style characteristic information in the target fontlib, by the character Font carries out two-dimensional transform, obtains target character font;
Splicing submodule is obtained for splicing the target character font according to the structure of the target characters The target font of the target characters.
The method of alternative embodiment in corresponding embodiment 1, the first recording module of target font 307 include following submodule:
Font query code generates submodule, for the target font of the target characters, generates font query code;
Font query code binding module, for the target font of the font query code and the target characters is raw At binding relationship;
Data inputting submodule, for will be described in the target font of the target characters and the font query code typing Assist fontlib.
Embodiment 4:
Referring to Fig. 4, method described in corresponding embodiment 2 shows the embodiment of the present application another kind auxiliary fontlib and calls System structural block diagram, the system can specifically include with lower module:
The second determining module of target characters 401, for determining target characters;
Target font third judgment module 402, for judging whether target fontlib has the target word of the target characters Body;
The 4th judgment module 403 of target font, for judging institute when the target fontlib is without the target font State the target font whether auxiliary fontlib there are the target characters;
Initial font vector obtains module 404, for obtaining institute when the auxiliary fontlib is without the target font State the initial font vector data of target characters;
The second generation module of target font 405, for inciting somebody to action according to the font style characteristic information in the target fontlib The initial font vector data of the target characters carries out vector according to the font style characteristic information, obtains the mesh Mark the target font of Chinese character;
The second recording module of target font 406, for assisting font described in the target font typing by the target characters Library.
The embodiment of the present application also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that the method that described device executes one or more described in the embodiment of the present application.
The embodiment of the present application also provides one or more machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that the method that the processor executes one or more described in the embodiment of the present application.
What the method and a kind of auxiliary fontlib called above to a kind of auxiliary fontlib provided herein were called is System, is described in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above The explanation of embodiment is merely used to help understand the present processes and its core concept;Meanwhile for the general skill of this field Art personnel, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this Description should not be construed as the limitation to the application.

Claims (10)

1. a kind of method that auxiliary fontlib calls, which is characterized in that the described method includes:
Determine target characters;
Judge whether target fontlib has the target font of the target characters;
If the target fontlib judges whether the auxiliary fontlib has the mesh of the target characters without the target font Marking-up body;
If the auxiliary fontlib tears the target characters open according to the structure of the target characters without the target font Solution is multiple character fonts;
The character font of the character font is obtained to the target fontlib;
The character font is spliced according to the structure of the target characters, obtains the target font of the target characters;
Fontlib is assisted described in target font typing by the target characters.
2. the method according to claim 1, wherein obtaining the word of the character font to the target fontlib Accord with font the step of include:
One and the basic Chinese characters that include the character font are chosen to the target fontlib;
For the structure of the basic Chinese characters, the basic Chinese characters are disassembled as multiple font modules;
The font module unrelated with the character font is deleted, the character font of the character font is obtained.
3. the method according to claim 1, wherein by the character font according to the structure of the target characters The step of being spliced, obtaining the target font of the target characters include:
According to the font style characteristic information in the target fontlib, the character font is subjected to two-dimensional transform, obtains mesh Mark character font;
The target character font is spliced according to the structure of the target characters, obtains the target word of the target characters Body.
4. according to the method described in claim 3, it is characterized in that, the two-dimensional transform includes translation, rotation, scaling.
5. the method according to claim 1, wherein being assisted described in target font typing by the target characters The step of fontlib includes:
The target font of the target characters generates font query code;
The target font of the font query code and the target characters is generated into binding relationship;
Fontlib will be assisted described in the target font of the target characters and the font query code typing.
6. a kind of method that auxiliary fontlib calls, which is characterized in that the described method includes:
Determine target characters;
Judge whether target fontlib has the target font of the target characters;
If the target fontlib judges whether the auxiliary fontlib has the mesh of the target characters without the target font Marking-up body;
If the auxiliary fontlib obtains the initial font vector data of the target characters without the target font;
According to the font style characteristic information in the target fontlib, the initial font vector data of the target characters is pressed Vector is carried out according to the font style characteristic information, obtains the target font of the target characters;
Fontlib is assisted described in target font typing by the target characters.
7. a kind of system that auxiliary fontlib calls, which is characterized in that the system comprises with lower module:
The first confirmation module of target characters, for determining target characters;
Target font first judgment module, for judging whether target fontlib has the target font of the target characters;
The second judgment module of target font, for judging the auxiliary when the target fontlib is without the target font Whether fontlib has the target font of the target characters;
Target characters disassemble module, for when the auxiliary fontlib is without the target font, according to the target characters Structure, the target characters are disassembled as multiple character fonts;
Character font obtains module, for obtaining the character font of the character font to the target fontlib;
The first generation module of target font is obtained for splicing the character font according to the structure of the target characters To the target font of the target characters;
The first recording module of target font, for assisting fontlib described in the target font typing by the target characters.
8. a kind of system that auxiliary fontlib calls, which is characterized in that the system comprises with lower module:
The second determining module of target characters, for determining target characters;
Target font third judgment module, for judging whether target fontlib has the target font of the target characters;
The 4th judgment module of target font, for judging the auxiliary when the target fontlib is without the target font Whether fontlib has the target font of the target characters;
Initial font vector obtains module, for obtaining the target when the auxiliary fontlib is without the target font The initial font vector data of Chinese character;
The second generation module of target font, for according to the font style characteristic information in the target fontlib, by the mesh The initial font vector data for marking Chinese character carries out vector according to the font style characteristic information, obtains the target characters Target font;
The second recording module of target font, for assisting fontlib described in the target font typing by the target characters.
9. a kind of device characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made The methods for obtaining the one or more that described device is executed as described in claim 1-6.
10. one or more machine readable medias, which is characterized in that instruction is stored thereon with, when by one or more processors When execution, so that the processor executes one or more methods as described in claim 1-6.
CN201811642933.5A 2018-12-29 2018-12-29 A kind of method and system that auxiliary fontlib calls Pending CN109814947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811642933.5A CN109814947A (en) 2018-12-29 2018-12-29 A kind of method and system that auxiliary fontlib calls

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811642933.5A CN109814947A (en) 2018-12-29 2018-12-29 A kind of method and system that auxiliary fontlib calls

Publications (1)

Publication Number Publication Date
CN109814947A true CN109814947A (en) 2019-05-28

Family

ID=66603167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811642933.5A Pending CN109814947A (en) 2018-12-29 2018-12-29 A kind of method and system that auxiliary fontlib calls

Country Status (1)

Country Link
CN (1) CN109814947A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417959A (en) * 2020-10-19 2021-02-26 上海臣星软件技术有限公司 Picture generation method and device, electronic equipment and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1551013A (en) * 2003-04-01 2004-12-01 三星电子株式会社 Method and apparatus for generating vector font
CN101866366A (en) * 2010-07-15 2010-10-20 哈尔滨工业大学 Image formula Chinese document retrieval method based on content
CN101882386A (en) * 2010-06-23 2010-11-10 张冠堂 Rare character splitting and combining method
CN103885699A (en) * 2012-12-20 2014-06-25 中山大学深圳研究院 Automatic handwriting copying method based on mobile terminals
CN107610200A (en) * 2017-10-10 2018-01-19 南京师范大学 A kind of character library rapid generation of feature based template

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1551013A (en) * 2003-04-01 2004-12-01 三星电子株式会社 Method and apparatus for generating vector font
CN101882386A (en) * 2010-06-23 2010-11-10 张冠堂 Rare character splitting and combining method
CN101866366A (en) * 2010-07-15 2010-10-20 哈尔滨工业大学 Image formula Chinese document retrieval method based on content
CN103885699A (en) * 2012-12-20 2014-06-25 中山大学深圳研究院 Automatic handwriting copying method based on mobile terminals
CN107610200A (en) * 2017-10-10 2018-01-19 南京师范大学 A kind of character library rapid generation of feature based template

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐洁: "基于OpenType格式的国际音标符号和语音古籍生僻字数字化的字体设计", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417959A (en) * 2020-10-19 2021-02-26 上海臣星软件技术有限公司 Picture generation method and device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN111324609B (en) Knowledge graph construction method and device, electronic equipment and storage medium
CN111240669B (en) Interface generation method and device, electronic equipment and computer storage medium
CN107748744B (en) Method and device for establishing drawing box knowledge base
CN111915705B (en) Picture visual editing method, device, equipment and medium
CN104820589A (en) Method and device for dynamically adapting webpage
CN105183291A (en) Method and system for extracting information in display interface
CN106156189A (en) A kind of label generating method and device, information getting method and device
CN112192576A (en) Mechanical arm Chinese character writing control method
CN110211032B (en) Chinese character generating method and device and readable storage medium
JP7309811B2 (en) Data annotation method, apparatus, electronics and storage medium
CN109814947A (en) A kind of method and system that auxiliary fontlib calls
CN111158648B (en) Interactive help system development method based on live-action semantic understanding and platform thereof
CN102246158A (en) User-specified phrase input learning
JPS61107468A (en) Text editing system
CN110286901A (en) A kind of scenario generation method based on CAD, system and storage medium
CN113157351B (en) Voice plug-in construction method for quickly calling form tool
CN105487684B (en) The output intent of Chinese-character phonetic letter character and the output device of Chinese-character phonetic letter character
CN100594492C (en) Embedded character base process method of network system
CN115686492A (en) H5 page editing method and device
CN105511642A (en) Input method and input device
CN110119502A (en) A method of dynamic table single domain is realized based on OFD document
CN113535017B (en) Method and device for processing and synchronously displaying drawing files and storage medium
CN108304356B (en) Character display method and device
JPH09198236A (en) Method for determining instruction order and device therefor
CN1254895A (en) Open full-information full-selection full-procedure template type man-machine complementary language translation method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190528

RJ01 Rejection of invention patent application after publication