CN104484315A - Method and system for regulating type font of single module - Google Patents

Method and system for regulating type font of single module Download PDF

Info

Publication number
CN104484315A
CN104484315A CN201410777772.6A CN201410777772A CN104484315A CN 104484315 A CN104484315 A CN 104484315A CN 201410777772 A CN201410777772 A CN 201410777772A CN 104484315 A CN104484315 A CN 104484315A
Authority
CN
China
Prior art keywords
font
module
text
application program
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410777772.6A
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.)
SHENZHEN BOWAY ELECTRONICS CO Ltd
Original Assignee
SHENZHEN BOWAY ELECTRONICS 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 SHENZHEN BOWAY ELECTRONICS CO Ltd filed Critical SHENZHEN BOWAY ELECTRONICS CO Ltd
Priority to CN201410777772.6A priority Critical patent/CN104484315A/en
Publication of CN104484315A publication Critical patent/CN104484315A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method and a system for regulating the type font of single modules. A type font file correspondingly matched with different application program modules of a terminal is built, according to text use requirements of different application program modules, the required type font size information is called from the type font file, and the regulation display on the type font size of the text information of the current application program module is realized. During the type font size setting, the automatic regulation can be realized according to different use requirements of different application program modules, so that the requirements of a user on the type font of the application program modules in different occasions at different time can be met. Compared with the prior art, the method and the system provided by the invention have the advantages that the type font size regulation mode in the terminal use process is simplified, the satisfaction degree of the user is improved, the operation and the use are flexible, and convenience and high speed are realized.

Description

A kind of method and system adjusting individual module font
Technical field:
The invention belongs to communication technical field, what be specifically related to is a kind of method and system adjusting individual module font.
Background technology:
Along with the fast development of mobile terminal (as smart mobile phone, panel computer etc.) and the depth and broadness of information interaction constantly increase, increasing user habit uses various terminal device read text, browses webpage and carry out information interaction.And in these operating process, user can be different according to respective use habit, required for adjustment, check the font size of text.Such as some user likes big font, and some then likes small font, even same people, in the different periods, different occasions, requires also to be not quite similar to the display of test font size.
Although had section terminating equipment can support the change of font size now, but user needs first to exit text reading interface, the menu that arranges entering terminal device is arranged, and then enter text reading interface, could change the size of font, this mode needs to carry out many more manipulations, if because will change the font of an application module, and affect the display effect of whole equipment, loaded down with trivial details and inconvenient; If the mood that user changes font is urgent, then can affect user mood again, reduce user satisfaction.
Summary of the invention:
Given this, the object of the present invention is to provide a kind of method and system adjusting individual module font, to simplify the mode of font size adjustment in terminal use procedure, improve the satisfaction of user.
For achieving the above object, the present invention mainly adopts following technical scheme:
On the one hand, the invention provides a kind of method adjusting individual module font, it specifically comprises step:
A, to set up and the font file of different application module Corresponding matching in terminal respectively;
B, text user demand according to current application program module, call the font file matched, and from font file, obtain the font size information needed for text;
C, the text message of renewal current application program module and the font size information of described acquisition match and show.
Further, step a comprises:
With text font under different application module original state for benchmark font, set up the font file reducing step by step from benchmark font and increase step by step, this font file and the application program module corresponding with it are associated, and corresponding stored.
Further, step b specifically comprises:
B1, obtain the instruction that text font corresponding in current application program module is regulated, if this instruction is font tune up instruction, then enter b2; If this instruction is font turn instruction down, then enter b4;
B2, judge if be maximum, then to terminate the font size rank of corresponding text in current application program module; Otherwise enter b3;
B3, call the font file mated with front application program module, therefrom obtain the font size information needed for text, and step by step the text font that front application program module is mated is tuned up the font to required size according to this font size information;
B4, judge if be minimum, then to terminate the font size rank of corresponding text in current application program module; Otherwise enter b5;
B5, call the font file mated with front application program module, therefrom obtain the font size information needed for text, and turn the text font that front application program module is mated down font to required size step by step according to this font size information.
In addition on the one hand, present invention also offers a kind of system adjusting individual module font, it includes:
Multiple different application program module, for running in terminal according to user instruction, and corresponding display text reading interface;
Character font data library module, for storing the font file with different application module Corresponding matching;
Font adjusting module, with character font data module relation, for the text user demand according to different application module, calls corresponding font file, and obtains font size information;
Upgrading display module, for upgrading the text message of current application program module, making it match with the font size information obtained, and corresponding display.
Further, this system also includes:
Font file sets up module, for text font under different application module original state for benchmark font, set up and reduce step by step and the font file that increases step by step from benchmark font.
Further, described font adjusting module comprises font and reduces module and font amplification module, and wherein, described font reduces module for turning the text font that front application program module is mated down font to required size step by step according to font size information; Described font amplification module is used for step by step the text font that front application program module is mated being tuned up the font to required size according to font size information.
The present invention is by setting up the font file with different application module Corresponding matching in terminal, according to the text user demand of different application module, from font file, transfer required font size information, realize carrying out adjustment display to the font size of the text message of current application program module.The present invention, can be different according to the request for utilization of different application module when setting font size, from Row sum-equal matrix, thus can meet the demand of user in different occasion different time application programs module font.Compared with prior art, this invention simplifies the mode that in terminal use procedure, font size adjusts, improve the satisfaction of user, there is operation use advantage flexibly, conveniently and efficiently.
Accompanying drawing illustrates:
Fig. 1 is the main flow figure that the present invention adjusts individual module font;
Fig. 2 is the particular flow sheet that the present invention adjusts individual module font;
Fig. 3 is the system principle diagram that the present invention adjusts individual module font.
Embodiment:
For setting forth thought of the present invention and object, below in conjunction with the drawings and specific embodiments, the present invention is described further.
Terminal described in the present embodiment includes but not limited to the terminal device such as smart mobile phone, panel computer, all applicable for the terminal can installing different application, some different application program modules are included in this type of corresponding terminal device, such as SMS module, text reading module, this generic module all includes text display function, needs the adjustment carrying out font.
Shown in Figure 1, Fig. 1 is the main flow figure that the present invention adjusts individual module font.Embodiments provide a kind of method adjusting individual module font, it is as follows that it specifically comprises step:
A, to set up and the font file of different application module Corresponding matching in terminal respectively;
Wherein, in the present embodiment
In the present embodiment with text font under different application module original state for benchmark font, set up and reduce step by step and the font file that increases step by step from benchmark font, this font file and the application program module corresponding with it are associated, and corresponding stored.
B, text user demand according to current application program module, call the font file matched, and from font file, obtain the font size information needed for text;
C, the text message of renewal current application program module and the font size information of described acquisition match and show.
As shown in Figure 2, Fig. 2 is the particular flow sheet that the present invention adjusts individual module font.
Wherein step b specifically comprises step:
B1, obtain the instruction that text font corresponding in current application program module is regulated, if this instruction is font tune up instruction, then enter b2; If this instruction is font turn instruction down, then enter b4;
B2, judge if be maximum, then to terminate the font size rank of corresponding text in current application program module; Otherwise enter b3;
B3, call the font file mated with front application program module, therefrom obtain the font size information needed for text, and step by step the text font that front application program module is mated is tuned up the font to required size according to this font size information;
B4, judge if be minimum, then to terminate the font size rank of corresponding text in current application program module; Otherwise enter b5;
B5, call the font file mated with front application program module, therefrom obtain the font size information needed for text, and turn the text font that front application program module is mated down font to required size step by step according to this font size information.
For smart mobile phone, the font text of foundation correspondence can be stored on the storage card of mobile phone by the present embodiment, by mobile phone, this font is managed, when needs change font, corresponding to inquiring about the font text on storage card, transfer, the font of correspondence can be presented on the display screen of mobile phone.
Its embodiment is as follows: first font file is stored in font database (storage card of mobile phone), various font files in font database are managed, then the font size needed by interface (human-computer interaction interface module) application programs of mobile phone is customized, and obtains corresponding character to extract; Then obtain the relevant information formulating font characters, carry out parsing to the font file of font database and extract, code value maps, and mathematical operation process, then, returns font characters information to man-machine interface; By human-computer interaction interface output character information to display interface.
When being carried out font size change by human-computer interaction interface, human-computer interaction interface pattern sends change request, after receiving this request, font size is configured, calculate the change of new font size to font display typesetting, and corresponding set operation is carried out to new configuration font, then use current font size to carry out typesetting again to display, store.Finally, the font output display after change, thus realize the operation to font change size.
It should be noted that, the present embodiment can arrange the shortcut changing font size when text reading, and one is increase font shortcut, and one for decreasing font size shortcut; When entering into text file reader, corresponding shortcut can be pressed according to demand.
If the shortcut pressed is enlarge font shortcut, so will judge that whether current font is the maximum font of mobile phone, if so, then endtext adjustment font operation; If not, then then according to the content after font adjustment, typesetting display is carried out to content of text after text file reader font being increased one-level.
If the shortcut pressed is the shortcut that decreases font size, then judge whether current font is mobile phone smallest font, if so, then endtext adjustment font operation; If not, then then according to the content after font adjustment, typesetting display is carried out to content of text after text file reader font being reduced one-level.
As shown in Figure 3, Fig. 3 is the system principle diagram that the present invention adjusts individual module font.The embodiment of the present invention additionally provides a kind of system adjusting individual module font, and it specifically comprises:
Multiple different application program module, for running in terminal according to user instruction, and corresponding display text reading interface;
In different application program modules, separately to there being a text, the text is when running this application program, and the text message of corresponding display, as SMS module, text reading module etc.
Font file sets up module, for text font under different application module original state for benchmark font, set up and reduce step by step and the font file that increases step by step from benchmark font;
Character font data library module, for storing the font file with different application module Corresponding matching;
Character font data library module, it can be storage card etc., and it can store the font file of the adjustment font size preset.
Font adjusting module, with character font data module relation, for the text user demand according to different application module, calls corresponding font file, and obtains font size information;
Font adjusting module comprises font and reduces module and font amplification module, and wherein, described font reduces module for turning the text font that front application program module is mated down font to required size step by step according to font size information; Described font amplification module is used for step by step the text font that front application program module is mated being tuned up the font to required size according to font size information.
For mobile phone, when needs amplify certain text font of mobile phone, control the font file of the font of one-level larger than current font in font amplification module call word volume data library module, then font adjustment is made to its corresponding text, then calling its each self-corresponding font adjusting module for other text makes its font constant, when needs reduce mobile phone text font, control the font file that font reduces the font of one-level less of current font in module call word volume data library module.
Upgrading display module, for upgrading the text message of current application program module, making it match with the font size information obtained, and corresponding display.
The present invention is when setting font size, do not wish that complete machine font size is all adjusted, but wish that each module has oneself Set font, user can be met like this at different occasion different time to the demand of module font, and when mobile phone is in text reading state, the object of the font adjustment of the text read can be realized by calling described font file, compared with it changes technology with existing complete machine font style, more flexible, convenient and quick.
More than that a kind of method and system adjusting individual module font provided by the present invention are described in detail, apply specific case herein to set forth structural principle of the present invention and embodiment, above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (6)

1. adjust a method for individual module font, it is characterized in that, comprise step:
A, to set up and the font file of different application module Corresponding matching in terminal respectively;
B, text user demand according to current application program module, call the font file matched, and from font file, obtain the font size information needed for text;
C, the text message of renewal current application program module and the font size information of described acquisition match and show.
2. the method for adjustment individual module font as claimed in claim 1, it is characterized in that, step a comprises:
With text font under different application module original state for benchmark font, set up the font file reducing step by step from benchmark font and increase step by step, this font file and the application program module corresponding with it are associated, and corresponding stored.
3. the method for adjustment individual module font as claimed in claim 1 or 2, it is characterized in that, step b specifically comprises step:
B1, obtain the instruction that text font corresponding in current application program module is regulated, if this instruction is font tune up instruction, then enter b2; If this instruction is font turn instruction down, then enter b4;
B2, judge if be maximum, then to terminate the font size rank of corresponding text in current application program module; Otherwise enter b3;
B3, call the font file mated with front application program module, therefrom obtain the font size information needed for text, and step by step the text font that front application program module is mated is tuned up the font to required size according to this font size information;
B4, judge if be minimum, then to terminate the font size rank of corresponding text in current application program module; Otherwise enter b5;
B5, call the font file mated with front application program module, therefrom obtain the font size information needed for text, and turn the text font that front application program module is mated down font to required size step by step according to this font size information.
4. adjust a system for individual module font, it is characterized in that, comprising:
Multiple different application program module, for running in terminal according to user instruction, and corresponding display text reading interface;
Character font data library module, for storing the font file with different application module Corresponding matching;
Font adjusting module, with character font data module relation, for the text user demand according to different application module, calls corresponding font file, and obtains font size information;
Upgrading display module, for upgrading the text message of current application program module, making it match with the font size information obtained, and corresponding display.
5. the system of adjustment individual module font according to claim 4, is characterized in that, also include:
Font file sets up module, for text font under different application module original state for benchmark font, set up and reduce step by step and the font file that increases step by step from benchmark font.
6. the system of adjustment individual module font according to claim 4, it is characterized in that, described font adjusting module comprises font and reduces module and font amplification module, wherein, described font reduces module for turning the text font that front application program module is mated down font to required size step by step according to font size information; Described font amplification module is used for step by step the text font that front application program module is mated being tuned up the font to required size according to font size information.
CN201410777772.6A 2014-12-15 2014-12-15 Method and system for regulating type font of single module Pending CN104484315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410777772.6A CN104484315A (en) 2014-12-15 2014-12-15 Method and system for regulating type font of single module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410777772.6A CN104484315A (en) 2014-12-15 2014-12-15 Method and system for regulating type font of single module

Publications (1)

Publication Number Publication Date
CN104484315A true CN104484315A (en) 2015-04-01

Family

ID=52758858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410777772.6A Pending CN104484315A (en) 2014-12-15 2014-12-15 Method and system for regulating type font of single module

Country Status (1)

Country Link
CN (1) CN104484315A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095231A (en) * 2016-06-02 2016-11-09 北京元心科技有限公司 Method and system for changing word size and terminal equipment
CN111988649A (en) * 2020-08-31 2020-11-24 青岛海信传媒网络技术有限公司 Control separation amplification method and display device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645970A (en) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 Method and device for adjusting test font size of mobile terminal
CN103076955A (en) * 2012-12-28 2013-05-01 北京小米科技有限责任公司 Method, device and terminal for adjusting characters of application
CN103425631A (en) * 2013-07-19 2013-12-04 百度在线网络技术(北京)有限公司 Method and device for acquiring font files of target characters in document files
CN103577387A (en) * 2012-07-24 2014-02-12 腾讯科技(深圳)有限公司 Typeface changing method and device
CN103902220A (en) * 2014-03-25 2014-07-02 深圳市中兴移动通信有限公司 Mobile terminal and interface display method thereof
US20140365881A1 (en) * 2013-06-07 2014-12-11 Apple Inc. Dynamically Adjusting Font Metrics

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645970A (en) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 Method and device for adjusting test font size of mobile terminal
CN103577387A (en) * 2012-07-24 2014-02-12 腾讯科技(深圳)有限公司 Typeface changing method and device
CN103076955A (en) * 2012-12-28 2013-05-01 北京小米科技有限责任公司 Method, device and terminal for adjusting characters of application
US20140365881A1 (en) * 2013-06-07 2014-12-11 Apple Inc. Dynamically Adjusting Font Metrics
CN103425631A (en) * 2013-07-19 2013-12-04 百度在线网络技术(北京)有限公司 Method and device for acquiring font files of target characters in document files
CN103902220A (en) * 2014-03-25 2014-07-02 深圳市中兴移动通信有限公司 Mobile terminal and interface display method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095231A (en) * 2016-06-02 2016-11-09 北京元心科技有限公司 Method and system for changing word size and terminal equipment
CN111988649A (en) * 2020-08-31 2020-11-24 青岛海信传媒网络技术有限公司 Control separation amplification method and display device

Similar Documents

Publication Publication Date Title
EP3531257A1 (en) Application interface management method and apparatus
US20120260202A1 (en) Customized launching of applications
CN101645970A (en) Method and device for adjusting test font size of mobile terminal
CN107515702B (en) Page interaction method and device
US20120185788A1 (en) User interface with vertical text elements for an east-asian defined layout
US10620803B2 (en) Selecting at least one graphical user interface item
CN102819584A (en) Interface file display method and system
CN108197091B (en) Method, system and related equipment for creating data table
CN105630511A (en) Font switching method and terminal equipment
MX2014009068A (en) Electronic book file processing method, terminal, and electronic device.
CN106201155B (en) Method for displaying user interface and system
CN103049261A (en) Mobile terminal font changing method
CN104156222A (en) Method for self-defining Android equipment desktop
CN101894021A (en) Method and system for realizing interface of embedded system
CN104484315A (en) Method and system for regulating type font of single module
CN104954568A (en) Mobile phone font dynamic control system and method
CN101345933A (en) Dynamic alternation and loading/unloading method for mobile phone display font style and font size
CN101373464B (en) Method, apparatus and system for automatically adopting form setting
CN201383830Y (en) Full-screen phonebook system of cellphone
CN103065655B (en) A kind of mobile terminal generates the method and system of song playlist automatically
CN110865827A (en) Data updating method, device and system
CN114840194A (en) Code and operating system generation method and device, server and electronic equipment
CN100489810C (en) Method and device for regulating process capacity of computer GPU
CN104423851A (en) System and method for adjusting image display
CN110908684A (en) Method and device for updating silk-screen information of configuration page memory

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

Application publication date: 20150401