CN106569984A - Method, apparatus, and system for generating and transmitting color word stock automatically - Google Patents

Method, apparatus, and system for generating and transmitting color word stock automatically Download PDF

Info

Publication number
CN106569984A
CN106569984A CN201510652719.8A CN201510652719A CN106569984A CN 106569984 A CN106569984 A CN 106569984A CN 201510652719 A CN201510652719 A CN 201510652719A CN 106569984 A CN106569984 A CN 106569984A
Authority
CN
China
Prior art keywords
font
colored
character library
sdk
file
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
CN201510652719.8A
Other languages
Chinese (zh)
Other versions
CN106569984B (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.)
Beijing Xinmeihutong Technology Co
Original Assignee
Beijing Xinmeihutong Technology Co
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 Beijing Xinmeihutong Technology Co filed Critical Beijing Xinmeihutong Technology Co
Priority to CN201510652719.8A priority Critical patent/CN106569984B/en
Publication of CN106569984A publication Critical patent/CN106569984A/en
Application granted granted Critical
Publication of CN106569984B publication Critical patent/CN106569984B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a method, apparatus, and system for generating and transmitting a color word stock automatically. The apparatus comprises a color word stock generation unit, a control unit, a receiving and sending unit, and a display unit. To be specific, the color word stock generation unit is used for processing a back-and-white word stock file to generate a color word stock file according to a preset color word stock configuration plan and configuring the color word stock file into a color word stock SDK allowed by the apparatus; the control unit is used for obtaining a color word stock file corresponding to a typeface needed by an application program of the apparatus based on the color word stock SDK and sending a control command to the receiving and sending unit to control receiving and sending of the color word stock file corresponding to the typeface needed by the application program; the receiving and sending unit is used for receiving and sending the color word stock file corresponding to the typeface needed by the application program by a communication network; and the display unit is used for displaying a corresponding color typeface according to the color word stock file corresponding to the typeface needed by the application program.

Description

Automatically generate and transmit method, the apparatus and system of colored character library
Technical field
The invention belongs to character library processing technology field, the side of automatically generating of especially specifically related to colored character library Method and device, and in mobile internet colored character library transmission method and device.
Background technology
The making of character library is an engineering for wasting time and energy, and produces the character library of set of regulations coding and typically needs Want the workload of multiple people's several years, need antithetical phrase original text to be organized, digital scanning, profile algorithm intend Close, the unified form of a stroke or a combination of strokes processs, inlay, with the flow processs such as symbol, dress storehouse, test, the substantial amounts of manpower of needs And material resources.
With the popularization and the rise of mobile Internet of personal computer, people have to word processing Higher demand, but the font in existing font file can not meet growing personalization Demand, either Specialty Design teacher or ordinary populace, are required for character library supplier to provide satisfaction Its font file for needing, for example, the colored font file comprising personalized designs.In mobile interchange Net epoch, people more carry out issued transaction and business activity using portable mobile termianl, to word The speed and abundant in content demand that storehouse is processed is greatly increased.Additionally, the word for providing in the market Storehouse is often pre-designed, it is impossible to personalized demand is met, in addition, existing font file Even colour, it is also desirable to make all of picture, then it is bundled in font file, character library text The loading velocity of part is also very slow, and this greatly have impact on Consumer's Experience, especially in the ring of mobile interchange Under border, it is impossible to enough to meet the demand for sending and receiving personalized colorful font immediately.
In a word, in existing character library treatment technology, a no key of being capable of generates colored font file Method and apparatus, more without can be transmitted according to the design of user individual under mobile interchange environment The technology of colored character library and colored font.
The content of the invention
The problems referred to above existed for prior art and defect, the invention provides one kind automatically generates coloured silk The method of color character library, device, and the transmission method, dress under mobile interchange environment, to colored character library Put and system.
It is an object of the present invention to provide a kind of technology for automatically generating colored character library, enables to user One key generates colored font file.
It is a further object to provide one kind can conveniently generate character library under mobile interchange environment File and the colored character library generation method, device and the system that send immediately.
Further object is that a kind of user is provided configurable font rule base, by user The key of order one of input generates colored font file, for a user, after being loaded directly into font file, Can be obtained by the personalized colored font matched with oneself input order.
To achieve these goals, there is provided a kind of device for automatically generating colored character library, including:Obtain Unit, acquisition includes the black and white font file of black and white font, and the black and white font is converted to into black and white Picture format;Rule base, is stored with and character is mapped as the mapping ruler of colored font information;Process single Unit, according to the mapping ruler and including the colored character library allocation plan of default character combination to described The font of black and white picture form is processed, and generates the colour matched with the colored character library allocation plan Font picture;And compression and packaged unit, the colored font picture is compressed, then pack Generate colored font file.
Additionally, a kind of method for automatically generating colored character library is additionally provided, including:Acquisition includes black and white The black and white font file of font, and the black and white font is converted to into black and white picture form;In rule base The mapping ruler of storage character and colored font information;According to the mapping ruler and including default word The colored character library allocation plan of symbol combination is processed the font of the black and white picture form, is generated and institute State the colored font picture that colored character library allocation plan matches;And carry out in the colored font picture Compression, then packing generates colored font file.
In addition, a kind of device of the colored character library of transmission is additionally provided, including:Colored character library signal generating unit: According to the colored character library allocation plan for pre-setting, black and white font file is generated into colored font file, and Colored character library SDK that colored font file is configured to allow on such devices;Control unit:Root According to colored character library SDK, the corresponding colored font file of font needed for application program in described device is obtained, And to Transmit-Receive Unit transmitting control commands to control application program needed for the corresponding colored font file of font Reception and transmission;Transmit-Receive Unit:Font required for application program is received and sent via communication network Colored font file;Display unit:The corresponding colored font file of the font according to needed for application program, shows Show corresponding colour font.
In addition, a kind of colored character library dispensing device is additionally provided, including:Colored character library signal generating unit, root According to the colored character library allocation plan for pre-setting, black and white font file is generated into colored font file, and will Colored font file is configured to the colored character library SDK (SDK installed on such devices: Service Development Kit);Control unit is sent, according to colored character library SDK, obtains described The corresponding colored font file of font needed for the application program run on device, and by the application program institute The corresponding colored font file of font is needed to send to transmitting element and display unit;Display unit, according to institute The corresponding colored font file of font needed for application program is stated, colored font is shown;And transmitting element, The corresponding colored font file of font needed for the application program is sent to network.
In addition, a kind of colored character library dispensing device is additionally provided, including:Colored character library signal generating unit:Root According to the colored character library allocation plan for pre-setting, black and white font file is generated into colored font file, and will Colored font file is configured to colored character library SDK installed on such devices;Send control unit: According to colored character library SDK, the corresponding colour of font needed for the application program run in described device is obtained Font file, the corresponding colored font file of font needed for the application program is sent to display unit, And the corresponding font coding information of font needed for the application program run in described device is sent to transmission Unit;Display unit, the corresponding colored font file of the font according to needed for the application program shows color Color font;And transmitting element, the corresponding font coding information of font needed for the application program is sent To network.
In addition, a kind of colored character library reception device is additionally provided, including:Journey is applied in receiving unit, reception The corresponding colored font file of sequence font;Detector unit, detect in the reception device with the presence or absence of and Colored character library SDK that the corresponding colored character library of the application program font matches is received, if not Exist, then the corresponding colored character library phase of the application program font is installed and received at reception device Colored character library SDK matched somebody with somebody;And display unit, according to corresponding with the application program font is received Colored character library SDK that matches of colored character library, show colored font.
In addition, a kind of colored character library reception device is additionally provided, including:Journey is applied in receiving unit, reception The corresponding font coding information of sequence font;Detector unit, detects in the reception device with the presence or absence of coloured silk Color character library SDK, if it does not exist, then colored character library SDK is installed at reception device, display unit, According to the font coding information and colored character library SDK installed, show and font coding information phase The colored font of matching.
In addition, the method for additionally providing a kind of colored character library of transmission, including:At the starting station, according to pre- The colored character library allocation plan for first arranging, by black and white font file colored font file is generated, and by colour Font file is configured to colored character library SDK installed on the starting station;According to colored character library SDK, The corresponding colored font file of font needed for the starting station application program is obtained, and is sent out via communication network Send;The corresponding colored font file of the font according to needed for application program, at the starting station corresponding colour is shown Font;At receiving station, via communication network the corresponding colored character library text of font needed for application program is received Part, then detects whether the receiving station is provided with colored font SDK;If at receiving station Colored font SDK is installed, then show corresponding colour font;If do not had at receiving station There is installation colored font SDK, then colored font SDK is installed, then show corresponding color Color font.
In addition, the method for additionally providing a kind of colored character library of transmission, including:At the starting station, according to pre- The colored character library allocation plan for first arranging, by black and white font file colored font file is generated, and by colour Font file is configured to the first colored character library SDK installed on the starting station;It is colored according to first Character library SDK, obtains the corresponding first colored font file of font needed for the starting station application program, And send the corresponding font coding information of font needed for application program via communication network;According to application program The corresponding first colored font file of required font, at the starting station corresponding first colour font is shown; At receiving station, the corresponding font coding information of font needed for application program is received via communication network, then Detect whether the receiving station is provided with the second colored character library SDK;If being provided with receiving station Two colored character libraries SDK, then the second colored character library installed from receiving station according to font coding information The corresponding second colored font file is obtained in SDK, and shows the corresponding second colored font;If The second colored character library SDK is fitted without at receiving station, then the described second colored character library SDK has been installed, Then obtain corresponding in the second colored character library SDK installed from receiving station according to font coding information Second colored font file, and show the corresponding second colored font.
In addition, a kind of colored character library Transmission system is additionally provided, including:The starting station, is configured to obtain color Color character library SDK, according to colored character library SDK, needed for obtaining the application program run on the starting station The colored font file of font, shows according to the colored font file on the display unit at the starting station Show colored font;And via communication network, the colored font file of font needed for the application program sends To receiving station;And receiving station, it is configured to receive the colored font file of font needed for the application program, And judge whether chromatic colour character library SDK is installed at receiving station, if it has, then in the display list of receiving station Colored font is shown in unit, if it is not, color character library SDK is installed, then in receiving station Display unit on show colored font.
In addition, a kind of colored character library Transmission system is additionally provided, including:The starting station, is configured to acquisition One colored character library SDK, according to the described first colored character library SDK, obtains the application run on the starting station The colored font file of first of font needed for program, according to the described first colored font file in the beginning Send out and show on the display unit at station the first colored font, and via communication network by starting station application program institute The font coding information for needing font is sent to receiving station;And receiving station, it is configured to receive the application journey The font coding information of font needed for sequence, and judge whether the second colored character library is installed at receiving station SDK, if it has, then obtaining second at the second colored character library SDK according to the font coding information Colored font file, shows that second is colored according to the second colored font file on the display unit of receiving station Font, if it is not, installing the second color character library SDK, then believes according to font coding Breath obtains the second colored font file at the second colored character library SDK, according to the second colored font file The second colored font is shown on the display unit of receiving station.
The method and system of the technology for automatically generating colored character library of the invention and the colored character library of transmission, Colored font file with users' personal allocation can be generated with a key, considerably reduce character library generation Time and cost, in addition, by colored font file or font information in transmission over networks, greatly Meet demand of the application program to colored font under mobile interchange environment.
Description of the drawings
Accompanying drawing, its be included to provide the present invention further understand and be merged in and constitute this explanation A part for book, the accompanying drawing illustrates embodiments of the invention and together with description for explaining this Bright principle.In the accompanying drawings:
Fig. 1 is the flow chart of the method for automatically generating colored character library for illustrating according to embodiments of the present invention;
Fig. 1 a are to illustrate the colored word comprising user's colour character library scheme of colour according to embodiments of the present invention Body exemplary plot;
Fig. 1 b are to illustrate the coloured silk comprising user's colour character library shade scheme of colour according to embodiments of the present invention Color font example figure;
Fig. 1 c are to illustrate the coloured silk that scheme of colour is penetrated comprising user's colour character library according to embodiments of the present invention Color font example figure;
Fig. 1 d are to illustrate the coloured silk comprising user's colour character library pinup picture scheme of colour according to embodiments of the present invention Color font example figure;
Fig. 2 is to illustrate the block diagram for automatically generating colored character library device according to embodiments of the present invention;
Fig. 3 is the flow chart of the method for illustrating the colored character library of transmission according to embodiments of the present invention;
Fig. 4 is the flow chart of the method for another transmission colour character library for illustrating according to embodiments of the present invention;
Fig. 5 is the block diagram of the device for illustrating the colored character library of transmission according to embodiments of the present invention;
Fig. 6 is the block diagram of the colored character library dispensing device for illustrating according to embodiments of the present invention;
Fig. 7 is the block diagram of another colored character library dispensing device for illustrating according to embodiments of the present invention;
Fig. 8 is the block diagram of the colored character library reception device for illustrating according to embodiments of the present invention;
Fig. 9 is the block diagram of another colored character library dispensing device for illustrating according to embodiments of the present invention;
Figure 10 is the block diagram of the colored character library Transmission system for illustrating according to embodiments of the present invention;
Figure 11 is the block diagram for illustrating another colored character library Transmission system according to embodiments of the present invention;
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing And embodiment, the present invention will be described in further detail, it will be appreciated that described herein concrete Embodiment only to explain the present invention, is not intended to limit the present invention.
Now with detailed reference to embodiments of the invention, the example of these embodiments is shown in the drawings. The suffix " module " of element and " unit " are used herein to convenient description, and therefore can convertibly by Use, and without any diacritic meaning or function.
Although all elements for constituting embodiments of the invention are illustrated as being coupled in discrete component or quilt Operate as discrete component, but the present invention may be not necessarily limited to this kind of embodiment.According to embodiment, All of element can selectively bond to one or more elements simultaneously in the purpose of the present invention and scope And it is operating as one or more elements.
Embodiment 1
Fig. 1 shows the method that a key of present invention offer generates colored character library, and specifically details are as follows:
In step S101, user can be arranged personalized colored font and match somebody with somebody according to the hobby of oneself Color scheme, and it is input into the scheme of colour with character.
User is given with personalized scheme of colour, you can by keyboard or to pre-set The mode of text is input into scheme of colour order, and the scheme of colour of user can be:Housing color thickness, Proportional manner (from left to right, from top to bottom, from left to bottom right, upper right arrives lower-left etc.), ratio Value and corresponding color value, are processed, it is possible to generate colour picture character library by colored character library.
In step s 102, black and white font file is obtained, then by the black and white word in black and white font file Body is converted into picture format.
Black and white font file can be TTF (TureTypeFornt) form, and the form is by Apple A kind of curved profile font description technique that company and Microsoft Corporation are developed jointly, using straight line and Quadric Spline function carrys out the stroke outlines of describing word, and its font description is flexible, and data volume is less, Extraordinary reduction result can be obtained.Black and white font file can be dot matrix format file or Type1 The file format of type, the font file form of Type1 types is the one kind developed by Adobe companies Curved profile font description technique, using PostScript language, also referred to as PS forms, PS forms Font file output it is best in quality, can arbitrarily scale.
Font format conversion can use the equipment or software that vector fonts is converted to picture, conventional Format converter is PIL format converters, and PIL is the non-permanent current developed by Python companies Capable graph processing technique, wherein including multiple shape libraries, can call the function in shape library to incite somebody to action Vector fonts is converted to picture.Certainly vector fonts can also be turned using common image processing techniquess It is changed to picture format, such as conventional image processing software photoshop.
In step s 103, configuration rule storehouse, is stored with rule base and be mapped as colored font by character New mapping ruler, when the colored character library allocation plan of user individual is received, processing unit will The rule stored in user input allocation plan and rule base is mapped, and generates colored Font processing Signal.Wherein, the allocation plan of colored character library is specially default character combination, and the character combination comes From in the personalized input of user or being pre-configured with for system.With regard to processing unit in reality below Apply and also be will be further described in example 2.
Rule base is the colored font information mapping rule matched with user input colour character library allocation plan Then, it can be stored in advance in the memorizer of equipment, and when needing to process, colored character library processes single Unit can be with calling rule storehouse.
An exemplary rule base is the following is, e.g., " * " represents the configuration for pre-setting, i.e., without spy The different character formulated all should be specialized configuration with the sequence number row that such as " 1 " starts, so using this configuration Below corresponding those characters of character configuration section sequence number can use this specialized configuration, if user does not want to make With specialized configuration, can a retaining color configuration section " * ", character configuration section do not work.
Configuration section form is made up of three parts, i.e. " housing color rugosity "+" proportional manner "+" ratio Scheme of colour ", the concrete form of three parts is:[housing color, rugosity proportional manner-ratio color matching side Case;Proportional manner-ratio scheme of colour ...].
Wherein, housing color rugosity:It is made up of plus housing thickness value color value, is separated with ", ";Outward Frame thickness unit is pixel.
Proportional manner:Sequence number 1 represents that from top to bottom sequence number 2 is represented from left to right, and sequence number 3 is represented From left to bottom right.
Ratio scheme of colour:It is made up of multiple or one (monochrome) color matching, is separated with ", ".Each Color matching is made up of accounting and color, with ":" separate;Accounting is made up of molecule+"/"+denominator, even Absolutely, also should be presented in the way of " 1/1 ", so that designer more holds in routine processes Easily realize;So the corresponding color of each accounting will be applied on phase answer seizure ratio, all accounting sums Should be 1.
Character configuration section:Separated with tab characters between sequence number and character below, behind between character Should be continuous, without any other character, such as space newline.
Certainly the mapping ruler of character and colored font can also have other kind of definition mode, above description Definition mode be in order that mapping ruler is preferably subsequently can by computer.
Step S104, according to the black and white font picture after the colored Font processing signal and conversion for generating, Colored Font processing is carried out, and generates colored font picture.
The process for generating colored font picture by black and white font picture can be completed by image processing algorithm, Black and white font picture is carried out into Color Image Processing i.e. according to user configured scheme, specifically, root Processed according to specific settings such as font housing, color matching proportional manner, ratio values, by black and white font It is processed as the font with user's scheme of colour.A kind of effective Processing Algorithm is according to PIL (Python Image Library) inner shape library to be processing black and white font picture.Certainly, according to the vector point of font Battle array or gridding information are also feasible the process that carries out colored font.
Multiple ratio schemes of colour of user input are supported in the generating process of colored font, and should Multiple ratio schemes of colour can at random arrange in pairs or groups and use.
Step S105, by process after colored font be compressed, be finally packaged into comprising have user The colored font file of personal settings.User is contained in the colored font file for ultimately generating to match somebody with somebody The personalized element of scheme is put, this is very easy to the character library designer of specialty.
Generally, the memory space shared by the colored font after process is larger, when actually used, needs Be compressed, such as the font picture of the colored font picture boil down to 8 of 32, this Sample greatly saves the memory space of colored font, also beneficial to quickly generating colored font file. After being compressed to the colored font file that colored font is constituted, needs are packaged as using equipment (such as Personal computer, mobile device or embedded processing equipment) in operating system can recognize or use File, such as ttf forms.In order that it is rapider in the process for automatically generating colored character library, carrying out During colored font picture document No., by these files all by correspondence unicode coded commands, such pole Big convenient packing generates the operation of ttf font files.
The following is a scheme of colour order according to user input carries out the example of colored character library process.
For example, user input scheme of colour order:
“*#FF0000,1 1-2/3:#00FF00,1/3:#0000FF;1-1/1:#00FFFF”
The scheme of colour order is matched by rule base, it is possible to which it is 1 pixel to represent housing for rugosity Redness.Have two schemes, one be from top to bottom, above 2/3 be green, below 1/3 be blueness; Another is to be all dark green.Each word is at random with one from the two schemes.
Realize the scheme of colour of user input just first can one by one take out word in black and white character library with PIL Come, and be converted into picture, each picture is proceeded as follows:
If the word does not have special specified, the configuration of * will be found, if specifying special sequence number, just The configuration of corresponding sequence number can be found.Then according to the configuration found is carried out.
If arranging housing, the edge of word is found, add the housing for formulating color and thickness.
If the scheme of colour of many set users, then just produce a random factor, select at random a set of Come carry out.
To the content part of word according to the mode of formulation, such as from top to bottom, in the ratio of formulation, such as go up Face 2/3, below 1/3, designated color to picture.
Then by institute's chromatic colour fontmap piece packing of good color, generation can set in computer or movement Standby upper operation or the colored font file installed.
In the allocation plan of user, except the housing to font, color matching proportional manner, ratio value etc. Information is carried out outside individual cultivation, can also carry out shade design, i.e. the color matching side of user for colored font Case needs to provide several shade shapes and certain color matching (shade color, word is given in character library, then Color, word is by shade part colours etc.), ultimately produce picture character library.
In addition can also realize that penetrating for font, i.e. scheme of colour user need in the allocation plan of user Background is provided, allows word to appear from Background, other parts are given up, and ultimately produce picture character library.
Additionally, the user of pinup picture font, the i.e. scheme of colour can also be realized in the allocation plan of user Need to provide the figure for needing patch, figure is attached on font picture, ultimately produce picture character library.
Fig. 1 a-1d respectively illustrate user and generate word using above-mentioned different colored character library allocation plan The exemplary plot of body effect.
Embodiment 2
A kind of dress for automatically generating colored font file shown by Fig. 2 embodiments in accordance with the present invention 2 Put 200.
Wherein automatically generating the device of colored font file includes acquiring unit 202, and its acquisition includes black The black and white font file of wrongly written or mispronounced character body, acquiring unit 202 is also equipped with form translation function, by the black and white Font is converted to black and white picture form.Wherein acquiring unit 202 generate black and white picture form method such as In embodiment 1 described in step S101.
This automatically generates device 200 of colored font file also includes rule base 204, itself and dispensing unit It is connected, is stored with rule base and character is mapped as the mapping ruler of colored font information, by this Mapping ruler, user can be by the allocation plan comprising character oneself being input into and specific colour font Information match.
Processing unit 206, it includes default word according to the mapping ruler of rule base and user input The colored character library allocation plan of symbol combination, the black and white picture form to being generated by acquiring unit is processed, Generate the colored font picture matched with user's colour character library allocation plan.
Specifically, the colored character library pre-set by the device can also be recognized in processing unit 206 Allocation plan, the character library allocation plan that this pre-sets directly matches mapping ruler, and user is without the need for defeated Enter specific character Command, processing unit 206 can be according to the colored character library configuration side for pre-setting Case is processed the black and white picture of black and white font, and the colored character library configuration for generating and pre-setting The colored font picture that scheme matches, in addition the colored character library allocation plan of processing unit processes can be with Part from user's definition, partly automatically generating pre-setting from colored font file device.
Processing unit 206 also includes housing color rugosity processing module 212, and it is according to the colored word Corresponding font housing color roughness information is processed the font in the configuration order of storehouse;Ratio side Formula processing module 214, it is according to corresponding font proportional manner information in the colored character library configuration order The font is processed;Ratio scheme of colour processing module 216, it is ordered according to the configuration of colored character library Corresponding ratio scheme of colour information is processed the font in order;Colored font generation module 218, according to font housing color rugosity processing module, proportional manner processing module and ratio scheme of colour Result after processing module process, generates colored font picture.
Proportional manner processing module 214 is processed according to mapping ruler in rule base 204, i.e., according to From top to bottom, from left to right or from mode left to bottom right to font part or all carry out from Reason, and these three processing modes can carry out in realization random combine.
Ratio scheme of colour processing module 216 is carried out according to one or more schemes of colour to the font Process, wherein each described scheme of colour is made up of accounting and color, the corresponding color of each accounting should With in corresponding accounting, and when processing black and white picture, multiple schemes of colour can be entered The random collocation of row.
Compression and packaged unit 208, its processing procedure is compressed and packaged unit as described in above S105 First the colored font picture is compressed, then packing generates colored font file.
Embodiment 3
Fig. 3 is a kind of method of transmission colour character library shown according to embodiments of the present invention 3.The transmission The method of colored character library can be transmitted the colored font file for generating via communication network.Here The mode of network communication and transmission can be one-to-one or one-to-many, and wherein communication network can be wired network Network, wireless network or mobile network etc., below only as a example by communicating as the one-to-one unicast of both sides.
At the starting station,
S301, in communication originator station black and white font file is obtained, and by the black and white in black and white font file Font is converted to black and white picture form;
S302, according to the colored character library allocation plan and rule base 204 that pre-set, by the black and white The font of picture format is processed, and is generated and the colored character library allocation plan phase for pre-setting The font of the colour picture form of matching,
S303, the font of the colour picture form is compressed and is packed, and generates colored character library File;
S304, the process of step S201-S203 is realized by the way of SDK, or use can The mode of middleware is installed on the starting station realizing, if at the starting station, already installed with and use The SDK of the colored font file that family allocation plan matches, then step S301-S304 can be omitted.
S304 is an optional process, at the starting station of communication and receiving station, may be downloaded in advance There is the SDK of the colored character library allocation plan pre-set comprising user, then starting in user both sides should When using program, the font being input into just can be shown with the font in the colored character library that configured, And both sides need not carry out the generation of colored character library.And in transmitting procedure, in order to save the network bandwidth Resource, will can be transmitted using required colored font file, so be more beneficial for IMU The application of letter.
Additionally, the configuration of SDK can be defined by user oneself, naturally it is also possible to by font provider, That is SDK providers, its colored font scheme for pre-setting for providing, what these pre-set Colored font scheme is probably to design through professional designer, and with extraordinary Consumer's Experience. Designer can be in the way of being configured to SDK and easy in mesh by the colored font file for designing Install in the operating system (such as) of front mobile terminal, this is very easy to user to colored word The propagation of library file.The specialty colour font and the service of personalization that SDK providers are provided is being moved Interconnection field will have huge market prospect.In addition, the allocation plan of colored character library could also be from Dedicated for open platforms such as the forum of the colored character library of design, social networkies, at the platform, there is word Body provider provides the rule base of colored character library in SDK, and user can be placed on the scheme that oneself is configured Exchange in open platform, so as to choose the suitable colored character library allocation plan of oneself, and included In SDK, in a word, the purpose of SDK or middleware is matched somebody with somebody to preferably facilitate user to generate font Scheme is put, so as to also more can adapt to current mobile interchange environment.
S305, the starting station starts application program, and the application program includes needs and produces colored font Application program, for example, perform instant chat, note and social media type in mobile terminal or PC Deng application program.So the starting station obtains corresponding to word required for application program in colored font file The colored font file of body, the inquiry application specially in the SDK or middleware that step S304 is produced The colored font file of colored font is needed, such as colored character library TTF file, and by the application for inquiring The colored font file of font required for program is sent to receiving station via communication network.
S306, the colored font file of starting station font according to required for corresponding to application program, shows The corresponding colored font that application program needs;Now, the colored font file contains color with user The colored font that color character library allocation plan matches, i.e., the colored font for arranging with user individual;
At receiving station,
S311, receiving station receives the colored character library text of font required for the application program that the starting station sends Part;
Whether S312, receiving station starts detection process, detect in receiving station and have described in step S204 SDK or middleware, i.e., whether have at the starting station according to the colored word of user configuring arrangements Storehouse SDK or middleware.If it has, then directly displaying application program needs using the font file for receiving Colored font, if it is not, need in receiving station operating procedure S301-S304, or receiving station SDK of the installation kit containing user's colour character library allocation plan is directly downloaded from network, then according to SDK The colored font colored font file for receiving being shown as required for application program.
By the method for the colored character library of transmission shown in Fig. 3, at the starting station and receiving station use is realized The simultaneous display of the colored character library scheme of family configuration, i.e., it is same during the colored font that both sides see.
Embodiment 4
In the applied environment of mobile Internet, the demand of user be it is various, possible communicating pair User and need not colored font simultaneous display, i.e. the starting station shows a kind of personalized colored font, And receiving terminal is shown the colored font of another personalization.
Fig. 4 is the method for the colored character library of another transmission for implementing 4 according to the present invention, in Fig. 4 institutes In the method shown, it generates process S401-S404 of SDK completely and in embodiment 3 at the starting station Step S301-S304 is identical, except for the difference that, in the embodiment shown in fig. 4, in S405, begins Send out station the corresponding font coding information of font needed for application program to be sent to receiving station, application program Font is encoded to any coding of the representative font information that easily can realize processing on computers Or mark, font coding information relative entropy is less, and it can adopt and be easily handled any of device realization The coded systems such as a kind of coded system, such as unicode, BIG5 and GBK, are so more beneficial for immediately The realization of communication.
S411, via communication network the corresponding word of font needed for the application program that the starting station sends is received Body coding information;
S412, at receiving station, starts detection process, detects at receiving station it is to be provided with any one Colored font file SDK is planted, if it has, the coloured silk then installed from receiving station according to font coding information Corresponding colour font file is obtained in color character library SDK, and shows corresponding colour font.If not yet Have, then any colour font file SDK is installed, then show corresponding colour font.Here Can colored character library user configured with the starting station in the colored font file SDK for being installed of receiving station File SDK is identical or different.
In the embodiment 4 described in Fig. 4, the starting station directly encodes the font of the needs of application program Information is sent to receiving station, and here font coding information only contains expression font information, not Corresponding color and profile and other display informations.If receiving station is provided with and starting station identical SDK, then receiving station directly can search character library text according to the font coding information for receiving in SDK Part, and the display of colored font is carried out, the lattice that the colored font in such starting station and receiving station shows Formula remains the same.If receiving station is fitted without and starting station identical SDK, now, there is two Plant and select, a kind of is directly to download the colored font file configured with the starting station from network to match SDK, then colored font being searched in colored font file and is shown, another situation is, Do not download and starting station identical SDK, but select the colored word configured in locally-installed SDK Storehouse scheme, then according to the colored character library configured in locally-installed SDK, searches colored font and goes forward side by side Row shows that now, the display mode of the same font in the starting station and receiving station is simultaneously differed.Also Another certainly colored font file in the starting station and receiving station configuration SDK when, user can be with Whether unrestricted choice adopts the colored character library of other side's configuration, realizes more personalized setting.
It should be noted that being particularly suitable for social activity based on the colored character library transmission plan of mobile Internet The scene of network, for example, when user issues in wechat or the social media such as qq and other chatrooms During colored character library SDK with its personalization, people interested will download the coloured silk in his circle of friends Color character library SDK, they will be shown with personalized colorful word when communicating with one another in application program The colored font in storehouse.Because colored font file is in communicating pair local runtime, and carry out real-time Transmission Simply partial colour font file, the resource spent by it is very little, therefore advantageously in colour The popularization of character library.
In addition, during communication, if both sides are fitted with the SDK of colored character library, can not Send and the corresponding colored font file of word needed for application program, and send according to current application program The mode of word is transmitted, and simply in receiving terminal, the corresponding coding of word is gone to inquire about corresponding coloured silk Color character library, and the font file of sender and recipient can not correspond to, can be according to each tool The colored character library scheme for having personalization is shown.
Embodiment 5
Fig. 5 is illustrated that the device 500 of the according to embodiments of the present invention 5 colored character library of transmission.
The device 500 of the colored character library of transmission includes colored character library signal generating unit 501, control unit 502, Transmit-Receive Unit 503 and display unit 504.
Wherein, the colored character library allocation plan that colored character library signal generating unit 501 pre-sets according to user, Black and white font file is generated into colored font file, the embodiment that this function can be by described in Fig. 1 Automatically generate the device 100 of colored character library to complete, in addition colored character library signal generating unit 501 is also by coloured silk Color font file be configured on device 500 can according to colored character library SDK, certainly, device 500 The SDK with user's colour character library allocation plan directly can also be obtained from network or other media.
Control unit 502 is connected with colored character library signal generating unit 501, is generated according to colored character library single Colored character library SDK that unit 501 generates, obtains the font run in device 500 needed for application program Corresponding colored font file.Application program in device 500 can be the application of literal type Program, such as chatroom, wechat, social software etc..Control unit 502 and then transmitting control commands, The reception and transmission of the corresponding colored font file of font needed for control application program.Control unit has The control process of body can be reception and the sending method described in Fig. 3 and Fig. 4 embodiments.
Transmit-Receive Unit 503:The colored character library of font needed for application program is received and sent via communication network The font coding information of font needed for file or application program.
Display unit 504:The colored font corresponding to font needed for application program is shown, if from receipts The colored font file of font needed for the application program of the reception of bill unit and transmission, then display unit root Corresponding colour font is shown according to colored character library SDK, if the application received from Transmit-Receive Unit The corresponding font coding information of font needed for program, then SDK of the display unit in device is looking into Corresponding colour font file is looked for, corresponding colour font is then shown.
Embodiment 6
Fig. 6 shows according to embodiments of the present invention 6 colored character library dispensing device 600, and colored character library is sent out Device is sent to include colored character library signal generating unit 601, the colored character library of its functional device 500 realized is generated Unit 501 is identical.Device 600 also includes sending control unit 602, according to colored character library SDK, Colored font file corresponding to the application program run on acquisition device 600, and by the application The corresponding colored font file of font needed for program is sent to transmitting element 603 and display unit 604.Dress Putting 600 also includes display unit 604:The corresponding colored character library of its font according to needed for the application program File, shows colored font.Transmitting element 604 is by the corresponding colored character library of font needed for application program File sends the receiving station to network or communication.
Embodiment 7
Fig. 7 shows the colored character library dispensing device 700 shown according to embodiments of the present invention 7, device 700 Colored character library signal generating unit 701 and device 600 the colored function of character library signal generating unit 601 complete Cause.Control unit 702 is sent, colored character library SDK obtains the application program institute run in described device The corresponding colored font file of font is needed, by the corresponding colored font file of font needed for the application program Send to display unit 703, the corresponding font of font needed for the application program run in described device is compiled Code information is sent to network.Display unit 704:The corresponding colour of the font according to needed for the application program Font file, shows colored font.
Embodiment 8 and 9
Fig. 8 and Fig. 9 show colored word corresponding with the colored character library dispensing device shown in Fig. 6 and Fig. 7 Storehouse reception device 800 and 900.
Wherein the device of Fig. 8 includes receiving unit 801, receives the corresponding colored word of application program font Library file.Detector unit 802, its detection whether there is and receive described answering in the reception device Colored character library SDK matched with the corresponding colored character library of program font, if it does not exist, then connecing The colored word that the corresponding colored character library of the application program font matches is installed and received at receiving apparatus Storehouse SDK.Display unit 803, according to receive the corresponding colored character library of the application program font Colored character library SDK for matching, shows colored font.
Wherein the device of Fig. 9 includes receiving unit 901, receives the corresponding font of application program font and compiles Code information.Detector unit 902, detects with the presence or absence of colored character library SDK in the reception device, If it does not exist, then installing colored character library SDK at reception device.Display unit 903, according to institute Font coding information and colored character library SDK are stated, the colored font matched with font coding information is shown.
Embodiment 10 and 11
Figure 10 and Figure 11 show the colored character library transmission shown according to embodiments of the present invention 10 and 11 System 1000 and 1100.
As described in Figure 10, colored character library Transmission system 1000 includes the starting station 1001, communication network 1002 With receiving station 1003.Wherein the starting station 1001, is configured to obtain colored character library SDK, according to the coloured silk Color character library SDK, obtains the colored font file of font needed for the application program run on the starting station, and Colored font is shown on the display unit at the starting station according to the colored font file;Communication network Network 1002, is connected with the transceiver of the starting station and receiving station, by needed for the application program at the starting station The colored font file of font is sent to receiving station;And receiving station 1003, it is configured to reception application journey The colored font file of font needed for sequence, and judge whether chromatic colour character library SDK is installed at receiving station, If it has, colored font is then shown on the display unit of receiving station, if it is not, installing described Color character library SDK, then shows colored font on the display unit of receiving station.
As described in Figure 11, colored character library Transmission system 1100 includes the starting station 1101, communication network 1102 With receiving station 1103.Wherein the starting station 1101, is configured to obtain the first colored character library SDK, according to institute The first colored character library SDK is stated, obtain font needed for the application program run on the starting station first is colored Font file, and shown on the display unit at the starting station according to the described first colored font file First colored font;Communication network 1102, is connected with the transceiver of the starting station and receiving station, will The font coding information of font needed for the application program of the starting station is sent to receiving station;And receiving station 1103, It is configured to receive the font coding information of font needed for the application program, and whether judges at receiving station Second colored character library SDK is installed, if it has, then colored second according to the font coding information The second colored font file is obtained at character library SDK, according to the second colored font file in the aobvious of receiving station Show and show on unit the second colored font, if it is not, the second color character library SDK is installed, so Afterwards the second colored font file is obtained at the second colored character library SDK according to the font coding information, Second colored font is shown on the display unit of receiving station according to the second colored font file.Wherein Two colored character libraries SDK can be any one and the corresponding font coding information of font needed for application program Corresponding colored character library SDK.It can be identical or different with the first colored character library SDK, therefore the One colored font can also be identical or different with the second colored font.
From the above description, it is evident that according to embodiments of the present invention the method and apparatus of description have it is following Effect.
First, the present invention provides the user the method that a key automatically generates the colored font file of personalization With device device, time and cost that colored character library is generated are greatly reduced.
Secondth, the colored font file that the present invention is generated can individually customize special color matching side with some words Case, whole character library can be flexible and changeable with various appearance forms.
4th, can be made according to various colored font schemes of colour proposed by the present invention enrich very much many Color colored character library, and expansion scheme is also very simple, dramatically saves on the speed for making colored font Degree, saves the workload of designer, and designer only needs to offer scheme of colour and can just make various each The colored word of the beautiful effect of sample.
4th, the invention provides a kind of mapping ruler storehouse that character is mapped as colored font information, By the mapping ruler storehouse, personalized designs of the user to colored font are very easy to.
5th, the invention provides in the starting station and the method and apparatus of the colored character library of receiving station's transmission, With it, greatly meeting the need under current mobile internet environment to personalized fonts Ask.
6th, the invention provides colored font file SDK, greatly place under mobile interchange environment Install in portable terminal device and using having personalized colored font file, and propose word The concept of storehouse carrier so that the colored character library of the present invention is generated and transmission technology has great business valency Value.
The present invention implements described method and apparatus and is particularly suitable for PC, notebook, Mobile phone, embedded equipment etc., and embodiments described above of the present invention can be with hardware, firmware and soft One of part or combination are realizing.Embodiments of the invention are also implemented as being stored in computer-readable to be deposited Instruction on storage equipment, it can be read by least one processor and be performed described in the invention to perform Method operation.Computer readable storage devices can be included for by machine (for example, computer) Any non-transitory mechanism of readable form storage information.For example, computer readable storage devices can be wrapped Include read only memory (ROM), random access memory (RAM), magnetic disk storage medium, optical storage Medium, flash memory device, and other storage devices and medium.
It should be appreciated that the functional unit for describing in this manual or ability are referred to alternatively as or are denoted as component Or module, more specifically to emphasize their realization independence.For example, component or module can be implemented as Hardware circuit, it includes ultra-large integrated (VLSI) the circuit OR gate array of customization, ready-made quasiconductor, Such as logic chip, transistor, or other discrete assemblies.Component or module can also set in programmable hardware Standby middle realization, field programmable gate array, programmable logic array, programmable logic device etc..Group Part or module can be with the realizations in for the software by various types of computing devices.For example, can hold The component or module of the identification of line code can include one or more computer instructions physically or logically, It can be for example, being organized as object, program or function.However, the component for being recognized or module are not Must physically be positioned together, and can be that, comprising the disparate instruction for being stored in diverse location, it ought be patrolled On volume when being bonded together, comprising component or module and realization is for component or the regulation purpose of module.
It should be appreciated that being not limited to by the effect that the present invention can be realized by those skilled in the art The content being particularly described above, and the further advantage of the present invention will more from detailed description above It is expressly understood.
It should be apparent to those skilled in the art that can be in the situation without departing from the spirit or scope of the present invention Under make various modifications and variations in the present invention.Therefore, if it is contemplated that the modification of the present invention Fall in the range of subsidiary claim and their equivalents with modification, then the present invention covers this A little modifications and modification.
The following is the extra example of the above embodiment of the present invention.
Theme that example 1 can include (automatically generate the such as method of colored character library, for performing The module of action, including causing the machine of instruction of machine-executed actions can when executed by a machine Read medium or be configured to the device for performing), obtaining step:Acquisition includes the black and white of black and white font Font file, and the black and white font is converted to into black and white picture form;Storage rule step:In rule The mapping ruler of character and colored font information is then stored in storehouse;Process step:According to the mapping rule Then the font of the black and white picture form is processed with colored character library allocation plan, generate with it is described The colored font picture that colored character library allocation plan matches, wherein, the colored character library allocation plan bag Containing default character combination;Compression and step of packing:And the colored font picture is compressed, then Packing generates colored font file.
Example 2 can include or alternatively can combine alternatively to include side with the theme of example 1 Face, in this aspect, wherein the default character combination is defined by user oneself, or by the dress Put and be pre-configured with, or part is pre-configured with by user oneself definitional part by described device..
Example 3 can include or alternatively can combine alternatively to include with the theme of example 1-2 Aspect, in this aspect, in the processing procedure, includes in the colored character library allocation plan In font housing color roughness information, font proportional manner information and ratio scheme of colour information extremely A kind of few information.
Example 4 can include or alternatively can combine alternatively to include with the theme of example 1-3 Aspect, in this aspect, the treating step comprises:The process of housing color rugosity:Its according to institute State corresponding font housing color roughness information in colored character library configuration order is carried out to the font Process;Proportional manner process:It is according to corresponding font ratio in the colored character library configuration order Mode information is processed the font;The process of ratio scheme of colour:It matches somebody with somebody according to colored character library Put corresponding ratio scheme of colour information in order to process the font;Colored font life Into:According to font housing color rugosity processing module, proportional manner processing module and ratio color matching side Result after the process of case processing module, generates colored font picture.
Example 5 can include or alternatively can combine alternatively to include with the theme of example 1-4 Aspect, in this aspect, the proportional manner is processed according to from top to bottom, from left to right or from a left side The upper mode to bottom right is processed part or all of font.
Example 6 can include or alternatively can combine alternatively to include with the theme of example 1-5 Aspect, in this aspect, the ratio scheme of colour is processed according to one or more schemes of colour pair The font is processed, and wherein each described scheme of colour is made up of accounting and color, and each is accounted for In accounting more corresponding than corresponding color application.
Example 7 can include or alternatively can combine alternatively to include with the theme of example 1-6 Aspect, in this aspect, wherein the ratio scheme of colour is processed when black and white picture is processed to many State multiple schemes of colour to be arranged in pairs or groups at random.
Example 8 can include or alternatively can combine alternatively to include with the theme of example 1-7 Aspect, in this aspect, wherein including font shade scheme of colour in the colored character library allocation plan Information, font penetrates at least one information in scheme of colour information and font pinup picture scheme of colour information.
Example 9 can include a kind of device for automatically generating colored character library, and described device includes:Obtain Unit, acquisition includes the black and white font file of black and white font, and the black and white font is converted to black White picture format;Rule base, is stored with and character is mapped as the mapping ruler of colored font information;Place Reason unit, according to the mapping ruler and the colored character library allocation plan pair for including preset characters combination The font of the black and white picture form is processed, and generation matches with the colored character library allocation plan Colored font picture;And compression and packaged unit, the colored font picture is compressed, Then packing generates colored font file.
Example 10 can include the device for automatically generating colored character library described in example 9, wherein wherein The default character combination is defined by user oneself, or is pre-configured with by described device, or part by with Family oneself definitional part is pre-configured with by described device..
Example 11 can include the device for automatically generating colored character library described in example 9-10, wherein institute State in colored character library allocation plan comprising font housing color roughness information, font proportional manner information and At least one information in ratio scheme of colour information.
Example 12 can include the device for automatically generating colored character library described in example 9-11, wherein institute Stating processing unit includes:Housing color rugosity processing module, it is according to the colored character library configuration order In corresponding font housing color roughness information the font is processed;Proportional manner processing module, It is carried out according to corresponding font proportional manner information in the colored character library configuration order to the font Process;Ratio scheme of colour processing module, it matches somebody with somebody according to corresponding ratio in colored character library configuration order Color scheme information is processed the font;Colored font generation module, according to font housing color Result after rugosity processing module, proportional manner processing module and the process of ratio scheme of colour processing module, Generate colored font picture.
Example 13 can include the device for automatically generating colored character library described in example 9-12, wherein institute Proportional manner processing module is stated according to from top to bottom, from left to right or from mode left to bottom right to word Part or all of body is processed.
Example 14 can include the device for automatically generating colored character library described in example 9-13, wherein institute State ratio scheme of colour processing module to process the font according to one or more schemes of colour, Wherein each described scheme of colour is made up of accounting and color, and the corresponding color application of each accounting is corresponding Accounting on.
Example 15 can include the device for automatically generating colored character library described in example 9-15, wherein institute State ratio scheme of colour processing module process black and white picture when how the plurality of scheme of colour is carried out with Machine is arranged in pairs or groups.
Example 16 can include the device for automatically generating colored character library described in example 9-16, wherein institute State comprising font shade scheme of colour information in colored character library allocation plan, font penetrates scheme of colour letter At least one information in breath and font pinup picture scheme of colour information.
Theme that example 17 can include (the such as method of the colored font file of transmission, for holding Action make module, including when executed by a machine cause machine-executed actions instruction machine Computer-readable recording medium is configured to the device for performing), including:At the starting station:According to advance The colored character library allocation plan of setting, by black and white font file colored font file is generated, and by coloured silk Color font file is configured to colored character library SDK installed on the starting station;According to colored character library SDK, the corresponding colored font file of font needed for the acquisition starting station application program, and via Communication network sends;The corresponding colored font file of the font according to needed for application program, at the starting station Show corresponding colour font;At receiving station:Word needed for application program is received via communication network The corresponding colored font file of body, then detects whether the receiving station is provided with the colored font SDK;If being provided with colored font SDK at receiving station, then show corresponding colored Font;If being fitted without colored font SDK at receiving station, the colored word is installed Body SDK, then shows corresponding colour font.
Example 18 can include or alternatively can combine alternatively to include with the theme of example 17 Aspect, in this aspect, it is described black and white font file is generated into colored font file can case example 1-8 The process for automatically generating colored character library processing.
Theme that example 19 can include (the such as method of the colored font file of transmission, for performing The module of action, including when executed by a machine cause machine-executed actions instruction machine readable Medium is configured to the device for performing), including at the starting station:According to the coloured silk for pre-setting Color character library allocation plan, by black and white font file colored font file is generated, and colored character library is literary Part is configured to the first colored character library SDK installed on the starting station;According to the first colored character library SDK, obtains the corresponding first colored font file of font needed for the starting station application program, and The corresponding font coding information of font needed for application program is sent via communication network;According to applying journey The corresponding first colored font file of font needed for sequence, at the starting station the corresponding first colored word is shown Body;At receiving station:The corresponding font coding of font needed for application program is received via communication network Information, then detects whether the receiving station is provided with the second colored character library SDK;If received The place of station is provided with the second colored character library SDK, then installed from receiving station according to font coding information Obtain the corresponding second colored font file in second colored character library SDK, and show corresponding second Colored font;If being fitted without the second colored character library SDK at receiving station, install described Second colored character library SDK, then according to font coding information install from receiving station it is second colored The corresponding second colored font file is obtained in character library SDK, and shows the corresponding second colored word Body.
Example 20 can include or alternatively can combine alternatively to include with the theme of example 19 Aspect, in this aspect, it is described black and white font file is generated into colored font file can case example 1-8 The process for automatically generating colored character library processing.
Example 21 can include or alternatively can combine alternatively to wrap with the theme of example 19-20 Aspect is included, in this aspect, the described second colored character library SDK is any one and application program Corresponding colored character library SDK of the corresponding font coding information of required font;Or it is described second color Color character library SDK and the first colored character library SDK are identical;Or second colored character library SDK and First colored character library SDK is different.
Example 22 can include a kind of device of the colored character library of transmission, including:Colored character library is generated Unit:According to the colored character library allocation plan for pre-setting, black and white font file is generated into colored word Library file, and colored character library SDK that colored font file is configured to allow on such devices; Control unit:According to colored character library SDK, font correspondence needed for application program in described device is obtained Colored font file, and to Transmit-Receive Unit transmitting control commands to control application program needed for font The reception and transmission of corresponding colored font file;Transmit-Receive Unit:Receive via communication network and send out Send the colored font file of font required for application program;Display unit:According to application program institute The corresponding colored font file of font is needed, corresponding colour font is shown.
Example 23 can include the device of the colored character library of transmission described in example 22, wherein colored word Storehouse signal generating unit includes:Acquisition module, obtains the black and white font file in character library, and life will be black Font in wrongly written or mispronounced character library file is converted to black and white picture form;Rule base, is connected with configuration module Connect, be stored with and character is mapped as the mapping ruler of colored font information;Configuration module, according to institute State mapping ruler and include the colored character library allocation plan of default character combination to the black and white The font of picture format is processed, and generates the colour matched with the colored character library allocation plan Font picture;Compression and packetization module, the colored font is compressed, and then packing is generated Colored font file;And SDK generation modules, the colored font file is configured in institute State installable colored character library SDK on device.
Example 24 can include the device of the colored character library of transmission described in example 23, wherein the coloured silk Color character library signal generating unit includes the colored character library automatic processing device described in example 9-16.
Example 25 includes a kind of colored character library dispensing device, including:Colored character library signal generating unit, According to the colored character library allocation plan for pre-setting, black and white font file is generated into colored font file, And colored character library SDK for being configured to install on such devices by colored font file;Send control single Unit, according to colored character library SDK, obtains font needed for the application program run in described device corresponding Colored font file, and by the corresponding colored font file of font needed for the application program send to send out Send unit and display unit;Display unit, the corresponding colored word of the font according to needed for the application program Library file, shows colored font;And transmitting element, font needed for the application program is corresponding Colored font file is sent to network.
Example 26 includes a kind of colored character library dispensing device, including:Colored character library signal generating unit: According to the colored character library allocation plan for pre-setting, black and white font file is generated into colored font file, And colored character library SDK for being configured to install on such devices by colored font file;Send control single Unit:According to colored character library SDK, font needed for the application program run in described device is obtained corresponding Colored font file, the corresponding colored font file of font needed for the application program is sent to display Unit, and the corresponding font coding information of font needed for the application program run in described device is sent To transmitting element;Display unit, the corresponding colored font file of the font according to needed for the application program, Show colored font;And transmitting element, by the corresponding font coding of font needed for the application program Information is sent to network.
Example 27 includes a kind of colored character library reception device, including:Receiving unit, receives The corresponding colored font file of application program font;Detector unit, detects in the reception device With the presence or absence of and receive the colored word that the corresponding colored character library of the application program font matches Storehouse SDK, if it does not exist, then the application program font is installed and received at reception device Colored character library SDK that corresponding colored character library matches;And display unit, according to receive Colored character library SDK that the corresponding colored character library of the application program font matches, shows colored word Body.
Example 28 includes a kind of colored character library reception device, including:Receiving unit, receives The corresponding font coding information of application program font;Detector unit, detects in the reception device With the presence or absence of colored character library SDK, if it does not exist, then installing colored character library at reception device SDK, display unit, according to the font coding information and colored character library SDK installed, shows Show the colored font matched with font coding information.
Example 29 includes a kind of colored character library Transmission system, including:The starting station, is configured to:Obtain Colored character library SDK is taken, according to colored character library SDK, the application program run on the starting station is obtained The colored font file of required font, and according to the colored font file the starting station display list Colored font is shown in unit, via communication network by the colored font file of font needed for the application program Send to receiving station;And receiving station, it is configured to:The colored font file is received, and judges to receive Whether the place of station installs chromatic colour character library SDK, if it has, then showing coloured silk on the display unit of receiving station Color font, if it is not, color character library SDK is installed, then in the display unit of receiving station It is upper to show colored font.
Example 30 includes a kind of colored character library Transmission system, including:The starting station, is configured to: The first colored character library SDK is obtained, according to the described first colored character library SDK, is obtained and run on the starting station Application program needed for font the first colored font file, according to the described first colored font file in institute State and show on the display unit at the starting station the first colored font, and journey is applied at the starting station via communication network The font coding information of font needed for sequence is sent to receiving station;And receiving station, it is configured to receive described answering With the font coding information of font needed for program, and judge whether the second colored character library is installed at receiving station SDK, if it has, then obtaining second at the second colored character library SDK according to the font coding information Colored font file, shows that second is colored according to the second colored font file on the display unit of receiving station Font, if it is not, installing the second color character library SDK, then believes according to font coding Breath obtains the second colored font file at the second colored character library SDK, according to the second colored font file The second colored font is shown on the display unit of receiving station.
Example 31 includes the colored character library Transmission system according to example 30, wherein, the second colored word The corresponding coloured silk of the corresponding font coding information of storehouse SDK fonts for needed for any one is with application program Color character library SDK;Or second colored character library SDK and the first colored character library SDK it is identical;Or Second colored character library SDK described in person and the first colored character library SDK are different.

Claims (21)

1. a kind of device for automatically generating colored character library, including:
Acquiring unit, acquisition includes the black and white font file of black and white font, and the black and white font is changed For black and white picture form;
Rule base, is stored with and character is mapped as the mapping ruler of colored font information;
Processing unit, according to the mapping ruler and colored character library allocation plan to the black and white picture form Font is processed, and generates the colored font picture matched with the colored character library allocation plan, wherein institute State colored character library allocation plan and include default character combination;And
Compression and packaged unit, the colored font picture is compressed, and then packing generates colored character library File.
2. the device for automatically generating colored character library according to claim 1, wherein the default character Combination is defined by user oneself, or is pre-configured with by described device, or a part is another by user oneself definition Part is pre-configured with by described device.
3. the device for automatically generating colored character library according to claim 1, wherein the colored character library is matched somebody with somebody Putting font housing color roughness information, font proportional manner information and the ratio scheme of colour information of include in scheme In at least one information.
4. the device for automatically generating colored character library according to claim 1, wherein the processing unit bag Include:
Housing color rugosity processing module, it is according to corresponding font housing in the colored character library configuration order Color roughness information is processed the font;
Proportional manner processing module, it is according to corresponding font proportional manner in the colored character library configuration order Information is processed the font;
Ratio scheme of colour processing module, it is according to corresponding ratio scheme of colour in colored character library configuration order Information is processed the font;
Colored font generation module, according to font housing color rugosity processing module, proportional manner processing module With the result after the process of ratio scheme of colour processing module, colored font picture is generated.
5. the device for automatically generating colored character library according to claim 4, wherein at the proportional manner Reason module according to from top to bottom, from left to right or from mode left to bottom right to font part or all Processed.
6. the device for automatically generating colored character library according to claim 4, wherein the ratio color matching side Case processing module is processed the font according to one or more schemes of colour, wherein each described color matching Scheme is made up of accounting and color, in the corresponding accounting of the corresponding color application of each accounting.
7. the device for automatically generating colored character library according to claim 4, wherein the ratio color matching side Case processing module is arranged in pairs or groups at random when black and white picture is processed to how the plurality of scheme of colour.
8. the device for automatically generating colored character library according to claim 1-7 any one, wherein described Font shade scheme of colour information is included in colored character library allocation plan, font penetrates scheme of colour information and word Show consideration at least one information in figure scheme of colour information.
9. a kind of method for automatically generating colored character library, comprises the following steps:
Acquisition includes the black and white font file of black and white font, and the black and white font is converted to into artwork master frame Formula;
The mapping ruler of character and colored font information is stored in rule base;
At the font of the mapping ruler and colored character library allocation plan to the black and white picture form Reason, generates the colored font picture matched with the colored character library allocation plan, wherein the colored character library is matched somebody with somebody The scheme of putting includes default character combination;And
The colored font picture is compressed, then packing generates colored font file.
10. the method for automatically generating colored character library according to claim 9, wherein the process includes:
The process of housing color rugosity:It is according to corresponding font housing face in the colored character library configuration order Color roughness information is processed the font;
Proportional manner process:It is according to corresponding font proportional manner letter in the colored character library configuration order Breath is processed the font;
The process of ratio scheme of colour:It is according to corresponding ratio scheme of colour letter in colored character library configuration order Breath is processed the font;And
Colored font is generated:According to font housing color rugosity processing module, proportional manner processing module With the result after the process of ratio scheme of colour processing module, colored font picture is generated.
A kind of 11. devices of transmission colour character library, including:
Colored character library signal generating unit:According to the colored character library allocation plan for pre-setting, by black and white font file Generate colored font file, and the colored character library that colored font file is configured to allow on such devices SDK;
Control unit:According to colored character library SDK, font needed for application program in described device is obtained corresponding Colored font file, and to Transmit-Receive Unit transmitting control commands to control application program needed for the corresponding coloured silk of font The reception and transmission of color font file;
Transmit-Receive Unit:The colored font file of font required for application program is received and sent via communication network;
Display unit:The corresponding colored font file of the font according to needed for application program, shows corresponding colored Font.
A kind of 12. colored character library dispensing devices, including:
Colored character library signal generating unit, according to the colored character library allocation plan for pre-setting, by black and white font file Generate colored font file, and the colored character library that colored font file is configured to install on such devices SDK;
Control unit is sent, according to colored character library SDK, needed for obtaining the application program run in described device The corresponding colored font file of font, and the corresponding colored font file of font needed for the application program is sent out Deliver to transmitting element and display unit;
Display unit, the corresponding colored font file of the font according to needed for the application program shows colored word Body;And
Transmitting element, the corresponding colored font file of font needed for the application program is sent to network.
A kind of 13. colored character library dispensing devices, including:
Colored character library signal generating unit:According to the colored character library allocation plan for pre-setting, by black and white font file Generate colored font file, and the colored character library that colored font file is configured to install on such devices SDK;
Send control unit:According to colored character library SDK, needed for obtaining the application program run in described device The corresponding colored font file of font, the corresponding colored font file of font needed for the application program is sent To display unit, and the corresponding font coding information of font needed for the application program run in described device is sent out Deliver to transmitting element;
Display unit, the corresponding colored font file of the font according to needed for the application program shows colored word Body;And
Transmitting element, the corresponding font coding information of font needed for the application program is sent to network.
14. devices according to claim 11-13 any one, wherein colored character library signal generating unit bag Include:
Acquisition module, obtains the black and white font file in character library, and raw by the font in black and white font file Be converted to black and white picture form;
Rule base, is connected with configuration module, is stored with and character is mapped as the mapping rule of colored font information Then;
Configuration module, according to the mapping ruler and including the colored character library allocation plan of character to described black The font of white picture format is processed, and generates the colored font matched with the colored character library allocation plan Picture;
Compression and packetization module, the colored font is compressed, and then packing generates colored font file; And
SDK generation modules, by the colored font file installable colored word on such devices is configured to Storehouse SDK.
A kind of 15. colored character library reception devices, including:
Receiving unit, receives the corresponding colored font file of application program font;
Detector unit, detects and whether there is and receive the application program font pair in the reception device Colored character library SDK that the colored character library answered matches, if it does not exist, then installing at reception device and connecing Receive colored character library SDK that the corresponding colored character library of the application program font matches;And
Display unit, according to receive the colour that the corresponding colored character library of the application program font matches Character library SDK, shows colored font.
A kind of 16. colored character library reception devices, including:
Receiving unit, receives the corresponding font coding information of application program font;
Detector unit, detects with the presence or absence of colored character library SDK in the reception device, if it does not, Colored character library SDK is then installed at reception device,
Display unit, according to the font coding information and colored character library SDK installed, shows and font The colored font that coding information matches.
A kind of 17. methods of transmission colour character library, including:
At the starting station,
According to the colored character library allocation plan for pre-setting, black and white font file is generated into colored font file, And colored character library SDK for being configured to be installed on the starting station by colored font file;
According to colored character library SDK, the corresponding colored character library text of font needed for the starting station application program is obtained Part, and send via communication network;
The corresponding colored font file of the font according to needed for application program, at the starting station corresponding colour word is shown Body;
At receiving station,
The corresponding colored font file of font needed for application program is received via communication network, then detects described Whether receiving station is provided with colored font SDK;
If being provided with colored font SDK at receiving station, then show corresponding colour font;
If being fitted without colored font SDK at receiving station, colored font SDK is installed, Then corresponding colour font is shown.
A kind of 18. methods of transmission colour character library, including:
At the starting station,
According to the colored character library allocation plan for pre-setting, black and white font file is generated into colored font file, And the first colored character library SDK for being configured to be installed on the starting station by colored font file;
According to the first colored character library SDK, font needed for the starting station application program is obtained corresponding first color Color font file, and send the corresponding font coding information of font needed for application program via communication network;
The corresponding first colored font file of the font according to needed for application program, at the starting station corresponding the is shown One colored font;
At receiving station,
The corresponding font coding information of font needed for application program is received via communication network, then detects described Whether receiving station is provided with the second colored character library SDK;
If the second colored character library SDK is provided with receiving station, according to font coding information from receiving station The corresponding second colored font file is obtained in the second colored character library SDK that place installs, and shows corresponding Second colored font;
If being fitted without the second colored character library SDK at receiving station, the described second colored character library is installed SDK, in the second colored character library SDK then installed from receiving station according to font coding information phase is obtained The the second colored font file answered, and show the corresponding second colored font.
19. methods according to claim 18, wherein, the described second colored character library SDK is any one Plant colored character library SDK corresponding with the corresponding font coding information of font needed for application program;Or it is described Second colored character library SDK and the first colored character library SDK are identical;Or the second colour character library SDK It is different with the first colored character library SDK.
A kind of 20. colored character library Transmission systems, including:
The starting station, is configured to:Colored character library SDK is obtained, according to colored character library SDK, acquisition is originated The colored font file of font needed for the application program run on standing, and according to the colored font file in institute State and show on the display unit at the starting station colored font, via communication network by font needed for the application program Colored font file send to receiving station;
And
Receiving station, is configured to:The colored font file is received, and judges whether coloured silk is installed at receiving station Color character library SDK, if it has, colored font is then shown on the display unit of receiving station, if it is not, Color character library SDK is installed, colored font is then shown on the display unit of receiving station.
A kind of 21. colored character library Transmission systems, including:
The starting station, is configured to:The first colored character library SDK is obtained, according to the described first colored character library SDK, The first colored font file of font needed for the application program run on the starting station is obtained, it is color according to described first Color font file shows the first colored font on the display unit at the starting station, and via
Communication network sends the font coding information of font needed for the application program of the starting station to receiving station;And
Receiving station, is configured to receive the font coding information of font needed for the application program, and judges to receive Whether the place of station is provided with the second colored character library SDK, if it has, then according to the font coding information second The second colored font file is obtained at colored character library SDK, according to the second colored font file in receiving station The second colored font is shown on display unit, if it is not, the second color character library SDK is installed, then Second colored font file is obtained at the second colored character library SDK according to the font coding information, according to Second colored font file shows the second colored font on the display unit of receiving station;
Wherein, described second colored character library SDK corresponding font of font for needed for any one and application program Corresponding colored character library SDK of coding information;Or second colour character library SDK and the first colored word Storehouse SDK is identical;Or second colour character library SDK and the first colored character library SDK difference.
CN201510652719.8A 2015-10-10 2015-10-10 Method, device and system for automatically generating and transmitting color word stock Active CN106569984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510652719.8A CN106569984B (en) 2015-10-10 2015-10-10 Method, device and system for automatically generating and transmitting color word stock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510652719.8A CN106569984B (en) 2015-10-10 2015-10-10 Method, device and system for automatically generating and transmitting color word stock

Publications (2)

Publication Number Publication Date
CN106569984A true CN106569984A (en) 2017-04-19
CN106569984B CN106569984B (en) 2020-06-16

Family

ID=58507433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510652719.8A Active CN106569984B (en) 2015-10-10 2015-10-10 Method, device and system for automatically generating and transmitting color word stock

Country Status (1)

Country Link
CN (1) CN106569984B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871161A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 Font processing method and device, electronic equipment in chat application
CN110032712A (en) * 2018-01-12 2019-07-19 北京方正手迹数字技术有限公司 A kind of font rendering device and terminal
CN110852037A (en) * 2019-09-18 2020-02-28 宁波江丰生物信息技术有限公司 Method for calling picture word stock
CN111611771A (en) * 2020-04-28 2020-09-01 维沃移动通信有限公司 Font file processing method, electronic device and readable storage medium
CN114513760A (en) * 2020-11-17 2022-05-17 华为技术有限公司 Font library synchronization method, device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983239A (en) * 2006-04-06 2007-06-20 华为技术有限公司 Method and system for inputting and displaying character
JP2007322810A (en) * 2006-06-01 2007-12-13 Alpha Blend:Kk Font database generating program and font data structure
CN101192212A (en) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 System and method for implementing font with frame on terminal
CN101686568A (en) * 2008-09-25 2010-03-31 深圳华为通信技术有限公司 Methods and terminals for transmitting and displaying text information
CN101968814A (en) * 2010-10-29 2011-02-09 四川长虹电器股份有限公司 Dot matrix font manufacturing method
CN102279841A (en) * 2011-08-31 2011-12-14 深圳市茁壮网络股份有限公司 Method for realizing multi-font display, user side and server
CN102332171A (en) * 2011-07-26 2012-01-25 深圳市万兴软件有限公司 Method and system for generating artistic fonts
CN104899184A (en) * 2014-03-04 2015-09-09 腾讯科技(深圳)有限公司 Character processing method, device and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983239A (en) * 2006-04-06 2007-06-20 华为技术有限公司 Method and system for inputting and displaying character
JP2007322810A (en) * 2006-06-01 2007-12-13 Alpha Blend:Kk Font database generating program and font data structure
CN101192212A (en) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 System and method for implementing font with frame on terminal
CN101686568A (en) * 2008-09-25 2010-03-31 深圳华为通信技术有限公司 Methods and terminals for transmitting and displaying text information
CN101968814A (en) * 2010-10-29 2011-02-09 四川长虹电器股份有限公司 Dot matrix font manufacturing method
CN102332171A (en) * 2011-07-26 2012-01-25 深圳市万兴软件有限公司 Method and system for generating artistic fonts
CN102279841A (en) * 2011-08-31 2011-12-14 深圳市茁壮网络股份有限公司 Method for realizing multi-font display, user side and server
CN104899184A (en) * 2014-03-04 2015-09-09 腾讯科技(深圳)有限公司 Character processing method, device and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871161A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 Font processing method and device, electronic equipment in chat application
CN109871161B (en) * 2017-12-01 2021-08-17 腾讯科技(深圳)有限公司 Font processing method and device in chat application and electronic equipment
CN110032712A (en) * 2018-01-12 2019-07-19 北京方正手迹数字技术有限公司 A kind of font rendering device and terminal
CN110852037A (en) * 2019-09-18 2020-02-28 宁波江丰生物信息技术有限公司 Method for calling picture word stock
CN110852037B (en) * 2019-09-18 2023-10-10 宁波江丰生物信息技术有限公司 Picture word stock calling method
CN111611771A (en) * 2020-04-28 2020-09-01 维沃移动通信有限公司 Font file processing method, electronic device and readable storage medium
WO2021218834A1 (en) * 2020-04-28 2021-11-04 维沃移动通信有限公司 Font file processing method, electronic device, and readable storage medium
CN111611771B (en) * 2020-04-28 2024-01-23 维沃移动通信有限公司 Font file processing method, electronic device and readable storage medium
US12026448B2 (en) 2020-04-28 2024-07-02 Vivo Mobile Communication Co., Ltd. Font file processing method, electronic device, and readable storage medium
CN114513760A (en) * 2020-11-17 2022-05-17 华为技术有限公司 Font library synchronization method, device and storage medium
WO2022105755A1 (en) * 2020-11-17 2022-05-27 华为技术有限公司 Font library synchronization method and apparatus, and storage medium
CN114513760B (en) * 2020-11-17 2023-03-24 华为技术有限公司 Font library synchronization method, device and storage medium

Also Published As

Publication number Publication date
CN106569984B (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN106569984A (en) Method, apparatus, and system for generating and transmitting color word stock automatically
CN102984151B (en) Method and the server of image data are provided to computing terminal
CN104023141B (en) The display packing of communication contact person information and client and electronic equipment
CN106780635B (en) Picture adaptation method and system of intelligent terminal
CN109979430B (en) Robot story telling method and device, robot and storage medium
CN107770618A (en) A kind of image processing method, device and storage medium
CN102648641A (en) Flexible font
CN111324343B (en) Code generation method and device
CN102279745A (en) Method and system for setting appearance of mobile terminal browser
CN103338235A (en) Method for realizing live wallpaper interactive and personalized creation on mobile phone
CN103472972A (en) Text display format setting unit and text display format setting method for mobile terminals and mobile terminal
CN1418415A (en) Server device, communication terminal, relay serer, conversion rule management server, and recording medium storing program
MX2007005796A (en) Methods, apparatus and computer program products supporting display generation in peripheral devices.
EP1429544A1 (en) Creating effects for images
CN105975168A (en) OSD menu fading-in and fading-out method and device
CN111369431A (en) Image processing method and device, readable medium and electronic equipment
CN107622098A (en) Method to set up and device, the storage medium and electronic installation of web site contents color
US20230342579A1 (en) Two-dimensional code generation method and related device
CN101431729A (en) Multimedia message generation method and apparatus, and its forwarding method and apparatus
CN103440123A (en) Method and device for setting individualized space on mobile terminal
US10115374B2 (en) Variable glyph encoding
CN1964527B (en) A method to display short message with graphical effect in mobile communication terminal
CN115424569A (en) Display control method, electronic equipment and display system
CN106610806B (en) Page information display method and device
KR102431183B1 (en) Smart electronic advertisement board system and control method thereof

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