CN102739969A - Method and device for matching fonts under different operation systems - Google Patents

Method and device for matching fonts under different operation systems Download PDF

Info

Publication number
CN102739969A
CN102739969A CN2011101167268A CN201110116726A CN102739969A CN 102739969 A CN102739969 A CN 102739969A CN 2011101167268 A CN2011101167268 A CN 2011101167268A CN 201110116726 A CN201110116726 A CN 201110116726A CN 102739969 A CN102739969 A CN 102739969A
Authority
CN
China
Prior art keywords
font
coupling
under
operating system
mapping table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011101167268A
Other languages
Chinese (zh)
Inventor
郑培枫
吕精华
沈季
袁慧晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN2011101167268A priority Critical patent/CN102739969A/en
Publication of CN102739969A publication Critical patent/CN102739969A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a method and a device for matching fonts under different operation systems. The method comprises the following steps of: loading a mapping module in an operation system; and carrying out font matching under different systems. According to the method and the device disclosed by the invention, the mapping module is loaded, so that the problem of matching the fonts of the different operation systems is solved.

Description

The method and apparatus of font coupling under a kind of different operating system
Technical field
The present invention relates to field of broadcast televisions TV programme record and broadcast technology, the method and apparatus of font coupling under particularly a kind of different operating system.
Background technology
Along with the professional development of TV station; The different captions project files of making the territory or broadcasting between the territory become growing demand alternately; Simultaneously, the difference in the TV station is made between the territory and possibly is not responsible for implementing by same producer, therefore adopts the mode of formulating exchange agreement at present; The equipment of different manufacturers (like film titler) can generate the project file of following exchange agreement, can read the worker who follows exchange agreement simultaneously and become file.
In above-mentioned swap file process of reading, found the problem that font can not be mated under the different operating system.As: " black matrix " font under the Windows system; Font name is " HEI " under Apple OS system; The unmatched phenomenon of both sides' display effect may appear in the result who causes like this, like the project file of deriving based on the equipment of Apple OS, is " Hei " and be saved in the file structure to the font of a certain literal regulation; And when opening this document based on the equipment of Windows; Owing to can't find " HEI " font, the font of directly calling acquiescence is mated and played up (generally being defaulted as " Song typeface "), can't satisfy the practical significance of exchange like this.
Therefore, this paper provides a kind of method that font is mated under different operating system, has solved the unmatched problem of font under the different operating system.
Summary of the invention
The present invention provides the method and apparatus of font coupling under a kind of different operating system, has solved the method for font coupling between different operating system, and the needs that this method is equally applicable to outside the radio, TV and film industries carry out mutual demand to the engineering information that comprises font.
The present invention provides the method for font coupling under a kind of different operating system, comprising:
In operating system, load mapping block;
Carry out the font coupling under the different system.
The present invention also provides the device of font coupling under a kind of different operating system, comprising:
The mapping block load-on module is used for loading mapping block in operating system;
The font matching module is used to carry out the font coupling under the different system.
Compared with prior art, embodiments of the invention have the following advantages:
1, the font mapping table is provided, can in table, searches the font name that need mate;
2, the modification means of font mapping table are provided, can add, the font entry in the deletion, modification table;
3, adopt the mode of independent mapping block, as: dynamic base, com component etc., can dispose flexibly, and select whether to need to load by the user.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; The accompanying drawing that will use in will describing embodiment is below done to introduce simply; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of font coupling under a kind of different operating system of the embodiment of the invention;
Fig. 2 is the method flow diagram of font coupling under a kind of different operating system of another embodiment of the present invention;
Fig. 3 is the structure drawing of device of font coupling under a kind of different operating system of the embodiment of the invention;
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention will be carried out clear, intactly description, it is pointed out that described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides the method for font coupling under a kind of different operating system, and is as shown in Figure 1, comprising:
Step S1, in operating system, load mapping block.
At first, during program start, can specify whether load line module by the user, be example to load dynamic base, specifically comprises the steps:
Step S101, judge whether dynamic library file exists,, load with the API Calls mode if exist.
Step S102, judge whether to possess mapping table and call query interface, this mapping table can use database, text etc., and this patent is not done and forced regulation, but all should belong to the protection category.
Step S103, judge whether to possess the mapping table edition interface, can carry out increase, deletion and the modification of map entry according to this.
More than after three procedure accomplish, represent that then mapping block loads successfully.
Step S2, the font of carrying out under the different system are mated.
Mainly comprise the steps, as shown in Figure 2:
Step S201, call the mapping table query interface.
Step S202 input needs the source fontname of coupling;
For example: " black matrix " or " regular script " font under the input Windows system.
Step S203, judge whether there is the coupling font in the mapping table.
If there is the coupling font in step S204, with coupling font replacement source font information; If there is not the coupling font, then do not do replacement.
For example, in the mapping table, " HEI " or " KAI " under " black matrix " under the Windows system or " regular script " difference corresponding A pple OS system.Then under Apple OS system, replace " black matrix " or " regular script " with " HEI " body or " KAI " body.
In addition, can also edit the mapping table of font, as: add, delete, revise the font entry in the table.
Present embodiment has solved the problem of font coupling between different operating system through loading mapping block.
The embodiment of the invention also provides font coalignment under a kind of different operating system, and is as shown in Figure 3, comprising:
Mapping block load-on module 301, be used for loading mapping block in operating system.
Font matching module 302, the font that is used to carry out under the different system are mated.
In addition, font matching module 302 also comprises:
The source fontname obtains submodule 3021, is used to call the mapping table query interface, obtains the source fontname that needs coupling.
The coupling font is judged submodule 3022, is used for judging whether mapping table exists the coupling font, if there is the coupling font, with coupling font replacement source font information.
Present embodiment has solved the problem of font coupling between different operating system through loading mapping block.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (6)

1. the method for font coupling under the different operating system is characterized in that, comprising:
In operating system, load mapping block;
Carry out the font coupling under the different system.
2. the method for coupling described in claim 1 is characterized in that, said font coupling of carrying out under the different system specifically comprises the steps:
Call the mapping table query interface;
Input needs the source fontname of coupling;
Judge and whether have the coupling font in the mapping table;
If there is the coupling font, with coupling font replacement source font information; If there is not the coupling font, then do not do replacement.
3. the method for coupling described in claim 2 is characterized in that, what said mapping table used is database or text.
4. the method for coupling described in claim 2 or 3 is characterized in that the font entry in the said mapping table can be added, deletes, revise.
5. font coalignment under the different operating system is characterized in that, comprising:
The mapping block load-on module is used for loading mapping block in operating system;
The font matching module is used to carry out the font coupling under the different system.
6. the coalignment described in claim 5 is characterized in that, said font matching module also comprises:
The source fontname obtains submodule, is used to call the mapping table query interface, obtains the source fontname that needs coupling.
The coupling font is judged submodule, is used for judging whether mapping table exists the coupling font, if there is the coupling font, with coupling font replacement source font information.
CN2011101167268A 2011-05-06 2011-05-06 Method and device for matching fonts under different operation systems Pending CN102739969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101167268A CN102739969A (en) 2011-05-06 2011-05-06 Method and device for matching fonts under different operation systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101167268A CN102739969A (en) 2011-05-06 2011-05-06 Method and device for matching fonts under different operation systems

Publications (1)

Publication Number Publication Date
CN102739969A true CN102739969A (en) 2012-10-17

Family

ID=46994670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101167268A Pending CN102739969A (en) 2011-05-06 2011-05-06 Method and device for matching fonts under different operation systems

Country Status (1)

Country Link
CN (1) CN102739969A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844481A (en) * 2016-12-23 2017-06-13 北京信息科技大学 Font similarity and font replacement method
CN111240752A (en) * 2019-12-31 2020-06-05 北京元心科技有限公司 Operating system self-adaption method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844481A (en) * 2016-12-23 2017-06-13 北京信息科技大学 Font similarity and font replacement method
CN106844481B (en) * 2016-12-23 2021-01-05 北京信息科技大学 Font similarity and font replacement method
CN111240752A (en) * 2019-12-31 2020-06-05 北京元心科技有限公司 Operating system self-adaption method and system

Similar Documents

Publication Publication Date Title
CN102939612B (en) The method and system of the amendment to user interface components is merged in the user-defined situation of protection
CN107644286B (en) Workflow processing method and device
CN1215415C (en) Files management method and storage information reproducing device and storage information recording medium
CN103425468B (en) Plug-in type software integrating method and device
CN103049708B (en) A kind of audit collocation method of database and system
CN105426223A (en) Application loading method and device
CN112817657B (en) Application program starting item loading method, device, system and storage medium
CN110727581B (en) Crash positioning method and electronic equipment
CN105389184A (en) Configuration method and apparatus for product interface information
CN105607901A (en) System memory optimization method and apparatus as well as terminal device
CN111984239A (en) Page configuration method, device, server and storage medium
CN1975739A (en) Report generating method, equipment and system
US20090313641A1 (en) Application management methods and systems
CN105260459A (en) Search method and apparatus
CN102739969A (en) Method and device for matching fonts under different operation systems
CN102254023A (en) Method and device for editing webpage
CN103136264A (en) Accessory inquiring method and user terminal
CN111078905A (en) Data processing method, device, medium and equipment
CN105302728A (en) Testing method and device of SAP (System Applications and Products) interface
CN111523294A (en) PDF file-based comment separation processing method and device
CN102739990A (en) Subtitle material editing method and device with independent broadcast characteristics
CN109542531A (en) A kind of file layout method of adjustment and device
CN117573090B (en) Construction method, system and storage medium of application system
CN104035930A (en) Data storage method and terminal device
US20040254986A1 (en) Information processing apparatus and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121017