CN102930851A - Font size self-adapting method, system and terminal equipment - Google Patents

Font size self-adapting method, system and terminal equipment Download PDF

Info

Publication number
CN102930851A
CN102930851A CN2012103923067A CN201210392306A CN102930851A CN 102930851 A CN102930851 A CN 102930851A CN 2012103923067 A CN2012103923067 A CN 2012103923067A CN 201210392306 A CN201210392306 A CN 201210392306A CN 102930851 A CN102930851 A CN 102930851A
Authority
CN
China
Prior art keywords
font
screen resolution
rank
value
high product
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
CN2012103923067A
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.)
World (Shanghai) Technology Development Co., Ltd.
Original Assignee
Shenzhen Temobi Science and 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 Shenzhen Temobi Science and Technology Co Ltd filed Critical Shenzhen Temobi Science and Technology Co Ltd
Priority to CN2012103923067A priority Critical patent/CN102930851A/en
Publication of CN102930851A publication Critical patent/CN102930851A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a font size self-adapting method, system and terminal equipment. The method comprises the following steps of: firstly pre-setting the second font level and the second font value in the second screen resolution; when the first screen resolution and the first font level are obtained, obtaining the second screen resolution most approximate to the first screen resolution in terms of the width-height product; obtaining the first font value corresponding to the first font level according to the preset second font level in the second screen resolution and the second font value corresponding to the second font level; and finally drawing the font in the first screen resolution according to the first font value. Through the invention, the font self-adapting purpose is realized, the template maintenance difficulty and adapting cost are reduced, the upgrading process is simple, and the working efficiency is high.

Description

The adaptive method of a kind of font size, system and terminal device
Technical field
The present invention relates to the adaptive field of terminal, relate in particular to a kind of font size adaptive approach, system and terminal device.
Background technology
Portable terminal is numerous in the market, and the operating system of portable terminal and screen resolution are multifarious especially.The operating system of main flow has at present: Symbian S40, symbian S602 Nd, symbian S603 Rd, symbian^3, symbian anna, windows mobile 5.x-7, iPhone OS 3.x-5.x, OMS, android 1.5-4.x, Blackberry OS etc.; The main resolution of present intelligent type has: 240X320,320X240,320X480,320X640,480X800; 480X854,640X960,960*540,1024X720,1024X800 etc.;
High in order to solve mobile application and development threshold, the problem that adaptive workload is large has the people to propose the mobile middleware technology.The bottom difference that mobile middleware has shielded operating system has realized the cross operating system fast Development, and the developer only need to develop the professional interface of a cover can be at different operating systems.But mobile terminal screen size disunity, the literal size of demonstration is also inconsistent, and a cover masterplate can't be specified the pixel size of the font of all screen displays.In the case, the font demonstration for different screen needs to set different masterplates, specifies the font size of each screen, certainly will safeguard to masterplate like this, upgrade and bring very large inconvenience.
Summary of the invention
The purpose of the embodiment of the invention is to propose the adaptive method of a kind of font, being intended to solve mobile terminal screen size disunity causes the font size that shows also inconsistent, one cover masterplate adapts to the pixel size of all screen fonts, need to show for the font of different screen and formulate different masterplates, different templates adapts to the font size of different screen, has so just caused the technical matters that the masterplate maintenance difficulties is high, cost is high, upgrading is loaded down with trivial details, work efficiency is low.
The embodiment of the invention is achieved in that
Obtain the first screen resolution and the first font rank;
Obtain and immediate the second screen resolution of the wide high product of described the first screen resolution;
Obtain the first font value corresponding to described the first font rank according to the second font rank that presets in described the second screen resolution and the second font value corresponding to described the second font rank;
Draw font in described the first screen resolution according to described the first font value.
Another purpose of the embodiment of the invention is to propose the adaptive system of a kind of font, and described system comprises and obtains screen module, UI template, obtains font module and rendered fonts module;
The described screen module of obtaining links to each other with described UI template, is used for obtaining the first screen resolution and the first font rank;
Described UI template is obtained screen module and is obtained font module and link to each other with described, is used for obtaining and immediate the second screen resolution of the wide high product of described the first screen resolution;
The described font module of obtaining, link to each other with the rendered fonts module with described UI template, be used for obtaining the first font value corresponding to described the first font rank according to the second font rank and the second font value corresponding to described the second font rank that described the second screen resolution presets;
Described rendered fonts module links to each other with the described font module of obtaining, and is used for the font of drawing described the first screen resolution according to described the first font value.
Another purpose of the embodiment of the invention is to propose the adaptive terminal device of a kind of font, and described terminal device comprises described font adaptive system.
The present invention is by presetting the second font rank and the second font value in the second screen resolution, when getting access to the first screen resolution and the first font rank, obtain and immediate the second screen resolution of the wide high product of described the first screen resolution, obtain the first font value corresponding to described the first font rank according to the second font rank that presets in described the second screen resolution and the second font value corresponding to described the second font rank again, at last draw font in described the first screen resolution according to described the first font value.Realized the adaptive purpose of font, reduced masterplate maintenance difficulties and adaptive cost, escalation process is simple, high efficiency.Further also by the scaling between the wide high product of the first screen resolution and the wide high product of the second screen resolution described the second font value is carried out convergent-divergent, make the first font value can be according to the variation of the second font value and dynamic the variation do not need to increase the self-adaptation that the UI module can realize font.Further optimize the computing formula of scaling, can reach best font self-adaptation effect.
Description of drawings
Fig. 1 is the process flow diagram of a kind of font adaptive approach of the present invention;
Fig. 2 is the structural representation of a kind of font adaptive system the first preferred embodiment of the present invention;
Fig. 3 is the structural representation of a kind of font adaptive system the second preferred embodiment of the present invention;
Fig. 4 is the structural representation of a kind of font adaptive system the 3rd preferred embodiment of the present 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, for convenience of explanation, only show the part relevant with the embodiment of the invention.Should be appreciated that the specific embodiment that this place is described, only be used for explaining the present invention, not in order to limit the present invention.
The present invention is by presetting the second font rank and the second font value in the second screen resolution, when getting access to the first screen resolution and the first font rank, obtain and immediate the second screen resolution of the wide high product of described the first screen resolution, obtain the first font value corresponding to described the first font rank according to the second font rank that presets in described the second screen resolution and the second font value corresponding to described the second font rank again, at last draw font in described the first screen resolution according to described the first font value.Realized the adaptive purpose of font, reduced masterplate maintenance difficulties and adaptive cost, escalation process is simple, high efficiency.Further also by the scaling between the wide high product of the first screen resolution and the wide high product of the second screen resolution described the second font value is carried out convergent-divergent, make the first font value can be according to the variation of the second font value and dynamic the variation do not need to increase the self-adaptation that the UI module can realize font.Further optimize the computing formula of scaling, can reach best font self-adaptation effect.
Embodiment one
Fig. 1 is the process flow diagram of a kind of font adaptive approach of the present invention, and described method comprises step:
S101 obtains the first screen resolution and the first font rank;
Described the first screen resolution refers to pixel wide and the pixels tall that mobile terminal screen can be supported;
Described portable terminal refers to various mobile phones and panel computer;
The interface that provides according to mobile terminal operating system obtains pixel wide, pixels tall and the first font rank that described portable terminal current display mode sub-screen can be supported.
S102 obtains and immediate the second screen resolution of the wide high product of described the first screen resolution;
Described the second screen resolution is the UI template, has wherein preset the second font rank and the second font value;
Described the first font rank or the second font rank comprise more than one font grade, the font value that each font grade is corresponding different, and the unit of described font value is pixel;
For example the second font rank comprises the first estate, the second grade, the tertiary gradient, and each grade has corresponding font value, and the unit of described font value is pixel;
Described " obtaining and immediate the second screen resolution of the wide high product of described the first screen resolution " comprising:
Obtain the wide high product of described the first screen resolution;
Obtain the wide high product with immediate second screen resolution of wide high product of described the first screen resolution;
Wide high product according to described the second screen resolution obtains the second screen resolution;
The script that the application developer can use middleware to provide presets font value corresponding to a plurality of font grades in the second screen resolution, realizes the adaptive purpose of font;
For ease of understanding, illustrate, for example the second screen resolution comprises 176x220,240x320,320x480,360x640;
Preset the second font rank in described the second screen resolution, described the second font rank comprises the first estate, the second grade, the tertiary gradient, and each grade has corresponding font value, and the unit of described font value is pixel, is specially:
The font value of the first estate is that the font value of 12 pixels, the second grade is that the font value of 16 pixels, the tertiary gradient is 20 pixels among the 176x220, and the wide high product of described the second screen resolution 176x220 is 176*220=38720;
The font value of the first estate is that the font value of 14 pixels, the second grade is that the font value of 18 pixels, the tertiary gradient is 24 pixels among the 240x320, and the wide high product of described the second screen resolution 240x320 is 240*320=76800;
The font value of the first estate is that the font value of 16 pixels, the second grade is that the font value of 22 pixels, the tertiary gradient is 28 pixels among the 320x480, and the wide high product of described the second screen resolution 320x480 is 320*480=153600;
The font value of the first estate is that the font value of 18 pixels, the second grade is that the font value of 24 pixels, the tertiary gradient is 30 pixels among the 360x640, and the wide high product of described the second screen resolution 360x640 is 360*640=230400;
Obtain the wide high product dipS of the first screen resolution, compare with the wide high product of four the second screen resolutions that preset, if the wide high product dipS of described the first screen resolution is near 38720, then the font value in described the first screen resolution shows according to the font value among the 176x220;
If disS is near 76800, then the second corresponding screen resolution is 176x220;
If disS is near 153600, then the second corresponding screen resolution is 240x320;
If disS is near 230400, then the second corresponding screen resolution is 320x480;
If disS is more than or equal to 230400, then the second corresponding screen resolution is 360x640;
S103 according to the second font rank that presets in described the second screen resolution and the second font value corresponding to described the second font rank, obtains the first font value corresponding to described the first font rank;
Continue for example, after getting access to the second screen resolution, the second font rank in corresponding described the second screen resolution of the first font rank then, if at this moment described the second font rank is the first estate, at this moment the font value that just gets access to the first estate among the 176x220 is 12 pixels, the first font value corresponding to so described the first font rank just is 12 pixels, and the font in the first screen resolution will show according to 12 pixels; In like manner, if at this moment described the second font rank is the second grade, at this moment the font value that just gets access to second level among the 176x220 is 16 pixels, the first font value corresponding to so described the first font rank just is 16 pixels, and the font in the first screen resolution will show according to 16 pixels;
Further, described " according to the second font rank that presets in described the second screen resolution and the second font value corresponding to described the second font rank, obtaining the first font value corresponding to described the first font rank " comprising:
Obtain the scaling of the wide high product of the first screen resolution and the wide high product of the second screen resolution;
Carry out convergent-divergent according to the second font value that described scaling is corresponding with the second font rank in described the second screen resolution;
Obtain the first font value corresponding to described the first font rank according to the second font value behind the convergent-divergent.
Described scaling is the ratio of the wide high product of the first screen resolution and the wide high product of the second screen resolution;
Described scaling can also be 1+ ((scaling-1)/0.5) * 0.1.Can reach best font self-adaptation effect this moment, avoids occurring font and show that the position between incomplete or font and the screen is inharmonious; Wherein, the wide high product of the wide high product of scaling=first screen resolution/second screen resolution;
Illustrate: the ratio r ate that obtains the wide high product of the first screen resolution and the wide high product of the second screen resolution, the wide high product of the wide high product of rate=the first screen resolution/second screen resolution, carry out convergent-divergent according to the second font value that described ratio is corresponding with the second font rank in described the second screen resolution, the second font value behind the convergent-divergent just is the first font value corresponding to the first font rank; Described the first font value is the even number that is not less than described the first font value, i.e. the first font value=(the first font value %2==0? the first font value: the first font value+1), represent whether the first font value equals 0 divided by 2, if then the first font value does not just need to change, then the first font value adds 1 if not;
Further specify the font value of the first estate of font value small=rate* second screen resolution of the first estate in the first font rank; The font value of the second grade of font value mid=rate* second screen resolution of the second grade in the first font rank; The font value of the tertiary gradient of font value big=rate* second screen resolution of the tertiary gradient in the first font rank;
Is wherein the font value in the first font rank got the even number that is not less than described font value, i.e. small=(small%2==0? small:small+1); Mid and big are also with the value of small;
In like manner can calculate the font value of the second grade, the tertiary gradient;
S104 draws font in described the first screen resolution according to described the first font value.
Described being plotted as according to the first font value is presented at portable terminal with the font in described the first screen resolution.
The present invention is by presetting the second font rank and the second font value in the second screen resolution, when getting access to the first screen resolution and the first font rank, obtain and immediate the second screen resolution of the wide high product of described the first screen resolution, obtain the first font value corresponding to described the first font rank according to the second font rank that presets in described the second screen resolution and the second font value corresponding to described the second font rank again, at last draw font in described the first screen resolution according to described the first font value.Realized the adaptive purpose of font, reduced masterplate maintenance difficulties and adaptive cost, escalation process is simple, high efficiency.Further also by the scaling between the wide high product of the first screen resolution and the wide high product of the second screen resolution described the second font value is carried out convergent-divergent, make the first font value can be according to the variation of the second font value and dynamic the variation do not need to increase the self-adaptation that the UI module can realize font.Further optimize the computing formula of scaling, can reach best font self-adaptation effect.
Embodiment two
Fig. 2 is the structural representation of a kind of font adaptive system the first preferred embodiment of the present invention.Described system comprises and obtains screen module, UI template, obtains font module and rendered fonts module;
The described screen module of obtaining links to each other with described UI template, is used for obtaining the first screen resolution and the first font rank;
Described the first screen resolution refers to pixel wide and the pixels tall that mobile terminal screen can be supported;
Described portable terminal refers to various mobile phones and panel computer;
The interface that provides according to mobile terminal operating system obtains pixel wide, pixels tall and the first font rank that described portable terminal current display mode sub-screen can be supported;
Described UI template is obtained screen module and is obtained font module and link to each other with described, is used for obtaining and immediate the second screen resolution of the wide high product of described the first screen resolution;
Described the second screen resolution is the UI template, has wherein preset the second font rank and the second font value; Described the first font rank or the second font rank comprise more than one font grade, the font value that each font grade is corresponding different, and the unit of described font value is pixel;
For example the second font rank comprises the first estate, the second grade, the tertiary gradient, and each grade has corresponding font value, and the unit of described font value is pixel;
The further optimization of such scheme is, described UI module comprises the first acquiring unit, second acquisition unit and the 3rd acquiring unit, is illustrated in figure 3 as the structural representation of a kind of font adaptive system the second preferred embodiment of the present invention;
Described the first acquiring unit links to each other with second acquisition unit with the described screen module of obtaining, and is used for obtaining the wide high product of described the first screen resolution;
Described second acquisition unit links to each other with the 3rd acquiring unit with described the first acquiring unit, is used for obtaining the wide high product with immediate second screen resolution of wide high product of described the first screen resolution;
Described the 3rd acquiring unit, with described second acquisition unit with obtain font module and link to each other, be used for obtaining described the second screen resolution according to the wide high product of described the second screen resolution.
The script that the application developer can use middleware to provide presets font value corresponding to a plurality of font grades in the second screen resolution, realizes the adaptive purpose of font;
For ease of understanding, illustrate, for example the second screen resolution comprises 176x220,240x320,320x480,360x640;
Preset the second font rank in described the second screen resolution, described the second font rank comprises the first estate, the second grade, the tertiary gradient, and each grade has corresponding font value, and the unit of described font value is pixel, is specially:
The font value of the first estate is that the font value of 12 pixels, the second grade is that the font value of 16 pixels, the tertiary gradient is 20 pixels among the 176x220, and the wide high product of described the second screen resolution 176x220 is 176*220=38720;
The font value of the first estate is that the font value of 14 pixels, the second grade is that the font value of 18 pixels, the tertiary gradient is 24 pixels among the 240x320, and the wide high product of described the second screen resolution 240x320 is 240*320=76800;
The font value of the first estate is that the font value of 16 pixels, the second grade is that the font value of 22 pixels, the tertiary gradient is 28 pixels among the 320x480, and the wide high product of described the second screen resolution 320x480 is 320*480=153600;
The font value of the first estate is that the font value of 18 pixels, the second grade is that the font value of 24 pixels, the tertiary gradient is 30 pixels among the 360x640, and the wide high product of described the second screen resolution 360x640 is 360*640=230400;
Obtain the wide high product dipS of the first screen resolution, compare with the wide high product of four the second screen resolutions that preset, if the wide high product dipS of described the first screen resolution is near 38720, then the font value in described the first screen resolution shows according to the font value among the 176x220;
If disS is near 76800, then the second corresponding screen resolution is 176x220;
If disS is near 153600, then the second corresponding screen resolution is 240x320;
If disS is near 230400, then the second corresponding screen resolution is 320x480;
If disS is more than or equal to 230400, then the second corresponding screen resolution is 360x640;
The described font module of obtaining, link to each other with the rendered fonts module with described UI template, for the second font rank and the second font value corresponding to described the second font rank that preset according to described the second screen resolution, obtain the first font value corresponding to described the first font rank;
Continue for example, after getting access to the second screen resolution, the second font rank in corresponding described the second screen resolution of the first font rank then, if at this moment described the second font rank is the first estate, at this moment the font value that just gets access to the first estate among the 176x220 is 12 pixels, the first font value corresponding to so described the first font rank just is 12 pixels, and the font in the first screen resolution will show according to 12 pixels; In like manner, if at this moment described the second font rank is the second grade, at this moment the font value that just gets access to second level among the 176x220 is 16 pixels, the first font value corresponding to so described the first font rank just is 16 pixels, and the font in the first screen resolution will show according to 16 pixels;
Described rendered fonts module links to each other with the described font module of obtaining, and is used for the font of drawing described the first screen resolution according to described the first font value.
Such scheme further optimized be, the described font module of obtaining comprises and obtains scaling unit, unit for scaling and obtain the font value cell, is illustrated in figure 4 as the structural representation of a kind of font adaptive system the 3rd preferred embodiment of the present invention;
The described scaling unit that obtains links to each other with unit for scaling with described the 3rd acquiring unit, is used for obtaining the scaling of the wide high product of the first screen resolution and the wide high product of the second screen resolution;
Described unit for scaling obtains the scaling unit and obtains the font value cell and link to each other with described, is used for according to described scaling described the second font value being carried out convergent-divergent;
The described font value cell that obtains links to each other with the rendered fonts module with described unit for scaling, is used for obtaining the first font value corresponding to described the first font rank according to the second font value behind the convergent-divergent.
Described scaling is the ratio of the wide high product of the first screen resolution and the wide high product of the second screen resolution;
Described scaling can also be 1+ ((scaling-1)/0.5) * 0.1.Can reach best font self-adaptation effect this moment, avoids occurring font and show that the position between incomplete or font and the screen is inharmonious; Wherein, the wide high product of the wide high product of scaling=first screen resolution/second screen resolution;
Illustrate: obtain the ratio r ate of the wide high product of the first screen resolution and the wide high product of the second screen resolution, the wide high product of the wide high product of rate=the first screen resolution/second screen resolution;
Carry out convergent-divergent according to the second font value that described ratio is corresponding with the second font rank in described the second screen resolution, the second font value behind the convergent-divergent just is the first font value corresponding to the first font rank; Described the first font value is the even number that is not less than described the first font value, i.e. the first font value=(the first font value %2==0? the first font value: the first font value+1), represent whether the first font value equals 0 divided by 2, if then the first font value does not just need to change, then the first font value adds 1 if not;
Further specify the font value of the first estate of font value small=rate* second screen resolution of the first estate in the first font rank; The font value of the second grade of font value mid=rate* second screen resolution of the second grade in the first font rank; The font value of the tertiary gradient of font value big=rate* second screen resolution of the tertiary gradient in the first font rank;
Is wherein the font value in the first font rank got the even number that is not less than described font value, i.e. small=(small%2==0? small:small+1); Mid and big are also with the value of small;
In like manner can calculate the font value of the second grade, the tertiary gradient.
The present embodiment comprises and obtains screen module, UI template, obtains font module and rendered fonts module, and the wherein said screen module of obtaining is used for obtaining the first screen resolution and the first font rank; Described UI template is used for obtaining and immediate the second screen resolution of the wide high product of described the first screen resolution; The described font module of obtaining is used for obtaining the first font value corresponding to described the first font rank according to the second font rank and the second font value corresponding to described the second font rank that described the second screen resolution presets; Described rendered fonts module is for the font of drawing described the first screen resolution according to described the first font value.Realized the adaptive purpose of font, reduced masterplate maintenance difficulties and adaptive cost, escalation process is simple, high efficiency.Further also by the scaling between the wide high product of the first screen resolution and the wide high product of the second screen resolution described the second font value is carried out convergent-divergent, make the first font value can be according to the variation of the second font value and dynamic the variation do not need to increase the self-adaptation that the UI module can realize font.Further optimize the computing formula of scaling, can reach best font self-adaptation effect.
A kind of font adaptive system provided by the present invention can be applied to needs the adaptive terminal device of font, such as mobile phone, PDA etc.
Those having ordinary skill in the art will appreciate that, all or part of step in realization above-described embodiment method can be finished by the programmed instruction related hardware, described program can be stored in the computer read/write memory medium, and described storage medium can be 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 (11)

1. the adaptive method of font is characterized in that, described method comprises step:
Obtain the first screen resolution and the first font rank;
Obtain and immediate the second screen resolution of the wide high product of described the first screen resolution;
According to the second font rank that presets in described the second screen resolution and the second font value corresponding to described the second font rank, obtain the first font value corresponding to described the first font rank;
Draw font in described the first screen resolution according to described the first font value.
2. the adaptive method of described font according to claim 1 is characterized in that, described " obtaining and immediate the second screen resolution of the wide high product of described the first screen resolution " comprising:
Obtain the wide high product of described the first screen resolution;
Obtain the wide high product with immediate second screen resolution of wide high product of described the first screen resolution;
Wide high product according to described the second screen resolution obtains described the second screen resolution.
3. the adaptive method of described font according to claim 2 is characterized in that, described the first font rank or the second font rank comprise more than one font grade, the font value that each font grade is corresponding different, and the unit of described font value is pixel.
4. the adaptive method of described font according to claim 3, it is characterized in that, described " according to the second font rank that presets in described the second screen resolution and the second font value corresponding to described the second font rank, obtaining the first font value corresponding to described the first font rank " comprising:
Obtain the scaling of the wide high product of the first screen resolution and the wide high product of the second screen resolution;
According to described scaling described the second font value is carried out convergent-divergent;
Obtain the first font value corresponding to described the first font rank according to the second font value behind the convergent-divergent.
5. the adaptive method of described font according to claim 4 is characterized in that, described scaling is the ratio of the wide high product of the first screen resolution and the wide high product of the second screen resolution.
6. the adaptive method of described font according to claim 4 is characterized in that, described scaling is: 1+ ((scaling-1)/0.5) * 0.1,
Wherein, the wide high product of the wide high product of scaling=first screen resolution/second screen resolution.
7. according to claim 5 or the adaptive method of 6 described fonts, it is characterized in that, described the first font value is the even number that is not less than described the first font value.
8. the adaptive system of font is characterized in that, described system comprises and obtains screen module, UI template, obtains font module and rendered fonts module;
The described screen module of obtaining links to each other with described UI template, is used for obtaining the first screen resolution and the first font rank;
Described UI template is obtained screen module and is obtained font module and link to each other with described, is used for obtaining and immediate the second screen resolution of the wide high product of described the first screen resolution;
The described font module of obtaining, link to each other with the rendered fonts module with described UI template, for the second font rank and the second font value corresponding to described the second font rank that preset according to described the second screen resolution, obtain the first font value corresponding to described the first font rank;
Described rendered fonts module links to each other with the described font module of obtaining, and is used for the font of drawing described the first screen resolution according to described the first font value.
9. described font adaptive system according to claim 8 is characterized in that, described UI module comprises the first acquiring unit, second acquisition unit and the 3rd acquiring unit;
Described the first acquiring unit links to each other with second acquisition unit with the described screen module of obtaining, and is used for obtaining the wide high product of described the first screen resolution;
Described second acquisition unit links to each other with the 3rd acquiring unit with described the first acquiring unit, is used for obtaining the wide high product with immediate second screen resolution of wide high product of described the first screen resolution;
Described the 3rd acquiring unit, with described second acquisition unit with obtain font module and link to each other, be used for obtaining described the second screen resolution according to the wide high product of described the second screen resolution.
10. described font adaptive system according to claim 9 is characterized in that, the described font module of obtaining comprises and obtains scaling unit, unit for scaling and obtain the font value cell;
The described scaling unit that obtains links to each other with unit for scaling with described the 3rd acquiring unit, is used for obtaining the scaling of the wide high product of the first screen resolution and the wide high product of the second screen resolution;
Described unit for scaling obtains the scaling unit and obtains the font value cell and link to each other with described, is used for according to described scaling described the second font value being carried out convergent-divergent;
The described font value cell that obtains links to each other with the rendered fonts module with described unit for scaling, is used for obtaining the first font value corresponding to described the first font rank according to the second font value behind the convergent-divergent.
11. the adaptive terminal device of font is characterized in that, described terminal device comprises described any font adaptive system of claim 8 to 10.
CN2012103923067A 2012-10-16 2012-10-16 Font size self-adapting method, system and terminal equipment Pending CN102930851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103923067A CN102930851A (en) 2012-10-16 2012-10-16 Font size self-adapting method, system and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103923067A CN102930851A (en) 2012-10-16 2012-10-16 Font size self-adapting method, system and terminal equipment

Publications (1)

Publication Number Publication Date
CN102930851A true CN102930851A (en) 2013-02-13

Family

ID=47645634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103923067A Pending CN102930851A (en) 2012-10-16 2012-10-16 Font size self-adapting method, system and terminal equipment

Country Status (1)

Country Link
CN (1) CN102930851A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225201A (en) * 2015-09-06 2016-01-06 网易(杭州)网络有限公司 A kind of method and system of display object adaptive resolution display
CN107590240A (en) * 2017-09-13 2018-01-16 武汉斗鱼网络科技有限公司 A kind of method and device of adjustment word size for page rendering

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03278094A (en) * 1990-03-27 1991-12-09 Seiko Epson Corp Method for switching font
JP2000242258A (en) * 1999-02-19 2000-09-08 Fuurie Kk Font memory and method for reading out font data
CN1801830A (en) * 2004-12-30 2006-07-12 上海贝豪通讯电子有限公司 Method for controlling handset screen font display size
CN101694770A (en) * 2009-10-19 2010-04-14 深圳华为通信技术有限公司 Method for controlling screen display, device and hand-held equipment
CN101815086A (en) * 2009-12-31 2010-08-25 优视科技有限公司 Browser font optimization method for mobile communication equipment terminals
CN101996206A (en) * 2009-08-11 2011-03-30 阿里巴巴集团控股有限公司 Method, device and system for displaying web page

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03278094A (en) * 1990-03-27 1991-12-09 Seiko Epson Corp Method for switching font
JP2000242258A (en) * 1999-02-19 2000-09-08 Fuurie Kk Font memory and method for reading out font data
CN1801830A (en) * 2004-12-30 2006-07-12 上海贝豪通讯电子有限公司 Method for controlling handset screen font display size
CN101996206A (en) * 2009-08-11 2011-03-30 阿里巴巴集团控股有限公司 Method, device and system for displaying web page
CN101694770A (en) * 2009-10-19 2010-04-14 深圳华为通信技术有限公司 Method for controlling screen display, device and hand-held equipment
CN101815086A (en) * 2009-12-31 2010-08-25 优视科技有限公司 Browser font optimization method for mobile communication equipment terminals

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225201A (en) * 2015-09-06 2016-01-06 网易(杭州)网络有限公司 A kind of method and system of display object adaptive resolution display
CN105225201B (en) * 2015-09-06 2018-07-06 网易(杭州)网络有限公司 A kind of method and system for showing object adaptive resolution and showing
CN107590240A (en) * 2017-09-13 2018-01-16 武汉斗鱼网络科技有限公司 A kind of method and device of adjustment word size for page rendering

Similar Documents

Publication Publication Date Title
CN107728901B (en) Interface display method and device and terminal
CN102890632A (en) Screen adaptation method, system and terminal device
US10338788B2 (en) Apparatus and method for processing contents in portable terminal
CN107168712B (en) Interface drawing method, mobile terminal and computer readable storage medium
US20150033184A1 (en) Method and apparatus for executing application in electronic device
CN102902535A (en) Picture self-adaption method, system and terminal equipment
CN103076947B (en) A kind of method, system and mobile terminal adjusting desktop shortcut icon
CN102023849A (en) Processing method and device for multi-platform multi-resolution application program interface
CN103309560A (en) Multi-interface information display method and terminal
US20200227010A1 (en) Electronic display partial image frame update systems and methods
CN103345356A (en) Method and terminal for controlling lock screen interface
CN107515702B (en) Page interaction method and device
CN102419955B (en) The display control method of OLED and equipment, terminal device
CN102999752A (en) Method and device for quickly identifying local characters in picture and terminal
US9983764B2 (en) Method, electronic device, and non-transitory storage medium for adjusting icons
CN102970421A (en) Method and system for controlling information display for mobile terminal
US9619102B2 (en) Method and apparatus for presenting images, mobile terminal and computer storage medium
CN105426178A (en) Terminal display system and display method of terminal system
CN105302864A (en) Picture loading apparatus and method according to screen resolution
CN107995440A (en) A kind of video caption textures generation method and device
CN105988662A (en) Display method and system for multi-application window on mobile terminal
CN104331219A (en) Icon displaying method, device and system
CN103488376A (en) Desktop assembly fusing, combining and splitting method and equipment
CN102930851A (en) Font size self-adapting method, system and terminal equipment
CN107861808A (en) A kind of terminal and the method for clearing up background application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant after: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

Address before: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant before: Shenzhen Temobi Science & Tech Development Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN TEMOBI SCIENCE + TECHNOLOGY CO., LTD. TO: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: RONGCHUANG TIANXIA (SHANGHAI) TECHNOLOGY DEVELOPME

Free format text: FORMER OWNER: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

Effective date: 20150702

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150702

Address after: 200433 Shanghai City, Yangpu District Wei Road No. 6 room 502-8

Applicant after: World (Shanghai) Technology Development Co., Ltd.

Address before: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant before: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130213