CN106569984B - Method, device and system for automatically generating and transmitting color word stock - Google Patents

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

Info

Publication number
CN106569984B
CN106569984B CN201510652719.8A CN201510652719A CN106569984B CN 106569984 B CN106569984 B CN 106569984B CN 201510652719 A CN201510652719 A CN 201510652719A CN 106569984 B CN106569984 B CN 106569984B
Authority
CN
China
Prior art keywords
color
font
word stock
file
sdk
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.)
Active
Application number
CN201510652719.8A
Other languages
Chinese (zh)
Other versions
CN106569984A (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 Xinmei Hutong Technology Co ltd
Original Assignee
Beijing Xinmei Hutong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xinmei Hutong Technology Co ltd filed Critical Beijing Xinmei Hutong Technology Co ltd
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

Images

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, a device and a system for automatically generating and transmitting a color word stock, wherein the device for transmitting the color word stock comprises the following steps: color word stock generation unit: generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a color word stock SDK allowed on the device; a control unit: acquiring a color font library file corresponding to a font required by an application program on the device according to the color font library SDK, and sending a control command to a receiving and sending unit to control the receiving and sending of the color font file corresponding to the font required by the application program; a transmitting and receiving unit: receiving and transmitting a color font library file of fonts required by an application program via a communication network; a display unit: and displaying the corresponding color font according to the color font library file corresponding to the font required by the application program.

Description

Method, device and system for automatically generating and transmitting color word stock
Technical Field
The invention belongs to the technical field of word stock processing, and particularly relates to an automatic generation method and device of a color word stock, and a transmission method and device of the color word stock in a mobile internet.
Background
The manufacturing of the word stock is a time-consuming and labor-consuming project, the production of a set of word stock with specified codes generally requires a plurality of people and years of workload, and the procedures of organizing, digitally scanning, fitting a contour algorithm, unifying pen-shaped processing, complementing characters, matching symbols, loading a library, testing and the like need to be carried out on the sub-drafts, so that a large amount of manpower and material resources are needed.
With the popularization of personal computers and the rise of mobile internet, people have higher requirements on word processing, but the fonts in the existing word stock documents cannot meet the increasing personalized requirements, and word stock providers are required to provide word stock documents meeting the requirements of professional designers and the general public, for example, color word stock documents containing personalized designs. In the era of mobile internet, people use portable mobile terminals more for business processing and business activities, and the demand for speed and content enrichment of word stock processing is greatly increasing. In addition, word stock provided in the market at present is often pre-designed and cannot meet personalized requirements, in addition, even if existing word stock files are colored, all pictures need to be made and then packaged into word stock files, the loading speed of the word stock files is very slow, so that user experience is greatly influenced, and particularly under the environment of mobile internet, the requirements of instantly sending and receiving personalized colored fonts cannot be met.
In summary, in the existing word stock processing technology, there is no method and apparatus capable of generating a color word stock file by one key, and further there is no technology capable of transmitting a color word stock and color fonts according to a design personalized by a user in a mobile internet environment.
Disclosure of Invention
In view of the above problems and drawbacks of the prior art, the present invention provides a method and an apparatus for automatically generating a color word stock, and a method, an apparatus and a system for transmitting the color word stock in a mobile internet environment.
An object of the present invention is to provide a technique for automatically generating a color word stock, which enables a user to generate a color word stock file by one key.
Another object of the present invention is to provide a method, an apparatus and a system for generating a color font library, which can conveniently generate a font library file and transmit the same in real time in a mobile internet environment.
Another object of the present invention is to provide a user-configurable font rule base, which generates a color font library file by a single key of a command input by a user, and for the user, after directly loading the font library file, a personalized color font matched with the command input by the user can be obtained.
In order to achieve the above object, there is provided an apparatus for automatically generating a color word stock, comprising: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a black-and-white word library file containing black-and-white fonts and converting the black-and-white fonts into a black-and-white picture format; a rule base storing mapping rules for mapping characters into color font information; the processing unit is used for processing the fonts in the black and white picture format according to the mapping rule and a color word stock configuration scheme containing a preset character combination to generate a color font picture matched with the color word stock configuration scheme; and the compression and packaging unit is used for compressing the color font pictures and then packaging to generate a color font file.
In addition, a method for automatically generating a color word stock is also provided, which comprises the following steps: acquiring a black-and-white font library file containing black-and-white fonts, and converting the black-and-white fonts into a black-and-white picture format; storing mapping rules of the character and color font information in a rule base; processing the fonts in the black-and-white picture format according to the mapping rules and a color font configuration scheme containing a preset character combination to generate color font pictures matched with the color font configuration scheme; and compressing the color font pictures, and then packaging to generate a color font file.
In addition, there is provided an apparatus for transmitting a color word stock, comprising: color word stock generation unit: generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a color word stock SDK allowed on the device; a control unit: acquiring a color font library file corresponding to a font required by an application program on the device according to the color font library SDK, and sending a control command to a receiving and sending unit to control the receiving and sending of the color font file corresponding to the font required by the application program; a transmitting and receiving unit: receiving and transmitting a color font library file of fonts required by an application program via a communication network; a display unit: and displaying the corresponding color font according to the color font library file corresponding to the font required by the application program.
In addition, there is provided a color word stock transmitting apparatus including: a color word stock generating unit, which generates a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configures the color word stock file into a color word stock SDK (software Development Kit) installed on the device; the sending control unit is used for acquiring a color font library file corresponding to a font required by an application program running on the device according to the color font library SDK and sending the color font library file corresponding to the font required by the application program to the sending unit and the display unit; the display unit displays the color fonts according to the color font library files corresponding to the fonts needed by the application program; and the sending unit is used for sending the color font library file corresponding to the font needed by the application program to a network.
In addition, there is provided a color word stock transmitting apparatus including: color word stock generation unit: generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a color word stock SDK installed on the device; a transmission control unit: acquiring a color font library file corresponding to a font required by an application program running on the device according to the color font library SDK, sending the color font library file corresponding to the font required by the application program to a display unit, and sending font coding information corresponding to the font required by the application program running on the device to a sending unit; the display unit displays the color fonts according to the color font library files corresponding to the fonts needed by the application program; and the sending unit is used for sending the font coding information corresponding to the font required by the application program to a network.
In addition, there is provided a color word stock receiving apparatus including: the receiving unit is used for receiving the color font library file corresponding to the font of the application program; a detecting unit that detects whether or not a color font library SDK matching the color font library corresponding to the received application font exists in the receiving apparatus, and if not, installs the color font library SDK matching the color font library corresponding to the received application font at the receiving apparatus; and the display unit displays the color fonts according to the color font SDK matched with the color font corresponding to the received application program font.
In addition, there is provided a color word stock receiving apparatus including: a receiving unit which receives font encoding information corresponding to a font of an application program; a detecting unit for detecting whether the color font library SDK exists in the receiving device, if not, the color font library SDK is installed at the receiving device, and a display unit for displaying the color font matched with the font code information according to the font code information and the installed color font library SDK.
In addition, a method for transmitting a color word stock is provided, which comprises the following steps: at an originating station, generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a color word stock SDK installed on the originating station; acquiring a color word stock file corresponding to the font needed by the application program of the originating station according to the color word stock SDK, and sending the color word stock file through a communication network; displaying corresponding color fonts at an originating station according to color font library files corresponding to the fonts needed by an application program; receiving a color font library file corresponding to a font required by an application program at a receiving station through a communication network, and then detecting whether the receiving station is provided with the color font SDK; displaying the corresponding color font if the color font SDK is installed at the receiving station; if the color font SDK is not installed at the receiving station, the color font SDK is installed and then the corresponding color font is displayed.
In addition, a method for transmitting a color word stock is provided, which comprises the following steps: at an originating station, generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a first color word stock SDK installed on the originating station; acquiring a first color font library file corresponding to the font required by the application program of the originating station according to the first color font library SDK, and sending font coding information corresponding to the font required by the application program through a communication network; displaying a corresponding first color font at an originating station according to a first color font library file corresponding to a font required by an application program; receiving font coding information corresponding to a font required by an application program at a receiving station via a communication network, and then detecting whether a second color font library SDK is installed at the receiving station; if the second color font library SDK is installed at the receiving station, acquiring a corresponding second color font library file from the second color font library SDK installed at the receiving station according to the font coding information, and displaying a corresponding second color font; if the second color font library SDK is not installed at the receiving station, the second color font library SDK is installed, and then a corresponding second color font file is obtained from the second color font library SDK installed at the receiving station according to the font coding information, and the corresponding second color font is displayed.
In addition, a color word stock transmission system is also provided, including: the system comprises an originating station, a display unit and a display unit, wherein the originating station is configured to acquire a color word stock SDK, acquire a color word stock file of a font required by an application program running on the originating station according to the color word stock SDK, and display the color font on the display unit of the originating station according to the color word stock file; and the color font library file of the font needed by the application program is sent to a receiving station through a communication network; and the receiving station is configured to receive the color font library file of the font needed by the application program, judge whether the receiving station is provided with the color font library SDK or not, if so, display the color font on a display unit of the receiving station, and if not, install the second color font library SDK and then display the color font on the display unit of the receiving station.
In addition, a color word stock transmission system is also provided, including: an originating station configured to acquire a first color library SDK, acquire a first color library file of a font required by an application program running on the originating station according to the first color library SDK, display the first color font on a display unit of the originating station according to the first color library file, and transmit font encoding information of the font required by the application program of the originating station to a receiving station via a communication network; and the receiving station is configured to receive font coding information of the fonts needed by the application program, judge whether a second color font library SDK is installed at the receiving station, if so, obtain a second color font file at the second color font library SDK according to the font coding information, display the second color font on a display unit of the receiving station according to the second color font file, if not, install the second color font library SDK, then obtain the second color font file at the second color font library SDK according to the font coding information, and display the second color font on the display unit of the receiving station according to the second color font library file.
According to the technology for automatically generating the color word stock and the method and the system for transmitting the color word stock, the color word stock file with the user personalized configuration can be generated by one key, so that the time and the cost for generating the word stock are greatly reduced, and in addition, the requirements of an application program on color fonts in a mobile internet environment are greatly met by transmitting the color word stock file or font information on the network.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention. In the drawings:
FIG. 1 is a flow chart illustrating a method of automatically generating a color word stock in accordance with an embodiment of the present invention;
FIG. 1a is a diagram illustrating an example color font comprising a color scheme of a user color font library according to an embodiment of the present invention;
FIG. 1b is a diagram illustrating an example color font containing a color scheme of a user color library mask according to an embodiment of the present invention;
FIG. 1c is a diagram illustrating an example color font comprising a user color font library penetrative color scheme in accordance with an embodiment of the present invention;
FIG. 1d is a diagram illustrating an example color font comprising a user color library map color scheme according to an embodiment of the present invention;
FIG. 2 is a block diagram illustrating an apparatus for automatically generating a color word stock in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method of transmitting a color word stock in accordance with an embodiment of the present invention;
FIG. 4 is a flow chart illustrating another method of transferring a color word library in accordance with an embodiment of the present invention;
FIG. 5 is a block diagram illustrating an apparatus for transmitting a color word library according to an embodiment of the present invention;
fig. 6 is a block diagram showing a color font library transmitting apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram showing another color font library transmitting apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram showing a color word stock receiving apparatus according to an embodiment of the present invention;
fig. 9 is a block diagram showing another color font library transmitting apparatus according to an embodiment of the present invention;
FIG. 10 is a block diagram illustrating a color word stock transmission system according to an embodiment of the present invention;
FIG. 11 is a block diagram illustrating another color word stock transmission system according to an embodiment of the present invention;
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings and embodiments, it being understood that the specific embodiments described herein are only for the purpose of explaining the present invention and are not intended to limit the present invention.
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings. The suffixes "module" and "unit" of an element are used herein for convenience of description, and thus may be used interchangeably without any distinguishable meaning or function.
While all elements constituting an embodiment of the present invention are described as being combined into a single element or operated as a single element, the present invention is not necessarily limited to such an embodiment. According to the embodiments, all the elements within the object and scope of the present invention may be selectively combined to one or more elements and operated as one or more elements.
Example 1
Fig. 1 illustrates a method for generating a color word stock by one key according to the present invention, which is described in detail as follows:
in step S101, the user may set a personalized color scheme for the color font according to his/her preference and input the color scheme with the characters.
The user gives a personalized color scheme, that is, a color scheme command can be input by a keyboard or a preset text, and the color scheme of the user may be: the color picture font can be generated by processing the color font with the color value and the corresponding color value in the outer frame color thickness, the scale mode (from left to right, from top to bottom, from top left to bottom right, from top right to bottom left, and the like), and the scale value and the corresponding color value.
In step S102, a black-and-white font library file is acquired, and then black and white fonts in the black-and-white font library file are converted into a picture format.
The black-and-white word library file can be in a TTF (TuretTypeFornt) format, the format is a curve outline font description technology jointly developed by Apple and Microsoft, linear and quadratic B spline functions are adopted to describe the stroke outline of the word, the font description is flexible and convenient, the data volume is small, and a very good reduction result can be obtained. The black-and-white font library file can be in a dot matrix format file or a Type1 file format, the Type1 font library file format is a curved outline font description technology developed by Adobe corporation, PostScript language, also called PS format, is used, and the output quality of the font library file in the PS format is best and can be scaled at will.
The font format conversion may use a device or software for converting a vector font into a picture, and a commonly used format converter is a PIL format converter, which is a very popular graphics processing technology developed by Python corporation, and includes a plurality of graphics libraries, and functions in the graphics libraries may be called to convert the vector font into the picture. Of course, the vector font can also be converted into a picture format by using a common image processing technology, such as a common image processing software photoshop.
In step S103, a rule base is configured, a new mapping rule for mapping the characters into color fonts is stored in the rule base, and when a color font configuration scheme personalized by the user is received, the processing unit maps the user input configuration scheme with the rules stored in the rule base and generates a color font processing signal. The configuration scheme of the color word stock is specifically a preset character combination, and the character combination is from personalized input of a user or pre-configuration of a system. The processing unit is further described in example 2 below.
The rule base is a color font information mapping rule matched with the configuration scheme of the color font input by the user, and can be stored in the memory of the equipment in advance, and when the color font information mapping rule needs to be processed, the color font processing unit can call the rule base.
The following is an exemplary rule base, e.g., "+" indicates a preset configuration to which no specifically designated characters should be applied, and the row starting with a sequence number such as "1" is a dedicated configuration such that the characters corresponding to the sequence number of the following character configuration portion are used in the dedicated configuration, and if the user does not want to use the dedicated configuration, only the "+" of the color configuration portion may be retained and the character configuration portion may not be used.
The format of the configuration part consists of three parts, namely, frame color thickness plus proportional mode plus proportional color scheme, and the specific format of the three parts is as follows: [ outer frame color, thickness ratio mode-ratio color scheme; ratio manner-ratio color scheme.
Wherein, the color thickness of the outer frame is as follows: the color value and the thickness value of the outer frame are added so as to separate; the outer frame thickness units are pixels.
The proportion mode is as follows: sequence number 1 indicates from top to bottom, sequence number 2 indicates from left to right, and sequence number 3 indicates from top left to bottom right.
A proportional color scheme: consisting of a plurality of or one (monochrome) color scheme, so as to be spaced apart. Each color match is made up of a proportion and a color, in ": "separate; the occupation ratio is composed of a numerator + "/" + denominator, and even one hundred percent, the occupation ratio is represented in a manner of 1/1, so that the occupation ratio is easier to realize in program processing by a designer; thus, the color corresponding to each ratio is applied to the corresponding ratio, and the sum of all ratios should be 1.
The character configuration section: the sequence number is separated from the following character by tab character, the following character should be continuous without any other character, such as space line-feed character.
Of course, the mapping rules of the characters and the color fonts can also be defined in other ways, and the definition way is described above in order to make the mapping rules better processed by a computer.
And step S104, performing color font processing according to the generated color font processing signal and the converted black-white font picture, and generating a color font picture.
The process of generating the color font picture from the black-and-white font picture can be completed by an image processing algorithm, that is, the color image processing is performed on the black-and-white font picture according to a scheme configured by a user, specifically, the processing is performed according to specific settings such as a font outer frame, a color matching ratio mode, a ratio value, and the like, and the black-and-white font is processed into a font with a user color matching scheme. An effective processing algorithm is to process black and white pictures according to the graphics library in the pil (python Image library). Of course, it is also possible to process color fonts based on vector dot matrix or grid information of the fonts.
A plurality of color matching schemes input by a user are supported in the generation process of the color font, and the plurality of color matching schemes can be randomly collocated.
And step S105, compressing the processed color fonts, and finally packaging the compressed color fonts into a color font file containing the personalized settings of the user. Namely, the finally generated color word stock file contains the personalized elements of the user configuration scheme, which greatly facilitates professional word stock designers.
Generally, the storage space occupied by the processed color font is large, and when the color font is actually used, the color font needs to be compressed, for example, a 32-bit color font picture is compressed into an 8-bit font picture, so that the storage space of the color font is greatly saved, and the color font library file is also favorable for quickly generating the color font library file. After compressing the color font library file composed of color fonts, the color font library file needs to be packaged into a file that can be recognized or used by an operating system in a using device (such as a personal computer, a mobile device or an embedded processing device), such as a ttf format. In order to enable the processing of automatically generating the color font library to be quicker, when the color font picture files are coded, the files are coded according to the corresponding unicode coding command, so that the operation of generating the ttf font library file by packaging is greatly facilitated.
The following is an example of color word library processing based on user input color scheme commands.
For example, the user enters a color scheme command:
“*#FF0000,1 1-2/3:#00FF00,1/3:#0000FF;1-1/1:#00FFFF”
the color scheme command may represent an outer frame as red of 1 pixel thickness by rule base matching. There are two schemes, one is from top to bottom, with the top 2/3 being green and the bottom 1/3 being blue; the other is all green. Each word is randomly used from one of the two schemes.
The color scheme input by the user can be realized by taking out the words in the black-and-white word library one by PIL, converting the words into pictures and carrying out the following operations on each picture:
if the word is not specifically designated, the configuration of the word is found, and if a specific sequence number is designated, the configuration of the corresponding sequence number is found. And then proceeds according to the found configuration.
If the frame is set, find the edge of the word, and add the frame with the designed color and thickness.
If there are multiple sets of user color schemes, a random factor is generated and a set is randomly selected for processing.
The content parts of the pair of words are colored in a prescribed manner, such as from top to bottom, and in a prescribed scale, such as top 2/3 and bottom 1/3.
And packaging all the colored font pictures to generate a color font file which can be run or installed on a computer or a mobile device.
In the user's configuration scheme, besides personalized configuration of information such as the outer frame of the font, the color matching proportion mode, the proportion value and the like, mask design can be performed on the color font, namely, the user's color scheme needs to provide a plurality of mask shapes in the word stock, then a certain color matching (mask color, character color, part color of the character masked and the like) is given, and finally the picture word stock is generated.
In addition, the font penetration can be realized in the configuration scheme of the user, namely, the color configuration scheme requires the user to provide a background image, the characters are enabled to be exposed from the background image, other parts are discarded, and finally, the picture font library is generated.
In addition, a chartlet font can be realized in the configuration scheme of the user, namely, the user of the color scheme needs to provide a picture to be chartled, the picture is chartled on a font picture, and finally, a picture word stock is generated.
FIGS. 1a-1d respectively show exemplary diagrams of font effects generated by a user using the different color font configurations described above.
Example 2
Fig. 2 shows an apparatus 200 for automatically generating a color font file according to embodiment 2 of the present invention.
The apparatus for automatically generating a color font library file comprises an obtaining unit 202, which obtains a black-and-white font library file containing black-and-white fonts, wherein the obtaining unit 202 further has a format conversion function for converting the black-and-white fonts into black-and-white picture formats. The method in which the obtaining unit 202 generates the black-and-white picture format is as described in step S101 in embodiment 1.
The apparatus 200 for automatically generating a color font file further comprises a rule base 204 connected to the configuration unit, wherein a mapping rule for mapping characters into color font information is stored in the rule base, and a user can match a configuration scheme containing characters input by the user with specific color font information through the mapping rule.
And the processing unit 206 is used for processing the black-and-white picture format generated by the acquisition unit according to the mapping rule of the rule base and the color word stock configuration scheme which is input by the user and contains the preset character combination, and generating a color font picture matched with the color word stock configuration scheme of the user.
Specifically, the processing unit 206 may further identify a color font configuration scheme preset by the apparatus, where the preset font configuration scheme directly matches the mapping rule, and the user does not need to input a specific character command, and the processing unit 206 may process the black-and-white picture with the black-and-white font according to the preset color font configuration scheme and generate a color font picture matching the preset color font configuration scheme, and the color font configuration scheme processed by the processing unit may be partially defined by the user and partially automatically generated from the preset color font file apparatus.
The processing unit 206 further includes a frame color thickness processing module 212, which processes the fonts according to the corresponding font frame color thickness information in the color font library configuration command; a proportional mode processing module 214, configured to process the fonts according to the font proportional mode information corresponding to the color font configuration command; a proportional color scheme processing module 216, which processes the fonts according to the corresponding proportional color scheme information in the color word stock configuration command; the color font generation module 218 generates a color font picture according to the results of the font frame color thickness processing module, the proportional mode processing module and the proportional color scheme processing module.
The proportional mode processing module 214 processes the font according to the mapping rule in the rule base 204, that is, processes a part or all of the font from top to bottom, from left to right or from top to bottom, and these three processing modes can be randomly combined in implementation.
The proportional color scheme processing module 216 processes the fonts according to one or more color schemes, wherein each color scheme is composed of a proportion and a color, the color corresponding to each proportion is applied to the corresponding proportion, and when processing black and white pictures, multiple color schemes can be randomly collocated.
The compressing and packing unit 208 performs the processing as described in S105 above, and compresses the color font picture and then packs the compressed color font picture to generate a color font file.
Example 3
Fig. 3 shows a method for transmitting a color word stock according to embodiment 3 of the present invention. The method for transmitting the color word stock can transmit the generated color word stock file via a communication network. The network communication transmission mode may be one-to-one or one-to-many, wherein the communication network may be a wired network, a wireless network, a mobile network, or the like, and hereinafter, only one-to-one unicast is taken as an example where both sides of communication are one to one.
At the point of the origination station,
s301, acquiring a black-and-white word stock file at a communication starting station, and converting black and white fonts in the black-and-white word stock file into a black-and-white picture format;
s302, processing the fonts in the black and white picture format according to the preset color word stock configuration scheme and the rule base 204, generating the fonts in the color picture format matched with the preset color word stock configuration scheme,
s303, compressing and packaging the fonts in the color picture format to generate a color word stock file;
s304, the process of steps S201-S203 is implemented in the form of an SDK, or alternatively, a middleware is installed at the originating station, and if an SDK of a color font file matching the user' S configuration scheme is already installed at the originating station, steps S301-S304 may be omitted.
S304 is an optional process, and SDKs containing color font configuration schemes preset by the user may be downloaded in advance at the originating station and the receiving station of the communication, so that when the user starts the application program, the input fonts can be displayed in the configured color font, and the two parties do not need to generate the color font. In the transmission process, in order to save network bandwidth resources, the color word stock file required by the application can be transmitted, which is more beneficial to the application of instant messaging.
Furthermore, the configuration of the SDK may be defined by the user himself, or of course, by a font provider, i.e. the SDK provider, who provides pre-set color font schemes, which may be designed by professional designers and have a very good user experience. The designer can configure the designed color word stock file into an SDK mode and install the color word stock file on an operating system (for example) of the current mobile terminal easily, and the color word stock file is greatly convenient for users to spread. The professional color font and personalized service provided by the SDK provider has huge market prospect in the field of mobile internet. In addition, the configuration scheme of the color word stock can also come from forums, social networks and other open platforms specially used for designing the color word stock, a font provider provides a rule base of the color word stock in the SDK, and a user can put the self-configured scheme into the open platform for communication, so that the color word stock configuration scheme suitable for the user is selected and contained in the SDK.
S305, the originating station starts an application program, which includes an application program that needs to generate color fonts, such as an application program for performing instant chat, text messaging, and social media types in a mobile terminal or a PC. The originating station obtains the color font library file corresponding to the font required by the application program from the color font library file, specifically, queries the color font library file, such as the color font library TTF file, to which the color font required by the application program is applied from the SDK or middleware generated in step S304, and sends the queried color font library file of the font required by the application program to the receiving station via the communication network.
S306, the originating station displays the corresponding color fonts needed by the application program according to the color font library files corresponding to the fonts needed by the application program; at this time, the color font file contains color fonts matched with the user color font library configuration scheme, namely color fonts with user personalized settings;
at the location of the receiving station, it is,
s311, the receiving station receives the color font file of the font needed by the application program sent by the starting station;
s312, the receiving station starts a detection process, and detects whether the SDK or the middleware in the step S204 exists at the receiving station, namely whether the color word stock SDK or the middleware configured according to the user configuration scheme exists at the originating station. If so, the received font library file is used for directly displaying the color font required by the application program, if not, the steps S301-S304 are required to be operated at the receiving station, or the receiving station directly downloads and installs the SDK containing the user color font configuration scheme from the network and then displays the received color font library file as the color font required by the application program according to the SDK.
By the method of transmitting a color font library shown in fig. 3, a synchronized display of the user-configured color font scheme, i.e., the same color font seen by both parties, is achieved at the originating and receiving stations.
Example 4
In the application environment of the mobile internet, the demands of users are various, and users of both communication parties do not need synchronous display of color fonts, namely, an originating station displays one personalized color font, and a receiving station displays another personalized color font.
Fig. 4 is another method for transmitting a color word stock according to embodiment 4 of the present invention, in the method shown in fig. 4, the processes S401-S404 of generating the SDK at the originating station are completely the same as the steps S301-S304 in embodiment 3, except that in the embodiment shown in fig. 4, the originating station sends the font encoding information corresponding to the font required by the application program to the receiving station in S405, the font of the application program is encoded into any one of codes or signs representing the font information that can be easily processed on the computer, the relative information amount of the font encoding information is small, and any one of the codes that can be easily implemented by the processor, such as unicode, BIG5 and GBK, etc., can be used, which is more beneficial for the implementation of instant messaging.
S411, receiving font coding information corresponding to the font needed by the application program and sent by the originating station through a communication network;
s412, at the receiving station, starting detection processing, detecting that any color font file SDK is installed at the receiving station, if so, acquiring a corresponding color font file from the color font file SDK installed at the receiving station according to the font coding information, and displaying the corresponding color font. If not, any color library file SDK is installed and then the corresponding color font is displayed. Here the installed colour library file SDK at the receiving station may be the same as or different from the colour library file SDK configured by the user at the originating station.
In embodiment 4 illustrated in fig. 4, the originating station sends the required font code information for the application directly to the receiving station, where the font code information only contains the representation font information and no corresponding color and contour and other display information. If the receiving station is installed with the same SDK as the originating station, the receiving station can directly search the character library file in the SDK according to the received character encoding information and display the color characters, so that the format of the color character display in the originating station and the receiving station is still the same. If the receiving station does not install the same SDK as the originating station, at this time, there are two options, one is to download the SDK matched with the color font file configured in the originating station directly from the network, and then search and display the color font in the color font file, and in the other case, instead of downloading the same SDK as the originating station, the color font scheme configured in the locally installed SDK is selected, and then the color font is searched and displayed according to the color font file configured in the locally installed SDK, at this time, the display modes of the same font in the originating station and the receiving station are not the same. And when the color word stock file in the SDK is configured at the originating station and the receiving station, a user can freely select whether to adopt the color word stock configured by the other side, so that more personalized setting is realized.
It should be noted that the color word stock transmission scheme based on the mobile internet is particularly suitable for the social network scenario, for example, when a user publishes a color word stock SDK with his personalization on social media such as WeChat or qq and other chat rooms, the interested people in his friends circle will download the color word stock SDK, and they will display the color font with the personalized color word stock in the application program when they communicate with each other. Because the color word stock file runs locally on both communication parties, and only part of the color word stock file is transmitted in real time, the consumed resource is very small, and the popularization of the color word stock is facilitated.
In addition, in the communication process, if both sides are provided with the SDK of the color word stock, the color word stock file corresponding to the characters required by the application program is not sent, but sent according to the mode of sending the characters by the current application program, only at the receiving end, the codes corresponding to the characters are inquired about the corresponding color word stock, and the word stock files of the sending party and the receiving party can be not corresponding, and can be displayed according to the personalized color word stock schemes.
Example 5
Fig. 5 shows an apparatus 500 for transmitting a color word stock according to embodiment 5 of the present invention.
The apparatus 500 for transmitting a color word stock includes a color word stock generating unit 501, a control unit 502, a transmitting/receiving unit 503, and a display unit 504.
The color word stock generating unit 501 generates the black and white word stock file into the color word stock file according to the color word stock configuration scheme preset by the user, which can be implemented by the apparatus 100 for automatically generating a color word stock according to the embodiment shown in fig. 1, and the color word stock generating unit 501 also configures the color word stock file into the color word stock SDK that can be configured on the apparatus 500, of course, the apparatus 500 can also directly obtain the SDK with the user color word stock configuration scheme from a network or other media.
The control unit 502 is connected to the color library generating unit 501, and acquires a color library file corresponding to a font required for running an application in the apparatus 500, based on the color library SDK generated by the color library generating unit 501. The application in device 500 may be a text-type application, such as a chat room, WeChat, social software, etc. The control unit 502 then sends control commands to control the reception and transmission of the color library file corresponding to the font required by the application. The specific control process of the control unit may be the receiving and transmitting manner described in the embodiments of fig. 3 and 4.
The transmitting/receiving unit 503: a color font library file of a font required by an application or font encoding information of the font required by the application is received and transmitted via a communication network.
The display unit 504: and if the font coding information corresponding to the font required by the application program is received from the transceiving unit, the display unit searches the corresponding color font library file according to the SDK in the device and then displays the corresponding color font.
Example 6
Fig. 6 shows a color word stock transmission apparatus 600 according to embodiment 6 of the present invention, which includes a color word stock generation unit 601, which implements the same as the color word stock generation unit 501 of the functional apparatus 500. The apparatus 600 further includes a sending control unit 602, which obtains a color font file corresponding to an application program running on the apparatus 600 according to the color font SDK, and sends the color font file corresponding to a font required by the application program to the sending unit 603 and the display unit 604. The apparatus 600 further comprises a display unit 604: and displaying the color font according to the color font library file corresponding to the font required by the application program. The transmitting unit 604 transmits the color library file corresponding to the font required by the application program to a receiving station of the network or communication.
Example 7
Fig. 7 shows a color font transmitting apparatus 700 according to embodiment 7 of the present invention, and the color font generating unit 701 of the apparatus 700 and the color font generating unit 601 of the apparatus 600 are functionally identical. The sending control unit 702, the color font library SDK, obtains a color font library file corresponding to a font required by an application running on the device, sends the color font library file corresponding to the font required by the application to the display unit 703, and sends font encoding information corresponding to the font required by the application running on the device to the network. The display unit 704: and displaying the color fonts according to the color font library files corresponding to the fonts needed by the application program.
Examples 8 and 9
Fig. 8 and 9 show color font receiving apparatuses 800 and 900 corresponding to the color font transmitting apparatus shown in fig. 6 and 7.
The apparatus of fig. 8 includes a receiving unit 801 for receiving a color font library file corresponding to an application font. A detecting unit 802 that detects whether a color font SDK matching the color font corresponding to the received application font exists in the receiving apparatus, and if not, installs the color font SDK matching the color font corresponding to the received application font at the receiving apparatus. The display unit 803 displays the color font according to the color font SDK matching the color font corresponding to the received application font.
The apparatus of fig. 9 includes a receiving unit 901 for receiving font code information corresponding to the application font. A detecting unit 902 detects whether or not the color word stock SDK exists in the receiving apparatus, and if not, installs the color word stock SDK at the receiving apparatus. And the display unit 903 is used for displaying the color font matched with the font coding information according to the font coding information and the color font library SDK.
Examples 10 and 11
Fig. 10 and 11 show color font library transmission systems 1000 and 1100 according to embodiments 10 and 11 of the present invention.
As shown in fig. 10, the color font library transmission system 1000 includes an originating station 1001, a communication network 1002, and a receiving station 1003. The originating station 1001 is configured to obtain a color font library SDK, obtain a color font library file of a font required by an application program running on the originating station according to the color font library SDK, and display a color font on a display unit of the originating station according to the color font library file; a communication network 1002 connected to the transceiver devices of the originating station and the receiving station, for transmitting the color library file of the font required by the application program of the originating station to the receiving station; and a receiving station 1003 configured to receive the color font library file of the font required by the application program, and determine whether the color font library SDK is installed at the receiving station, if so, display the color font on a display unit of the receiving station, and if not, install the second color font library SDK and then display the color font on the display unit of the receiving station.
As shown in fig. 11, the color font library transmission system 1100 includes an originating station 1101, a communication network 1102, and a receiving station 1103. The originating station 1101 is configured to obtain a first color font library SDK, obtain a first color font library file of a font required by an application running on the originating station according to the first color font library SDK, and display a first color font on a display unit of the originating station according to the first color font library file; a communication network 1102 connected to the transceiving equipment of the originating station and the receiving station, for transmitting font code information of a font required by an application program of the originating station to the receiving station; and a receiving station 1103 configured to receive font encoding information of the font required by the application program, and determine whether a second color font library SDK is installed at the receiving station, if so, obtain a second color font file at the second color font library SDK according to the font encoding information, display the second color font on a display unit of the receiving station according to the second color font file, if not, install the second color font library SDK, then obtain the second color font file at the second color font library SDK according to the font encoding information, and display the second color font on the display unit of the receiving station according to the second color font library file. The second color font library SDK may be any color font library SDK corresponding to the font encoding information corresponding to the font required by the application. Which may be the same as or different from the first color library SDK and thus the first color font may also be the same as or different from the second color font.
As apparent from the above description, the method and apparatus described according to the embodiments of the present invention have the following effects.
First, the present invention provides a method and apparatus for automatically generating personalized color word stock file by one key for users, which greatly reduces the time and cost for generating color word stock.
Secondly, the color word stock file generated by the invention can individually customize special color matching schemes for certain words, and the whole word stock can be in various presentation forms and is flexible and changeable.
Fourthly, according to the color matching schemes of the various color fonts, the colorful color font library can be made, the extension scheme is simple, the speed of making the color fonts is greatly saved, the workload of a designer is saved, and the designer can make various color fonts with beautiful effects only by providing the color matching schemes.
Fourthly, the present invention provides a mapping rule base for mapping characters into color font information, which greatly facilitates the user's personalized design of color fonts.
Fifth, the present invention provides a method and apparatus for transmitting a color font library at an origination station and a reception station, by which a demand for a personalized font in the current mobile internet environment is greatly satisfied.
Sixth, the present invention provides a color font library file SDK in a mobile internet environment, greatly facilitates installation and use of a personalized color font library file in a portable terminal, and proposes a concept of a font library carrier, so that the color font library generation and transmission technology of the present invention has great commercial value.
The methods and apparatus described in the practice of the invention are particularly suited for use with personal computers, notebook computers, cell phones, embedded appliances, and the like, and the above-described embodiments of the invention may be implemented in one or a combination of hardware, firmware, and software. Embodiments of the invention may also be implemented as instructions stored on a computer-readable storage device, which may be read and executed by at least one processor to perform the method operations described herein. A computer-readable storage device may include any non-transitory mechanism for storing information in a form readable by a machine (e.g., a computer). For example, a computer-readable storage device may include Read Only Memory (ROM), Random Access Memory (RAM), magnetic disk storage media, optical storage media, flash memory devices, and other storage devices and media.
It should be appreciated that the functional units or capabilities described in this specification can be referred to or labeled as components or modules in order to more particularly emphasize their implementation independence. For example, a component or module may be implemented as a hardware circuit comprising custom Very Large Scale Integration (VLSI) circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A component or module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like. The components or modules may also be implemented in software for execution by various types of processors. An identified component or module of executable code may, for instance, comprise one or more physical or logical computer instructions which may, for instance, be organized as an object, procedure, or function. However, the identified components or modules need not be physically located together, but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the component or module and achieve a stated purpose for the component or module.
It is to be understood that the effects that can be achieved by the present invention by those skilled in the art are not limited to what has been particularly described hereinabove and other advantages of the present invention will be more clearly understood from the foregoing detailed description.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.
The following are additional examples of the above-described embodiments of the present invention.
Example 1 may include the subject matter (such as a method of automatically generating a color word stock, a module for performing an action, a machine-readable medium comprising instructions that when executed by a machine cause the machine to perform the action, or an apparatus configured to perform) of obtaining: acquiring a black-and-white font library file containing black-and-white fonts, and converting the black-and-white fonts into a black-and-white picture format; a rule storage step: storing mapping rules of the character and color font information in a rule base; the processing steps are as follows: processing the fonts in the black-and-white picture format according to the mapping rules and the color font configuration scheme to generate color font pictures matched with the color font configuration scheme, wherein the color font configuration scheme comprises a preset character combination; and (3) compressing and packaging: and compressing the color font pictures, and then packaging to generate a color font file.
Example 2 may include or may optionally be combined with the subject matter of example 1 to optionally include an aspect in which the preset character combinations are defined by the user himself, or are preconfigured by the apparatus, or are partially defined by the user himself and partially preconfigured by the apparatus. .
Example 3 may include, or may optionally be combined with, the subject matter of examples 1-2 to optionally include, in the processing, at least one of font outline color thickness information, font ratio manner information, and proportional color scheme information included in the color font library configuration scheme.
Example 4 may include, or may optionally be combined with, the subject matter of examples 1-3 to optionally include an aspect in which the processing step includes: and (3) processing the color thickness of the outer frame: processing the fonts according to the corresponding font outer frame color thickness information in the color font library configuration command; and (3) proportional mode treatment: processing the fonts according to the corresponding font proportion mode information in the color font library configuration command; and (3) processing a proportional color scheme: processing the fonts according to the corresponding proportional color matching scheme information in the color font configuration command; color font generation: and generating a color font picture according to the results processed by the font outer frame color thickness processing module, the proportional mode processing module and the proportional color scheme processing module.
Example 5 may include or may optionally be combined with the subject matter of examples 1-4 to optionally include an aspect in which the proportional manner processes a portion or all of the font from top to bottom, left to right, or top left to bottom right.
Example 6 may include, or may optionally be combined with, the subject matter of examples 1-5 to optionally include an aspect in which the proportional color scheme processing processes the font in accordance with one or more color schemes, wherein each of the color schemes consists of a proportion and a color, each proportion corresponding to the color applied on a respective proportion.
Example 7 may include, or may optionally be combined with, the subject matter of examples 1-6 to optionally include, an aspect in which the proportional color scheme process randomly collocates a plurality of the plurality of color schemes in processing a black and white picture.
Example 8 may include, or may optionally be combined with, the subject matter of examples 1-7 to optionally include, an aspect in which the color font library configuration scheme includes at least one of font mask color scheme information, font penetrations color scheme information, and font map color scheme information.
Example 9 may include an apparatus to automatically generate a color word stock, the apparatus comprising: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a black-and-white word library file containing black-and-white fonts and converting the black-and-white fonts into a black-and-white picture format; a rule base storing mapping rules for mapping characters into color font information; the processing unit is used for processing the fonts in the black and white picture format according to the mapping rule and a color word stock configuration scheme containing a preset character combination to generate color font pictures matched with the color word stock configuration scheme; and the compression and packaging unit is used for compressing the color font pictures and then packaging to generate a color font file.
Example 10 may include the apparatus of example 9, wherein the preset character combinations are defined by the user himself, or are pre-configured by the apparatus, or are defined in part by the user himself, and are pre-configured in part by the apparatus. .
Example 11 may include the apparatus of examples 9-10, wherein the color font library configuration scheme includes at least one of font outline color thickness information, font scale mode information, and scaled color scheme information.
Example 12 may include the apparatus of examples 9-11, wherein the processing unit comprises: the outline border color thickness processing module is used for processing the fonts according to the font outline border color thickness information corresponding to the color font library configuration command; the proportion mode processing module is used for processing the fonts according to the font proportion mode information corresponding to the color font configuration command; the proportional color scheme processing module is used for processing the fonts according to the corresponding proportional color scheme information in the color word stock configuration command; and the color font generating module generates a color font picture according to the result processed by the font outer frame color thickness processing module, the proportional mode processing module and the proportional color matching scheme processing module.
Example 13 may include the apparatus to automatically generate the color word stock of examples 9-12, wherein the proportional mode processing module processes a portion or all of the font in a top-to-bottom, left-to-right, or top-to-bottom-left manner.
Example 14 may include the apparatus of examples 9-13, wherein the scaled color scheme processing module is to process the font according to one or more color schemes, wherein each of the color schemes is comprised of a proportion and a color, and each proportion is applied to a corresponding proportion of the color.
Example 15 may include the apparatus of examples 9-15, wherein the scaled color scheme processing module randomly collocates the plurality of color schemes when processing black and white pictures.
Example 16 may include the apparatus of examples 9-16, wherein the color font library configuration scheme includes at least one of font mask color scheme information, font penetrations color scheme information, and font map color scheme information.
Example 17 may include the subject matter (such as a method of transmitting a color word stock file, a module for performing an action, a machine-readable medium comprising instructions that when executed by a machine cause the machine to perform an action, or an apparatus configured to perform) including: at the origination station: generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a color word stock SDK installed on the originating station; acquiring a color word stock file corresponding to the font needed by the application program of the originating station according to the color word stock SDK, and sending the color word stock file through a communication network; displaying corresponding color fonts at an originating station according to color font library files corresponding to the fonts needed by an application program; at the receiving station: receiving a color font library file corresponding to a font required by an application program through a communication network, and then detecting whether the receiving station is provided with the color font SDK; displaying the corresponding color font if the color font SDK is installed at the receiving station; if the color font SDK is not installed at the receiving station, the color font SDK is installed and then the corresponding color font is displayed.
Example 18 may include or may optionally be combined with the subject matter of example 17 to optionally include an aspect in which the generating of the black and white word stock file into the color word stock file may be handled by the automatically generating color word stock of examples 1-8.
Example 19 may include the subject matter (such as the method of transmitting the color font file, the module for performing the action, the machine-readable medium comprising instructions that when executed by a machine cause the machine to perform the action, or the apparatus configured to perform) including, at the origination station: generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a first color word stock SDK installed on the originating station; acquiring a first color font library file corresponding to the font required by the application program of the originating station according to the first color font library SDK, and sending font coding information corresponding to the font required by the application program through a communication network; displaying a corresponding first color font at an originating station according to a first color font library file corresponding to a font required by an application program; at the receiving station: receiving font coding information corresponding to a font required by an application program through a communication network, and then detecting whether a second color font library SDK is installed in the receiving station or not; if the second color font library SDK is installed at the receiving station, acquiring a corresponding second color font library file from the second color font library SDK installed at the receiving station according to the font coding information, and displaying a corresponding second color font; if the second color font library SDK is not installed at the receiving station, the second color font library SDK is installed, and then a corresponding second color font file is obtained from the second color font library SDK installed at the receiving station according to the font coding information, and the corresponding second color font is displayed.
Example 20 may include, or may optionally be combined with the subject matter of example 19 to optionally include, an aspect in which the generating of the black and white word stock file into the color word stock file is handled by the automatically generating color word stock of examples 1-8.
Example 21 may include or may optionally be combined with the subject matter of examples 19-20 to optionally include an aspect in which the second color word library SDK is any color word library SDK corresponding to font encoding information corresponding to a font required by an application; or the second color word stock SDK is the same as the first color word stock SDK; or the second color word stock SDK is different from the first color word stock SDK.
Example 22 may include an apparatus to transmit a library of color words, comprising: color word stock generation unit: generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a color word stock SDK allowed on the device; a control unit: acquiring a color font library file corresponding to a font required by an application program on the device according to the color font library SDK, and sending a control command to a receiving and sending unit to control the receiving and sending of the color font file corresponding to the font required by the application program; a transmitting and receiving unit: receiving and transmitting a color font library file of fonts required by an application program via a communication network; a display unit: and displaying the corresponding color font according to the color font library file corresponding to the font required by the application program.
Example 23 may include the apparatus of transmitting the color word stock of example 22, wherein the color word stock generating unit includes: the acquisition module acquires a black-and-white word stock file in a word stock and converts the font in the black-and-white word stock file into a black-and-white picture format; the rule base is connected with the configuration module and stores mapping rules for mapping the characters into the color font information; the configuration module is used for processing the fonts in the black and white picture format according to the mapping rule and a color word stock configuration scheme containing a preset character combination to generate color font pictures matched with the color word stock configuration scheme; the compression and packaging module is used for compressing the color fonts and then packaging to generate a color font file; and an SDK generation module that configures the color word stock file into a color word stock SDK that is installable on the device.
Example 24 may include the apparatus to transmit the color word stock of example 23, wherein the color word stock generating unit includes the color word stock automatic processing apparatus of examples 9-16.
Example 25 includes a color library delivery apparatus, comprising: a color word stock generating unit which generates a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme and configures the color word stock file into a color word stock SDK installed on the device; the sending control unit is used for acquiring a color font library file corresponding to a font required by an application program running on the device according to the color font library SDK and sending the color font library file corresponding to the font required by the application program to the sending unit and the display unit; the display unit displays the color fonts according to the color font library files corresponding to the fonts needed by the application program; and the sending unit is used for sending the color font library file corresponding to the font needed by the application program to a network.
Example 26 includes a color word stock transmission apparatus, comprising: color word stock generation unit: generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a color word stock SDK installed on the device; a transmission control unit: acquiring a color font library file corresponding to a font required by an application program running on the device according to the color font library SDK, sending the color font library file corresponding to the font required by the application program to a display unit, and sending font coding information corresponding to the font required by the application program running on the device to a sending unit; the display unit displays the color fonts according to the color font library files corresponding to the fonts needed by the application program; and the sending unit is used for sending the font coding information corresponding to the font required by the application program to a network.
Example 27 includes a color word stock receiving apparatus, comprising: the receiving unit is used for receiving the color font library file corresponding to the font of the application program; a detecting unit that detects whether or not a color font library SDK matching the color font library corresponding to the received application font exists in the receiving apparatus, and if not, installs the color font library SDK matching the color font library corresponding to the received application font at the receiving apparatus; and the display unit displays the color fonts according to the color font SDK matched with the color font corresponding to the received application program font.
Example 28 includes a color word stock receiving apparatus, comprising: a receiving unit which receives font encoding information corresponding to a font of an application program; a detecting unit for detecting whether the color font library SDK exists in the receiving device, if not, the color font library SDK is installed at the receiving device, and a display unit for displaying the color font matched with the font code information according to the font code information and the installed color font library SDK.
Example 29 includes a color library transmission system, comprising: an origination station configured to: acquiring a color font library SDK, acquiring a color font library file of a font required by an application program running on an originating station according to the color font library SDK, displaying the color font on a display unit of the originating station according to the color font library file, and transmitting the color font library file of the font required by the application program to a receiving station through a communication network; and a receiving station configured to: and receiving the color font library file, judging whether the receiving station is provided with a color font library SDK or not, if so, displaying the color font on a display unit of the receiving station, and if not, installing the second color font library SDK and then displaying the color font on the display unit of the receiving station.
Example 30 includes a color library transmission system, comprising: an origination station configured to: acquiring a first color font library SDK, acquiring a first color font library file of a font required by an application program running on an originating station according to the first color font library SDK, displaying a first color font on a display unit of the originating station according to the first color font library file, and transmitting font coding information of the font required by the application program of the originating station to a receiving station through a communication network; and the receiving station is configured to receive font coding information of the fonts needed by the application program, judge whether a second color font library SDK is installed at the receiving station, if so, obtain a second color font file at the second color font library SDK according to the font coding information, display the second color font on a display unit of the receiving station according to the second color font file, if not, install the second color font library SDK, then obtain the second color font file at the second color font library SDK according to the font coding information, and display the second color font on the display unit of the receiving station according to the second color font library file.
Example 31 includes the color word stock delivery system of example 30, wherein the second color word stock SDK is any one of the color word stocks SDK corresponding to font encoding information corresponding to a font required by the application; or the second color word stock SDK is the same as the first color word stock SDK; or the second color word stock SDK is different from the first color word stock SDK.

Claims (20)

1. An apparatus for automatically generating a color word stock, comprising:
the input unit is used for inputting a color word stock configuration scheme containing a preset character combination by a user;
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a black-and-white word library file containing black-and-white fonts and converting the black-and-white fonts into a black-and-white picture format;
the rule base stores mapping rules of the color font information matched with the color font configuration scheme input by the user;
the processing unit is used for processing the fonts in the black and white picture format according to the mapping rule and the color font configuration scheme to generate color font pictures matched with the color font configuration scheme; and
and the compressing and packaging unit is used for compressing the color font pictures and then packaging to generate a color font file.
2. The apparatus for automatically generating a color word stock according to claim 1, wherein the preset character combinations are defined by the user himself, or are pre-configured by the apparatus, or one part is defined by the user himself and the other part is pre-configured by the apparatus.
3. The apparatus for automatically generating a color font library according to claim 1, wherein the color font library configuration scheme includes at least one of font outline color thickness information, font ratio information and color scheme information.
4. The apparatus for automatically generating a color word stock according to claim 1, wherein the processing unit comprises:
the outline border color thickness processing module is used for processing the fonts according to the font outline border color thickness information corresponding to the color font library configuration command;
the proportion mode processing module is used for processing the fonts according to the font proportion mode information corresponding to the color font configuration command;
the proportional color scheme processing module is used for processing the fonts according to the corresponding proportional color scheme information in the color word stock configuration command;
and the color font generating module generates a color font picture according to the result processed by the font outer frame color thickness processing module, the proportional mode processing module and the proportional color matching scheme processing module.
5. The apparatus for automatically generating a color word stock according to claim 4, wherein the scale mode processing module processes a part or all of the fonts from top to bottom, left to right or top to bottom left to right.
6. The apparatus for automatically generating a color repertoire of claim 4, wherein the proportional color scheme processing module processes the fonts according to one or more color schemes, wherein each of the color schemes consists of a proportion and a color, each proportion corresponding to a color applied to a corresponding proportion.
7. The apparatus for automatically generating a color word stock according to claim 4, wherein the proportional color scheme processing module randomly collocates a plurality of proportional color schemes when processing black and white pictures.
8. The apparatus for automatically generating a color font library according to any one of claims 1 to 7, wherein the color font library configuration scheme includes at least one of font mask color scheme information, font penetrations color scheme information and font map color scheme information.
9. A method of automatically generating a color word stock comprising the steps of:
inputting a color word stock configuration scheme containing a preset character combination by a user;
acquiring a black-and-white font library file containing black-and-white fonts, and converting the black-and-white fonts into a black-and-white picture format;
storing mapping rules of the color font information matched with the color font configuration scheme input by a user in a rule base;
processing the fonts in the black-and-white picture format according to the mapping rules and the color font configuration scheme to generate color font pictures matched with the color font configuration scheme; and
and compressing the color font pictures, and then packaging to generate a color font file.
10. The method of automatically generating a color word stock according to claim 9, wherein the processing comprises:
and (3) processing the color thickness of the outer frame: processing the fonts according to the corresponding font outer frame color thickness information in the color font library configuration command;
and (3) proportional mode treatment: processing the fonts according to the corresponding font proportion mode information in the color font library configuration command;
and (3) processing a proportional color scheme: processing the fonts according to the corresponding proportional color matching scheme information in the color font configuration command; and
color font generation: and generating a color font picture according to the results processed by the font outer frame color thickness processing module, the proportional mode processing module and the proportional color scheme processing module.
11. An apparatus for transferring a library of color words, comprising:
color word stock generation unit: generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a color word stock SDK allowed on the device;
a control unit: acquiring a color font library file corresponding to a font required by an application program on the device according to the color font library SDK, and sending a control command to a receiving and sending unit to control the receiving and sending of the color font file corresponding to the font required by the application program;
a transmitting and receiving unit: receiving and transmitting a color font library file of fonts required by an application program via a communication network;
a display unit: displaying corresponding color fonts according to the color font library files corresponding to the fonts needed by the application program,
the color word stock file is generated by the apparatus for automatically generating a color word stock according to claim 1 or the method for automatically generating a color word stock according to claim 9.
12. A color font library transmitting device comprising:
a color word stock generating unit which generates a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme and configures the color word stock file into a color word stock SDK installed on the device;
the sending control unit is used for acquiring a color font library file corresponding to a font required by an application program running on the device according to the color font library SDK and sending the color font library file corresponding to the font required by the application program to the sending unit and the display unit;
the display unit displays the color fonts according to the color font library files corresponding to the fonts needed by the application program; and
a sending unit for sending the color font library file corresponding to the font needed by the application program to a network,
the color word stock file is generated by the apparatus for automatically generating a color word stock according to claim 1 or the method for automatically generating a color word stock according to claim 9.
13. A color font library transmitting device comprising:
color word stock generation unit: generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a color word stock SDK installed on the device;
a transmission control unit: acquiring a color font library file corresponding to a font required by an application program running on the device according to the color font library SDK, sending the color font library file corresponding to the font required by the application program to a display unit, and sending font coding information corresponding to the font required by the application program running on the device to a sending unit;
the display unit displays the color fonts according to the color font library files corresponding to the fonts needed by the application program; and
a sending unit for sending the font code information corresponding to the font needed by the application program to the network,
the color word stock file is generated by the apparatus for automatically generating a color word stock according to claim 1 or the method for automatically generating a color word stock according to claim 9.
14. A color font library receiving apparatus comprising:
the receiving unit is used for receiving the color font library file corresponding to the font of the application program;
a detecting unit that detects whether or not a color font library SDK matching the color font library corresponding to the received application font exists in the receiving apparatus, and if not, installs the color font library SDK matching the color font library corresponding to the received application font at the receiving apparatus; and
a display unit for displaying the color font according to the color font SDK matched with the color font corresponding to the received application font,
the color word stock file is generated by the apparatus for automatically generating a color word stock according to claim 1 or the method for automatically generating a color word stock according to claim 9.
15. A color font library receiving apparatus comprising:
a receiving unit which receives font encoding information corresponding to a font of an application program;
a detecting unit that detects whether or not a color word stock SDK exists in the receiving apparatus, and if not, installs the color word stock SDK at the receiving apparatus,
a display unit for displaying the color font matched with the font code information according to the font code information and the installed color font library SDK,
wherein the color word stock SDK is configured by a color word stock file generated by the apparatus for automatically generating a color word stock according to claim 1 or the method for automatically generating a color word stock according to claim 9.
16. A method of transmitting a library of color words, comprising:
at the point of the origination station,
generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a color word stock SDK installed on the originating station;
acquiring a color word stock file corresponding to the font needed by the application program of the originating station according to the color word stock SDK, and sending the color word stock file through a communication network;
displaying corresponding color fonts at an originating station according to color font library files corresponding to the fonts needed by an application program;
at the location of the receiving station, it is,
receiving a color font library file corresponding to a font required by an application program through a communication network, and then detecting whether the receiving station is provided with the color font SDK;
displaying the corresponding color font if the color font SDK is installed at the receiving station;
if said color font SDK is not installed at the receiving station, said color font SDK is installed, and the corresponding color font is then displayed,
the color word stock file is generated by the apparatus for automatically generating a color word stock according to claim 1 or the method for automatically generating a color word stock according to claim 9.
17. A method of transmitting a library of color words, comprising:
at the point of the origination station,
generating a color word stock file from the black and white word stock file according to a preset color word stock configuration scheme, and configuring the color word stock file into a first color word stock SDK installed on the originating station;
acquiring a first color font library file corresponding to the font required by the application program of the originating station according to the first color font library SDK, and sending font coding information corresponding to the font required by the application program through a communication network;
displaying a corresponding first color font at an originating station according to a first color font library file corresponding to a font required by an application program;
at the location of the receiving station, it is,
receiving font coding information corresponding to a font required by an application program through a communication network, and then detecting whether a second color font library SDK is installed in the receiving station or not;
if the second color font library SDK is installed at the receiving station, acquiring a corresponding second color font library file from the second color font library SDK installed at the receiving station according to the font coding information, and displaying a corresponding second color font;
if the second color font library SDK is not installed at the receiving station, installing the second color font library SDK, then acquiring a corresponding second color font file from the second color font library SDK installed at the receiving station according to the font coding information, and displaying a corresponding second color font,
the color word stock file is generated by the apparatus for automatically generating a color word stock according to claim 1 or the method for automatically generating a color word stock according to claim 9.
18. The method of claim 17, wherein the second color word stock SDK is any color word stock SDK corresponding to font code information corresponding to a font required by an application; or the second color word stock SDK is the same as the first color word stock SDK; or the second color word stock SDK is different from the first color word stock SDK.
19. A color font library transmission system comprising:
an origination station configured to: acquiring a color font library SDK, acquiring a color font library file of a font required by an application program running on an originating station according to the color font library SDK, displaying the color font on a display unit of the originating station according to the color font library file, and transmitting the color font library file of the font required by the application program to a receiving station through a communication network;
and
a receiving station configured to: receiving the color font library file, judging whether a color font library SDK is installed at the receiving station, if so, displaying color fonts on a display unit of the receiving station, if not, installing the color font library SDK, then displaying the color fonts on the display unit of the receiving station,
the color word stock file is generated by the apparatus for automatically generating a color word stock according to claim 1 or the method for automatically generating a color word stock according to claim 9.
20. A color font library transmission system comprising:
an origination station configured to: the method comprises the steps of obtaining a first color word stock SDK, obtaining a first color word stock file of a font needed by an application program running on an originating station according to the first color word stock SDK, displaying a first color font on a display unit of the originating station according to the first color word stock file, and displaying the first color font on the display unit of the originating station through the first color word stock file
The communication network sends the font coding information of the font needed by the application program of the originating station to the receiving station; and
a receiving station configured to receive font encoding information of a font required by the application program, and determine whether a second color font library SDK is installed at the receiving station, if so, obtain a second color font file at the second color font library SDK according to the font encoding information, display the second color font on a display unit of the receiving station according to the second color font file, if not, install the second color font library SDK, then obtain the second color font file at the second color font library SDK according to the font encoding information, and display the second color font on the display unit of the receiving station according to the second color font library file;
the second color font library SDK is any color font library SDK corresponding to the font coding information corresponding to the font required by the application program; or the second color word stock SDK is the same as the first color word stock SDK; or the second color word stock SDK is different from the first color word stock SDK,
the first color font file and the second color font file are generated by the apparatus for automatically generating a color font according to claim 1 or the method for automatically generating a color font according to claim 9.
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 CN106569984A (en) 2017-04-19
CN106569984B true 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4224895A4 (en) * 2020-11-17 2024-03-27 Huawei Tech Co Ltd Font library synchronization method and apparatus, and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN110852037B (en) * 2019-09-18 2023-10-10 宁波江丰生物信息技术有限公司 Picture word stock calling method
CN111611771B (en) * 2020-04-28 2024-01-23 维沃移动通信有限公司 Font file processing method, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104899184A (en) * 2014-03-04 2015-09-09 腾讯科技(深圳)有限公司 Character processing method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461155C (en) * 2006-04-06 2009-02-11 华为技术有限公司 Method and system for inputting and displaying character
CN102332171A (en) * 2011-07-26 2012-01-25 深圳市万兴软件有限公司 Method and system for generating artistic fonts

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104899184A (en) * 2014-03-04 2015-09-09 腾讯科技(深圳)有限公司 Character processing method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4224895A4 (en) * 2020-11-17 2024-03-27 Huawei Tech Co Ltd Font library synchronization method and apparatus, and storage medium

Also Published As

Publication number Publication date
CN106569984A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN106569984B (en) Method, device and system for automatically generating and transmitting color word stock
CN104794008B (en) Application program synchronization method, device and system
CN107770618B (en) Image processing method, device and storage medium
CN101350870A (en) Method for conversing image and content, mobile terminal and OCR server
CN107832273B (en) Ink screen content display method and device and display content pushing method and device
CN112651475B (en) Two-dimensional code display method, device, equipment and medium
CN109614173B (en) Skin changing method and device
CN105160033A (en) Expression character string processing method and device
CN112839223B (en) Image compression method, image compression device, storage medium and electronic equipment
US11425456B2 (en) Electronic device for playing high dynamic range video and method thereof
CN104899184A (en) Character processing method, device and system
US9047687B2 (en) Apparatus and method for transmitting handwriting animation message
CN110109594B (en) Drawing data sharing method and device, storage medium and equipment
US20230342579A1 (en) Two-dimensional code generation method and related device
KR100754796B1 (en) Apparatus and method for instant message display in portable terminal
CN113795015A (en) Data transmission method, device, equipment and computer readable storage medium
CN110912801B (en) Method, system and terminal device for detecting electronic red packet
CN110782387A (en) Image processing method and device, image processor and electronic equipment
CN110119241B (en) Screen-casting content evaluation method and device, user terminal and receiving terminal
CN112423024A (en) Video transcoding method and device, computer equipment and storage medium
US10115374B2 (en) Variable glyph encoding
CN106445478B (en) Method and device for converting graphic expressions
CN110708350B (en) Video pushing method, server and computer readable storage medium
CN110944359B (en) Control method and device of channel bandwidth, storage medium and station
KR101980629B1 (en) An apparatus for automatically executing a video, a method thereof and computer recordable medium storing program to perform the method

Legal Events

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