Movatterモバイル変換


[0]ホーム

URL:


CN103049261A - Mobile terminal font changing method - Google Patents

Mobile terminal font changing method
Download PDF

Info

Publication number
CN103049261A
CN103049261ACN201210531770XACN201210531770ACN103049261ACN 103049261 ACN103049261 ACN 103049261ACN 201210531770X ACN201210531770X ACN 201210531770XACN 201210531770 ACN201210531770 ACN 201210531770ACN 103049261 ACN103049261 ACN 103049261A
Authority
CN
China
Prior art keywords
font
file
default
folder
portable terminal
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
CN201210531770XA
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210531770XApriorityCriticalpatent/CN103049261A/en
Publication of CN103049261ApublicationCriticalpatent/CN103049261A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The invention is suitable for the technical field of mobile terminals, and provides a mobile terminal font changing method and a mobile terminal font changing device, wherein the method comprises the following steps: when a font selection instruction is received, searching a font file corresponding to the font selection instruction in a local preset folder; constructing a system default font class according to the font file; and instantiating the default font class and refreshing and drawing a display interface of the mobile terminal. Compared with the existing font replacement method, the method has the advantages that the third-party font file is stored in the local preset folder, the default font in the default font folder of the system cannot be covered, the user only needs to select the needed font option in the font style setting interface to complete the font replacement of the system, the operation method is simple, the user needs to recover the default font and select the default font option.

Description

A kind of portable terminal font replacing method
Technical field
The invention belongs to field of mobile terminals, relate in particular to a kind of portable terminal font replacing method.
Background technology
Comprise that at present the system font on the portable terminals such as mobile phone, palm PC can not change voluntarily, system is a built-in cover default font does not support to change the system font function.Because the default font in the same operating system is identical, the user can produce uninteresting sense unavoidably when the mobile portable terminal of long-term use, need to provide a kind of scheme that can change system font for this reason.Also occur at present a kind of system font on the internet and changed solution, at first need to obtain the root of system authority, font file in the deletion system default font file, and replace to the required font file of user, after restarting portable terminal, will show the corresponding font of font file in the system default font file folder like this, because this method operation more complicated, but also need the covering system default font, therefore, the user can't be reduced into the system default font.
Summary of the invention
In view of the above problems, the object of the present invention is to provide a kind of portable terminal font replacing method and device, be intended to solve existing system replacement method operation more complicated, and need the covering system default font, so that technical matters that can't the recovery system default font.
On the one hand, described portable terminal font replacing method comprises the steps:
When receiving the font selection instruction, in local default file folder, search font file corresponding to described font selection instruction;
According to described font file constructing system default font class;
The described default font class of instantiation refreshes the display interface of drawing portable terminal.
On the other hand, described portable terminal font more changing device comprise:
Font is searched the unit, is used for when receiving the font selection instruction, searches font file corresponding to described font selection instruction in local default file folder;
Default font class construction unit is used for according to described font file constructing system default font class;
Display unit is refreshed at the interface, is used for the described default font class of instantiation, refreshes the display interface of drawing portable terminal.
The invention has the beneficial effects as follows: in technical solution of the present invention, can define in this locality a default file folder that is used for preserving third party's font, store the various font files that the user needs in this document folder, font style at portable terminal arranges in the hurdle simultaneously, be provided with the font option corresponding with described various font files, when the user need to change font, in described font style the corresponding font option of selection in the hurdle is set, generate the font selection instruction, portable terminal is searched the corresponding font file of described font selection instruction again in the default file folder, portable terminal refreshes the display interface of drawing portable terminal according to this font file again, realized like this replacing system font, the present invention need not the font file of covering system acquiescence, in the default file folder, various third party's font files are arranged, the user only needs in font style the font of selecting required replacing in the interface to be set and can finish the font replacing like this, the method is simple to operate, and can not cover the original system default font, the user also can return to the system default font at an easy rate.
Description of drawings
Fig. 1 is the process flow diagram of the portable terminal font replacing method that provides of first embodiment of the invention;
Fig. 2 is the process flow diagram of the portable terminal font replacing method that provides of second embodiment of the invention;
Fig. 3 is the more block diagram of changing device of the portable terminal font that provides of third embodiment of the invention;
Fig. 4 is the more block diagram of changing device of the portable terminal font that provides of fourth embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
For technical solutions according to the invention are described, describe below by specific embodiment.
Embodiment one:
Fig. 1 shows the flow process of the portable terminal font replacing method that first embodiment of the invention provides, and only shows for convenience of explanation the part relevant with the embodiment of the invention.
The portable terminal font replacing method that the present embodiment provides comprises the steps:
Step S101, when receiving the font selection instruction, in local default file folder, search font file corresponding to described font selection instruction.
Described default file folder is for being used for preserving the file of third party's font file, the user can be placed on own required font file in this file, arrange in font style corresponding to portable terminal and to be present in font option corresponding to described each font file in the hurdle, when the user need to change font, enter the portable terminal font style interface is set, select the font option of own current required replacing to get final product, such as Chococooky, Rosemary, the font options such as Times New Roman, after the user clicks the font option, can generate corresponding font selection instruction, include font file information in this instruction, in described default file folder, search corresponding font file according to described font file information again.Font file is the font file of ttf form normally, such as in the Android system, the font file of system default is positioned at/the system/fonts/ catalogue under, the English character library of acquiescence is DroidSans.ttf, the Chinese word library of acquiescence is DroidSansFallback.ttf.In the present embodiment, third party's font file is kept in the default file folder, such as the default file sandwiched being set to/data/data/fonts/.
Step S102, according to described font file constructing system default font class.
Mobile terminal operating system is in rendered fonts, all be to make up default font class Typeface in the terminal program according to the ttf file, had after this default font class, system program and end application can call such, finish font and draw, so in this step, after finding the font file of user selection, make up the default font class according to described font file, for routine call.
Step S103, the described default font class of instantiation refresh the display interface of drawing portable terminal.
After making up completion system acquiescence class, the program in the terminal comprises that system program and the application program that is installed in the terminal both can use such, can redraw each display interface.
The present embodiment is compared with existing font replacement method, third party's font file is saved in the local default file folder, the default font of the present embodiment in can covering system default font file, the user only needs in font style the required font option of selection in the interface to be set, can finish the font of system is changed, method of operating is simple, and the user need to return to default font, selects the default font option to get final product.
Embodiment two:
Fig. 2 shows the flow process of the portable terminal font replacing method that second embodiment of the invention provides, and only shows for convenience of explanation the part relevant with the embodiment of the invention.
The portable terminal font replacing method that the present embodiment provides comprises the steps:
Step S201, establishment are used for preserving the file of third party's font, and this document folder presss from both sides for described default file.
This step does not limit concrete folder content, and prerequisite is that user and portable terminal have common cognition to get final product to this catalogue.
Step S202, when in finding described default file folder, the font of new interpolation being arranged, automatically arrange in described portable terminal font style and add corresponding font option in the hurdle;
Step S203, when in finding described default file folder, having font deleted, automatically in described portable terminal font style font option corresponding to deletion in the hurdle is set.
The user is in the process of using portable terminal, may add new font to described default file folder, perhaps delete old font, in order to make it possible to use the font of new interpolation, and prevent from using deleted font to cause the situation of system crash, among above-mentioned steps S202 and the S203, when in finding described default file folder, the font of new interpolation being arranged, automatically arrange in described portable terminal font style and add corresponding font option in the hurdle, when in finding described default file folder, having font deleted, automatically in described portable terminal font style font option corresponding to deletion in the hurdle is set, so in embodiments of the present invention, the font option that font style arranges in the hurdle can be automatically according to the corresponding interpolation of font file in the described default file folder or minimizing font option.
Step S204, when receiving the font selection instruction, in local default file folder, search font file corresponding to described font selection instruction;
Step S205, when receiving the default font selection instruction, the font file in the calling system default font file.
Arrange in the hurdle in font style, the user can select own required font option, also can select to return to default font, when selecting default font, directly call the font file in the default font file, if when selecting other fonts, in local default file folder, search font file corresponding to described font selection instruction.
Step S206, according to described font file constructing system default font class;
Step S207, the described default font class of instantiation refresh the display interface of drawing portable terminal.
The present embodiment has realized that further the user can place the font file of oneself liking in the default file folder, enriched the function of portable terminal according to the few font option that adds deduct of the font file automatic torque-increasing in the default file folder on the basis of embodiment one.
Embodiment three:
Fig. 3 shows the more structure of changing device of portable terminal font that third embodiment of the invention provides, only shows for convenience of explanation the part relevant with the embodiment of the invention.
The portable terminal font that the present embodiment provides more changing device comprises:
Font is searched unit 301, is used for when receiving the font selection instruction, searches font file corresponding to described font selection instruction in local default file folder;
Default font class construction unit 302 is used for according to described font file constructing system default font class;
Display unit 303 is refreshed at the interface, is used for the described default font class of instantiation, refreshes the display interface of drawing portable terminal.
Each functional unit 301-303 correspondence that the present embodiment provides has realized the step S101-S103 among the embodiment one, concrete, when receiving the font selection instruction, font is searched unit 301 and search font file corresponding to described font selection instruction in local default file folder, default font class construction unit 302 is again according to described font file constructing system default font class, the described default font class of display unit instantiation is refreshed at the interface, refreshes the display interface of drawing portable terminal.In the present embodiment, the user can be saved in third party's font file in the local default file folder, default font in so can covering system default font file, the user only needs in font style the required font option of selection in the interface to be set, can finish the font of system is changed, method of operating is simple.
Embodiment four:
Fig. 4 shows the more structure of changing device of portable terminal font that fourth embodiment of the invention provides, only shows for convenience of explanation the part relevant with the embodiment of the invention.
The portable terminal font that the present embodiment provides more changing device comprises:
File creating unit 401 is used for creating the file that is used for preserving third party's font, and this document folder is described default file folder;
Fontoption adding device 402 is used for when finding that described default file folder has the font of new interpolation, automatically arranges in described portable terminal font style and adds corresponding font option in the hurdle;
Fontoption delete cells 403 is used for automatically in described portable terminal font style font option corresponding to deletion in the hurdle being set when finding that described default file folder has font deleted;
Font is searchedunit 404, is used for when receiving the font selection instruction, searches font file corresponding to described font selection instruction in local default file folder;
Font call unit 405 is used for when receiving the default font selection instruction font file in the calling system default font file;
Default fontclass construction unit 406 is used for according to described font file constructing system default font class;
Display unit 407 is refreshed at the interface, is used for the described default font class of instantiation, refreshes the display interface of drawing portable terminal.
Each functional unit 401-407 correspondence that the present embodiment provides has realized the step S201-S207 among the embodiment two, on the other hand, originally be implemented on the basis of embodiment three, increasedfile creating unit 401, fontoption adding device 402, font option deletecells 403,font call unit 405, unit by described increase, realized according to the few font option that adds deduct of the font file automatic torque-increasing in the default file folder, the user can place the font file of oneself liking in the default file folder, the user also can select to return to the default system default font simultaneously, operating process is simple, has enriched the function of portable terminal.
One of ordinary skill in the art will appreciate that, realize that all or part of step in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be in being stored in a computer read/write memory medium, described storage medium is such as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

CN201210531770XA2012-12-112012-12-11Mobile terminal font changing methodPendingCN103049261A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201210531770XACN103049261A (en)2012-12-112012-12-11Mobile terminal font changing method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210531770XACN103049261A (en)2012-12-112012-12-11Mobile terminal font changing method

Publications (1)

Publication NumberPublication Date
CN103049261Atrue CN103049261A (en)2013-04-17

Family

ID=48061913

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210531770XAPendingCN103049261A (en)2012-12-112012-12-11Mobile terminal font changing method

Country Status (1)

CountryLink
CN (1)CN103049261A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103488748A (en)*2013-09-232014-01-01深圳Tcl新技术有限公司Tibetan font library configuration method and device for Android system
CN103761110A (en)*2014-02-182014-04-30优视科技有限公司Browser font displaying and processing method and device
CN105630511A (en)*2016-02-182016-06-01青岛海信移动通信技术股份有限公司Font switching method and terminal equipment
CN106528144A (en)*2016-11-042017-03-22上海传英信息技术有限公司Method for changing system font and user terminal
CN107153551A (en)*2017-05-242017-09-12努比亚技术有限公司A kind of font switching method, mobile terminal and computer-readable recording medium
CN107229470A (en)*2017-05-242017-10-03努比亚技术有限公司A kind of system font switching method, mobile terminal and computer-readable recording medium
CN108021567A (en)*2016-11-012018-05-11腾讯科技(深圳)有限公司The method and device of the adaptive custom font of browser
WO2019047881A1 (en)*2017-09-112019-03-14阿里巴巴集团控股有限公司Page display method and apparatus for application program (app), device, and storage medium
CN109561209A (en)*2018-11-222019-04-02努比亚技术有限公司A kind of font switching method, terminal and computer readable storage medium
CN111198742A (en)*2019-12-312020-05-26深圳Tcl新技术有限公司Customized font realization method, device, terminal and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101345933A (en)*2007-07-092009-01-14上海基信通讯技术有限公司Dynamic alternation and loading/unloading method for mobile phone display font style and font size
EP2042985A2 (en)*2003-09-022009-04-01Research In Motion LimitedMethod and data structure for user interface customization
CN102541828A (en)*2012-01-112012-07-04深圳市同洲视讯传媒有限公司Creating method for font example and embedded type system device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2042985A2 (en)*2003-09-022009-04-01Research In Motion LimitedMethod and data structure for user interface customization
CN101345933A (en)*2007-07-092009-01-14上海基信通讯技术有限公司Dynamic alternation and loading/unloading method for mobile phone display font style and font size
CN102541828A (en)*2012-01-112012-07-04深圳市同洲视讯传媒有限公司Creating method for font example and embedded type system device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103488748A (en)*2013-09-232014-01-01深圳Tcl新技术有限公司Tibetan font library configuration method and device for Android system
CN103488748B (en)*2013-09-232017-07-25深圳Tcl新技术有限公司A kind of Tibetan font library configuration method and device of android system
CN103761110B (en)*2014-02-182017-12-26优视科技有限公司browser font display processing method and device
CN103761110A (en)*2014-02-182014-04-30优视科技有限公司Browser font displaying and processing method and device
CN105630511A (en)*2016-02-182016-06-01青岛海信移动通信技术股份有限公司Font switching method and terminal equipment
CN108021567A (en)*2016-11-012018-05-11腾讯科技(深圳)有限公司The method and device of the adaptive custom font of browser
CN108021567B (en)*2016-11-012020-05-12腾讯科技(深圳)有限公司Method and device for self-adaptively customizing fonts of browser
CN106528144A (en)*2016-11-042017-03-22上海传英信息技术有限公司Method for changing system font and user terminal
CN106528144B (en)*2016-11-042019-09-17上海传英信息技术有限公司Replace the method and user terminal of system font
CN107229470A (en)*2017-05-242017-10-03努比亚技术有限公司A kind of system font switching method, mobile terminal and computer-readable recording medium
CN107153551A (en)*2017-05-242017-09-12努比亚技术有限公司A kind of font switching method, mobile terminal and computer-readable recording medium
CN107153551B (en)*2017-05-242020-11-10邳州市润宏实业有限公司Font switching method, mobile terminal and computer readable storage medium
CN107229470B (en)*2017-05-242021-01-01努比亚技术有限公司System font switching method, mobile terminal and computer readable storage medium
WO2019047881A1 (en)*2017-09-112019-03-14阿里巴巴集团控股有限公司Page display method and apparatus for application program (app), device, and storage medium
CN109561209A (en)*2018-11-222019-04-02努比亚技术有限公司A kind of font switching method, terminal and computer readable storage medium
CN111198742A (en)*2019-12-312020-05-26深圳Tcl新技术有限公司Customized font realization method, device, terminal and readable storage medium
CN111198742B (en)*2019-12-312024-07-05深圳Tcl新技术有限公司Customized font implementation method, device, terminal and readable storage medium

Similar Documents

PublicationPublication DateTitle
CN103049261A (en)Mobile terminal font changing method
US10699061B2 (en)Application page quick access
US10402470B2 (en)Effecting multi-step operations in an application in response to direct manipulation of a selected object
CN102549577A (en)Method and device for searching contacts, and mobile terminal applying same
US10620803B2 (en)Selecting at least one graphical user interface item
CN101571850A (en)Display packing and device of text document in support of page turn function
CN101807138A (en)Menu picture display device and method thereof
CN104765750A (en)Input language switch method and device for input method application
CN103235644A (en)Information displaying method and device
CN104142778A (en)Text processing method and device as well as mobile terminal
CN113900762B (en) Page display method, device, computer equipment and storage medium
CN106528026B (en)Text display method and device
CN101943954A (en)Mobile terminal text input method and device and mobile terminal
CN101431633A (en)Multi-language supported OSD display method and system
CN103428341B (en) Method and device for searching mobile phone contacts
CN107544723B (en)Application program interaction method, device and system
CN104267916A (en)Information display method and system and electronic equipment
CN101727204A (en)Character input system on communication terminal, character input method on communication terminal and communication terminal
CN104750661A (en)Method and device for selecting words and sentences of text
CN102097086A (en)Font display method for electronic device and electronic device thereof
CN114745585A (en)Subtitle display method, device, terminal and storage medium
CN111104403A (en)LSM tree data processing method, system, equipment and computer medium
CN105893336A (en)Text display method and terminal
CN104750689A (en)Picture display method and device used for browser startup process and terminal equipment
CN111459351A (en)Quick search method and device for terminal and computer storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20130417


[8]ページ先頭

©2009-2025 Movatter.jp