CN106383689A - Display font size adjustment method and apparatus, and terminal device - Google Patents

Display font size adjustment method and apparatus, and terminal device Download PDF

Info

Publication number
CN106383689A
CN106383689A CN201610835144.8A CN201610835144A CN106383689A CN 106383689 A CN106383689 A CN 106383689A CN 201610835144 A CN201610835144 A CN 201610835144A CN 106383689 A CN106383689 A CN 106383689A
Authority
CN
China
Prior art keywords
display
pixel
display screen
value
size
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.)
Granted
Application number
CN201610835144.8A
Other languages
Chinese (zh)
Other versions
CN106383689B (en
Inventor
董杰
王稳仲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201610835144.8A priority Critical patent/CN106383689B/en
Publication of CN106383689A publication Critical patent/CN106383689A/en
Application granted granted Critical
Publication of CN106383689B publication Critical patent/CN106383689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Abstract

The invention relates to a display font size adjustment method and apparatus, and a terminal device. The method is applied to a display. The method comprises the steps of obtaining a target text size and a pixel dot spacing of a displayed image in a display screen of a display; obtaining a target dots-per-inch (DPI) value according to the target text size and the pixel dot spacing; and sending the target DPI value to a display card of a host. According to the display font size adjustment method and apparatus, and the terminal device provided by embodiments of the invention, the DPI value of a system text needed to be displayed in the display screen is calculated according to the optimal font size needed to be displayed in the display screen and suitable for a user to watch and the pixel dot spacing of the current display screen through the display, and the DPI value is sent to the display card, so that the display card can update the current DPI value to the target DPI value, the physical font size of the system text is increased and matched with the optimal font size suitable for the user to watch, and visual fatigue of the user is avoided.

Description

Display font scale adjusting method, device and terminal unit
Technical field
The present invention relates to display technology field, more particularly, to a kind of display font scale adjusting method, device and terminal set Standby.
Background technology
As a kind of can automatically, the intelligent electronic device of high speed processing mass data, computer people life and Key player is play in work.
As shown in figure 1, a typical computer mainly includes main frame 10 and the display with main frame 10 communication connection 2.Wherein, main frame 10 include CPU (Central Processing Unit, central processing unit) 11 and with CPU11 communication link The video card 12 connecing, display 20 includes data memory module 21, image display 22 and display screen 23.Specifically, video card 12 are used for the EDID (Extended Display Identification Data, extending display identification data) according to display Information, the video data that CPU11 is sent is processed accordingly, generates the picture signal with certain resolution;Image shows Show module 22 for receive from video card 12 picture signal and according to screen picture display mode, liquid in driving display screen 23 The display image of brilliant molecule;Further, above-mentioned EDID information and screen picture display mode are stored in data memory module In 21.
When CPU11 is sent to and includes lteral data in the video data of video card 12, video card 12 can be according to lteral data In word font size and video card 12 in storage DPI (Dots Per Inch, per inch pixel count) value, calculate in display State the text pixel value needed for lteral data, then this word pixel value is sent to image display 22, to drive display Word in liquid crystal molecule display image in screen 23.Wherein, finally it is presented on the physics font of the word on display screen 23 Size be text pixel value and pixel away from product, that is, screen above-mentioned word size is not only relevant with text pixel value, also with Away from relevant, specifically, on the premise of text pixel value is fixing, pixel is away from bigger, character script for the pixel of display image Bigger, on the contrary, away from less, character script is less for pixel.Further, the pixel of display image is away from usual and display screen 23 resolution is directly related, and in the case that the screen size of display screen 23 is certain, the resolution of screen is lower, pixel Away from bigger, on the contrary, the resolution of screen is higher, and pixel is away from less.Therefore, finally it is presented on the thing of the word of display screen 23 Reason font size is affected by the resolution of screen.
However, for the image display effect obtaining fine definition, existing display screen is all towards high-resolution side To development, and then make the pixel of display image in display screen away from generally less, and CPU11 is sent to the system of video card 12 Lteral data, such as page tool hurdle lteral data, title bar text data etc., its word font size is usually fixed size, institute To ultimately result in shown word, especially system literal in high-resolution display screen, the frequent mistake of physics font size Little, mismatch with the optimal font size of the suitable viewing of user, easily cause the visual fatigue of user.
Content of the invention
For overcoming problem present in correlation technique, the present invention provide a kind of display font scale adjusting method, device and Terminal unit.
According to embodiments of the present invention be applied to display in a first aspect, providing a kind of display font scale adjusting method, Including:
Obtain the pixel of display image in the display screen of target text size and display away from;
According to described target text size and described pixel away from obtaining target per inch pixel count DPI value;
Described target DPI value is sent to the video card of main frame, so that current DPI value is updated to described target by described video card DPI value.
Second aspect according to embodiments of the present invention, provides another display font scale adjusting method, is applied to lead Machine, described main frame includes central processor CPU and the video card electrically connecting, and methods described includes:
Described video card receives the target DPI value that display sends, and current DPI value is updated to described target DPI value;
Detect that described CPU sends the font size value of the target text to be shown to described video card;
According to the font size value of described target DPI value and target text to be shown, calculate the picture of target text to be shown Element value;
The pixel value of described target text to be shown is sent to described display, so that word to be shown in display screen Word size be target text size.
The third aspect according to embodiments of the present invention, provides a kind of display font size adjusting device, including:Processor, Memorizer and communication interface, described processor, described memorizer are connected with described communication interface communication bus;
Described communication interface, for reception and sending signal;
Described memorizer, for store program codes;
Described processor, for reading the program code of storage in described memorizer, and executes described in above-mentioned first aspect Method.
Fourth aspect according to embodiments of the present invention, provides a kind of display font size adjusting device, including:Processor, Memorizer and communication interface, described processor, described memorizer are connected with described communication interface communication bus;
Described communication interface, for reception and sending signal;
Described memorizer, for store program codes;
Described processor, for reading the program code of storage in described memorizer, and executes described in above-mentioned second aspect Method.
5th aspect according to embodiments of the present invention, provides a kind of terminal unit, including:Main frame and display, wherein,
Described main frame includes central processor CPU and the video card electrically connecting, and described video card includes above-mentioned fourth aspect institute The device stated;
Described display includes display screen and Display processing module, and described Display processing module includes the above-mentioned third aspect Described device.
The technical scheme that embodiments of the invention provide can include following beneficial effect:
The embodiment of the present invention provides a kind of display font scale adjusting method, and methods described is applied to display, including obtaining Take the pixel of display image in target text size and the display screen of display away from;According to described target text size and institute State pixel away from obtaining target per inch pixel count DPI value;Described target DPI value is sent to the video card of main frame.The present invention is real Apply example and pass through display according to needing the optimal font size of the suitable viewing of user that shows and currently displaying in display screen The pixel of screen is away from calculating the DPI value of system literal needing to show within display screen, and this DPI value is sent extremely show Card, so that current DPI value can be updated to described target DPI value by video card, when the CPU of main frame needs to show corresponding system literary composition During word, target text is shown according to the display screen of the character-size control display of target DPI value and system literal by video card Size, so that the physics font size of system literal becomes big, is matched with the optimal font size of the suitable viewing of user, it is to avoid Cause the visual fatigue of user.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The present invention can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the present invention Example, and be used for explaining the principle of the present invention together with description.
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, for those of ordinary skill in the art Speech, without having to pay creative labor, can also obtain other accompanying drawings according to these accompanying drawings.
A kind of structural representation of computer that Fig. 1 provides for prior art;
Fig. 2 is a kind of structural representation of computer provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of display font scale adjusting method provided in an embodiment of the present invention;
Fig. 4 is the detailed process schematic diagram of step S101 provided in an embodiment of the present invention;
Fig. 5 is the application scenarios schematic diagram of point-to-point display mode provided in an embodiment of the present invention;
Fig. 6 is the application scenarios schematic diagram of full screen display mode provided in an embodiment of the present invention;
Fig. 7 is the application scenarios schematic diagram of ratio display mode provided in an embodiment of the present invention;
Fig. 8 is the detailed process schematic diagram of step S102 provided in an embodiment of the present invention;
Fig. 9 is the schematic flow sheet of another kind display font scale adjusting method provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation of display font size adjusting device provided in an embodiment of the present invention;
Figure 11 is a kind of structural representation of terminal unit provided in an embodiment of the present invention.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the present invention.
Shown in Figure 2, it is that display font scale adjusting method provided in an embodiment of the present invention implements computer used Equipment, described computer equipment includes main frame 1 and display 2, and described main frame 1 and display 2 communicate to connect, and described main frame 1 wraps Include CPU and video card, described CPU and video card electrical connection;Described display 2 includes housing 3 and display screen 4, in described display 2 Also include data memory module and image display, described data memory module is used for storing the EDID letter of described display 2 Breath, it is basic that described EDID information includes display supplier information, maximum image size, color setting, display frequency scope etc. Information, and in embodiments of the present invention, described EDID information at least includes size and the indicator screen of display screen Resolution.Display font scale adjusting method provided in an embodiment of the present invention is all conjointly employed in this computer equipment.
Shown in Figure 3, it is the schematic flow sheet of display font scale adjusting method provided in an embodiment of the present invention.The party Method is applied in display as shown in Figure 2, as shown in figure 3, the method may include steps of.
In step S101, obtain the pixel of display image in the display screen of target text size and display away from.
Because the maximum display resolution of different display panel curtains is different and size of display screen is had any different, it is Ensure the system literal of user's display in viewing display screen, such as page tool hurdle lteral data, title bar text data Deng when, typically system literal can be adjusted to by fixed size according to the size of display screen, consequently facilitating user's viewing is aobvious Show device display screen when comfort level.Therefore, need the size according to display screen in the embodiment of the present invention, obtain mesh Mark word size, described target text size is the size needing to be shown in system literal on display screen.In addition, display screen Spacing between two neighbor pixels in the display screen away from as display for the pixel of middle display image, can be according to aobvious The resolution of the size of display screen curtain and image to display is determining.
When get the pixel of display image in described target text size and display screen away from when, in step S102 In, according to described target text size and described pixel away from obtaining target per inch pixel count DPI value.
In the open embodiment of the present invention, target text size is equal to pixel away from, system literal font size and target DPI The product of value, wherein, described system literal font size is system predetermined page tool hurdle lteral data, title bar text number According to the size of middle word, such as system literal be dimensioned to 5 pounds, then in method provided in an embodiment of the present invention, system literary composition Word font size is then set to 5/72.Thus pixel is equal to away from, system literal font size and target DPI value according to target text size Product calculate target DPI value, described target DPI value be video card in need set DPI value.
When obtaining described target DPI value, in step s 103, by the video card of described target DPI value transmission to main frame.
Due to including CPU and video card in main frame, and video card is the display screen display target word controlling display Current DPI value, accordingly, it would be desirable to the target DPI value that step S102 is obtained sends to video card, is updated to described by equipment by video card Target DPI value, consequently facilitating when CPU needs to show corresponding contents every time, by video card according to the font size of system literal and Target DPI value, controls the display screen display image of display.
Using method provided in an embodiment of the present invention, suitable according to the user needing display in display screen by display The pixel of the optimal font size of viewing and current display screen is away from calculating needs the system literary composition showing within display screen The DPI value of word, and this DPI value is sent to video card, so that current DPI value can be updated to described target DPI value by video card, when When the CPU of main frame needs to show corresponding system literal, shown according to the character-size control of target DPI value and system literal by video card Show that the display screen of device shows target text size, so that the physics font size change of system literal (becomes greatly or becomes Little), match with the optimal font size of the suitable viewing of user, it is to avoid cause the visual fatigue of user.And, show in display After the resolution of display screen curtain changes, you can there to be video card to control the word size of display to be every time fixed size, keep away It is loaded down with trivial details that manpower-free adjusts every time.
Shown in Figure 4, it is the detailed process schematic diagram to step S101 on above-mentioned Fig. 3 basis.As shown in figure 3, should In step S101 obtain pixel away from method can also comprise the steps.
In step S1011, obtain the display mode of display image and the EDID information of display in display screen.
In the embodiment of the present invention, in display screen, the display mode of display image includes three kinds of modes:Point-to-point display side Formula, full screen display mode and ratio display mode, described point-to-point display mode is i.e. in the pixel of signal source and the picture of display Element corresponds in display, is generally divided into following several situation:The point-to-point display mode of full frame state, that is, signal resolution with The physical resolution of display is consistent, i.e. full frame point-to-point display;The point-to-point display mode of non-full frame state, that is, sacrifice a part Indicator screen effective area, the pixel of the display of other effective areas is corresponding with the resolution of signal source;In the present invention In embodiment, the embodiment of point-to-point display mode is the point-to-point display mode of non-full frame state, that is, during showing, display The mid portion of screen shows, display screen both sides do not show;Described full screen display mode is i.e. in the intrinsic size of display screen Under be paved with whole screens, the edge of display image is all corresponding with the edge pixel of display screen;Described ratio display mode is Display image one of offside edge is close to the edge of display screen, another offside edge or not with display screen It is close to.Thus it is shared in the display screen of display to obtain display image according to the display mode of display image in display screen Pixel size.
In addition, described EDID information can be stored in the data memory module of described display, such that it is able to directly obtain Take size and the resolution at least including display screen in described EDID information, and described EDID information, wherein, described aobvious The size of display screen curtain and resolution are the intrinsic full-size of display panel curtain and ultimate resolution.
In step S1012, obtain the output signal resolution of video card.
The output signal resolution of video card is video card according to the DPI value of storage in system literal font size and video card Lai true Fixed, described output signal resolution is the product of the DPI value of storage in system literal font size and video card.In the embodiment of the present invention In, described step S1011 and step S1012, can be according in specific implementation process not according to as above sequentially being obtained Practical situation obtains respectively or obtains the output signal resolution of video card simultaneously.
When getting the output signal resolution of described display mode, EDID information and video card, in step S1013, According to the output signal resolution of described display mode, EDID information and video card, calculate display image in display screen Pixel away from.
In embodiments of the present invention, in display screen, the pixel of display image, away from according to different display modes, is distinguished According to the output signal resolution of the size of display screen and resolution and video card in EDID information, to determine display In screen the pixel of display image away from.Specifically, the pixel of display image in display screen is calculated according to different display modes Point away from method can be found in following related embodiment.
When the display mode of display image in display screen is point-to-point display mode, display image in display screen Pixel away from computational methods can illustrate in conjunction with the embodiment under Fig. 4 application scenarios.
Shown in Figure 5, the application scenarios schematic diagram of the point-to-point display mode for providing in embodiment of the present invention mode. As shown in figure 5, the size of display panel curtain is set to T, the resolution of display screen is M*N, within display screen Viewing area be S1 represented by region, then the pixel of the size according to display screen and resolution display image away from Calculate the pixel of display image away from, and described pixel away from the size for display screen divided by display screen resolution Square root.Under the application scenarios of point-to-point display mode according to Fig. 5, the pixel of the display image computational methods away from d1 ForWherein, M and N is horizontal pixel number and vertical pixel count under display screen resolution, and k is a constant, And in embodiments of the present invention, described k=25.4, as it ensure that the pel spacing just calculating is conventional length (with millimeter For unit), and generally screen size is inch, so needing inch unit conversion is millimeter unit.
Shown in Figure 6, the application scenarios schematic diagram of the full screen display mode for providing in embodiment of the present invention mode.As Shown in Fig. 6, the size of display screen is set to T, and the resolution of display screen is M*N, viewing area within display screen Domain S2 is whole display screens, when the output signal resolution sizes of the video card of display acquisition are P*Q, then defeated according to video card Go out signal resolution and the size of display screen, calculate the pixel of display image away from, and described pixel away from Size be display screen size divided by the output signal resolution of video card square root.Point-to-point according to Fig. 6 Under the application scenarios of display mode, the pixel of the display image computational methods away from d2 areWherein, P and Q is Horizontal pixel number and vertical pixel count in the output signal resolution of video card, k is a constant, and in embodiments of the present invention, Described k=25.4, as it ensure that the pel spacing just calculating is conventional length (in units of millimeter), and generally Screen size is inch, so needing inch unit conversion is millimeter unit.
Shown in Figure 7, the application scenarios schematic diagram of the ratio display mode for providing in embodiment of the present invention mode.As Shown in Fig. 7, the size of display screen is set to T, and the resolution of display screen is M*N, viewing area within display screen Domain S3 is ratio display screen, and the both sides up and down of viewing area S3 are close to the edge of display screen, when showing that display obtains The output signal resolution sizes of card are W*L, then according to the output signal resolution of video card, the resolution of display screen and aobvious The size of display screen curtain, the pixel calculating display image is away from, in specific implementation process, needs are defeated according to video card Go out signal resolution and the size of display screen, calculate the output signal viewing area within display screen of video card The size of S3, the size of wherein viewing area S3 is defined as S, then described pixel away from size be viewing area S3 Size divided by the output signal resolution of video card square root.The application scenarios of ratio display mode according to Fig. 7 Under, the pixel of the display image computational methods away from d3 areWherein, size S of viewing area S3 is permissible The product of size T of the ratio for the resolution of output signal resolution and display screen and display screen, P and Q is video card Output signal resolution in horizontal pixel number and vertical pixel count, k is a constant, and in embodiments of the present invention, described k =25.4, as it ensure that the pel spacing just calculating is conventional length (in units of millimeter), and ordinary circumstance sub-screen A size of inch, so needing inch unit conversion is millimeter unit.
By the figures above 5 to accompanying drawing 7 to the pixel of display image in display screen under different display modes away from, thus Be easy in the embodiment of the present invention according to this pixel away from and target text size calculate target DPI value, consequently facilitating aobvious Card is updated according to this target DPI value so that high-resolution display can according to system font size certainly in display image The font size of dynamic adjustment display word, effectively improves the viewing effect of user.
In addition, on the basis of Fig. 3, the embodiment of the present invention additionally provides the detailed process schematic diagram of step S102.As The method flow schematic diagram calculating target DPI value provided in an embodiment of the present invention shown in Fig. 8.This step S102 can include following Step.
In step S1021, obtain the default font size value of system literal.
In the embodiment of the present invention, directly can obtain the default font size value of system literal from video card, and described system literary composition The default font size value of word is the fixing font size of system literal.Here does not elaborate.
In step S1022, according to described target text size, pixel away from default font size value, calculate described Target DPI value.
Wherein, in embodiments of the present invention, described target DPI value for described target text size divided by described pixel away from With the product of default font size value, by step S101 obtain target text size, pixel away from and described default font size Value, is calculated target DPI value.Here, the computing formula for target DPI value no longer elaborates, can be referring to above-mentioned enforcement Associated description in example.
Using said method provided in an embodiment of the present invention, video card control display screen curtain can be calculated by display end and show Diagram as when, directly the pixel value of image to be displayed is sent to display, display according to the font size of system literal by video card Further according to pixel away from display system word be target text size, the comfortable of user's copic viewing system word can not only be improved Degree, and, the processing procedure for target DPI may be contained within display end, thus effectively reducing the processing pressure of main frame, improves Overall data processing speed.
The embodiment of the invention also discloses another kind of display font scale adjusting method, the method is applied to including centre In the main frame of reason device and video card, it is applied particularly in video card, described central processing unit and video card electrically connect, described central processing unit The font size of system literal needing display is sent to video card, by video card according to the font size value of system literal and target DPI value Calculate the resolution of image to be displayed, and control the display screen of display to show.Specific embodiment is shown in Figure 9.
Shown in Figure 9, it is that the flow process of another display font scale adjusting method provided in an embodiment of the present invention is shown It is intended to, as shown in figure 9, the method is applied in video card, methods described may include steps of.
In step s 201, described video card receives the target DPI value that display sends, and current DPI value is updated to described Target DPI value.
Target DPI value described in the embodiment of the present invention calculates in step S102, and described current DPI value is display The original DPI value setting before device, when current DPI value is updated to described target DPI value, can searching data storage in advance The current DPI value of storage in device, and this current DPI value is deleted, then described target DPI value is stored in described data storage In device, as the new DPI value of video card.
When being updated to described target DPI value, in step S202, detect described CPU send to described video card wait show Show the font size value of target text.
In embodiments of the present invention, when CPU needs display system word, need the font size value of target text to be shown Send to video card, detect whether to receive the font size value of this target text to be shown by video card, if receiving this mesh to be shown The font size value of mark word, then execution step S203, otherwise, continue executing with step S202.
When the font size value of target text to be shown is detected, in step S203, according to described target DPI value with wait to show Show the font size value of target text, calculate the pixel value of target text to be shown.
The pixel value of target text to be shown is the product of the font size value of described target DPI value and target text to be shown, In embodiments of the present invention, the computation model of the pixel value of target text to be shown can be pre-build, then according to described mesh The font size of mark DPI value and target text to be shown is worth the pixel value of target text to be shown.
When calculating the pixel value of target text to be shown, in step S204, by described target text to be shown Pixel value send to described display.
In embodiments of the present invention, the pixel value of target text to be shown is sent to display, thus controlling display The word size needing the word to be shown showing in display screen is adjusted to target text size, and described target text size is The pixel value of the target text to be shown calculating for step S103 and the pixel of display image in display screen away from take advantage of Long-pending, thus controlling display that the size of word to be shown is adjusted to fixed size.
Using method provided in an embodiment of the present invention, target to be shown is calculated according to the target DPI value updating by video card The pixel value of word, the word size being easy to word to be shown in display screen is adjusted to target text size, thus effectively solving The certainly adjust automatically of the font size of display word, effectively improves display speed and the display efficiency of display word, improves meanwhile The comfort level of user's viewing.
Above be display font scale adjusting method provided in an embodiment of the present invention embodiment of the method, above example it Between do not elaborate for the relation mutually gone forward one by one, partly related or identical content, can be each other referring to here is no longer Elaborate.
Shown in Figure 10, it is a kind of structural representation of display font size adjusting device provided in an embodiment of the present invention Figure, this device is the part in the display of computer or main frame.As shown in Figure 10, this device 1000 may include:At least one Individual processor (processor) 1001, internal memory (memory) 1002, peripheral interface (peripheral interface) 1003rd, input/output subsystem (I/O subsystem) 1004, power circuit 1005 and communication line 1006.
In fig .9, arrow represents the communication data transmission between the element that can carry out computer system, and it can profit With high-speed serial bus (high-speed serial bus), parallel bus (parallel bus), storage area network (SAN, Storage Area Network) and/or other suitable communication technologys and realize.
Internal memory 1002 may include operating system 1012 and display font size adjustment routine 1022.For example, internal memory 1002 can Including high-speed random access memory (high-speed random access memory), disk, static random access memory Device (SPAM), dynamic random access memory (DRAM), read only memory (ROM), flash memory or non-voltile memory.Internal memory 1002 Can store and adjust the program coding of routine 1022 that is to say, that may include display for operating system 1012 and display font size Software module needed for the action of font size adjusting apparatus 1000, instruction set architecture or the multiple data outside it.Now, locate The access managing other controllers such as device 1001 or peripheral interface 1006 with internal memory 1002 can be controlled by processor 1001 System.
Peripheral interface 1003 can by the input of display font size adjusting device 1000 and/or output ancillary equipment with Processor 1001 and internal memory 1002 combine.And, input/output subsystem 1004 can be by multiple input/output ancillary equipment Combine with peripheral interface 1006.For example, input/output subsystem 1004 may include display, keyboard, mouse, printing Machine or the as needed control for the ancillary equipment such as photographing unit, various sensor are combined with peripheral interface 1003 Device.Specifically, include for mutually tying image displaying circuit with peripheral interface 1003 in input/output subsystem 1004 The controller closing.
Power circuit 1005 can be to all or part of supply electric power of the component of terminal unit.For example, power circuit 1005 may include as electric power management system, battery or the more than one power supply exchanging (AC), charging system, power failure monitor Circuit (power failure detection circuit), power converter or inverter, power state marker character or be used for Electric power generates, manages, other components any of distribution.
Communication line 1006 can be communicated with other main frames using at least one interface.
Processor 1001 passes through to implement the software module being stored in internal memory 1002 or instruction set architecture can perform display word The several functions of body size adjusting device 1000 and processing data.That is, processor 1001 pass through to execute basic arithmetic, The input/output calculation of logic and computer system, may be configured as processing the order of computer program.
The method that processor 1001 is structured to execute the display font size adjustment in above-described embodiment.
The embodiment of Figure 10 is only an example of the display font size adjusting device 1000 of display, and display font is big Little adjusting apparatus 1000 can have following structure or configuration:Omit the partial circuit element shown in Figure 10, or be further equipped with figure The not shown component adding in 10, or combine plural component.For example, the communication for mobile environment is whole In addition to the component shown in except Figure 10 for the display at end, also can further include sensor etc., and in communication line 1006 In may also comprise for communication (WiFi, 6G, LTE, Bluetooth, NFC, Zigbee etc.) RF communication circuit. The component that can be included in display font size adjusting device 1000 can be by the more than one signal processing of inclusion or application The hardware of the integrated circuit that program is becomed privileged, software or hardware and software a combination of both and realize.
When above-mentioned composition display font size adjusting device 1000 be computer display in a part of when, this dress Put the pixel of display image in the display screen according to target text size and display away from being calculated target per inch picture Prime number DPI value, and this target DPI value is sent to the video card of main frame, so that current DPI value can be updated to described mesh by video card Mark DPI value.
When above-mentioned composition display font size adjusting device 1000 be computer main frame in a part of when, this device Receive the target DPI value sending from display, and the font size value of the system literal sending according to this target DPI value and CPU Obtain the pixel value of word to be shown such that it is able to when automatically controlling display and showing word to be shown, further according to pixel away from Calculate, adjust the font size of target text to be shown, effectively improve the comfort level of user's viewing.
In addition, shown in Figure 11, it is a kind of structural representation of terminal unit provided in an embodiment of the present invention, such as Figure 11 Shown, arrow represents electrical connection or communication connection between two equipment, and this terminal unit includes main frame 1101 and display 1102, wherein, described main frame 1101 includes CPU1111 and video card 1112, and described CPU1111 and video card 1112 electrically connect, its In, CPU1111 is used for the font size of output system word to video card 1112, can include as above-mentioned Figure 10 institute in described video card 1112 The display font size adjusting device 1000 showing, store in display font size adjusting device 1000 internal memory 1002 therein just like The corresponding program of embodiment of the method shown in above-mentioned Fig. 9, thus execute this program by processor 1001.This display 12 can wrap Include display screen and Display processing module, this Display processing module can include display font size adjustment dress as shown in Figure 10 Put 1000, the method being stored with as shown in above-mentioned Fig. 3 to Fig. 8 in display font size adjusting device 1000 internal memory 1002 therein The corresponding program of embodiment, thus execute this program by processor 1001.
For convenience of description, it is divided into various units to be respectively described with function when describing apparatus above.Certainly, implementing this The function of each unit can be realized in same or multiple softwares and/or hardware during invention.
Each embodiment in this specification is all described by the way of going forward one by one, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for device or For system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, referring to method in place of correlation The part of embodiment illustrates.Apparatus and system embodiment described above is only schematically, wherein as separation The unit of part description can be or may not be physically separate, as the part that unit shows can be or Can not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality The needing of border selects the purpose to realize this embodiment scheme for some or all of module therein.Those of ordinary skill in the art In the case of not paying creative work, you can to understand and to implement.
It is described above and precision architecture illustrated in the accompanying drawings it should be appreciated that the invention is not limited in, and And various modifications and changes can carried out without departing from the scope.The scope of the present invention only to be limited by appended claim.

Claims (10)

1. a kind of display font scale adjusting method, is applied to display it is characterised in that including:
Obtain the pixel of display image in the display screen of target text size and display away from;
According to described target text size and described pixel away from obtaining target per inch pixel count DPI value;
Described target DPI value is sent to the video card of main frame, so that current DPI value is updated to described target DPI by described video card Value.
2. method according to claim 1 is it is characterised in that obtain the pixel of display image in display screen away from bag Include:
Obtain the display mode of display image and the EDID information of display in display screen;
Obtain the output signal resolution of video card;
According to the output signal resolution of described display mode, EDID information and video card, calculate and in display screen, show figure The pixel of picture away from.
3. method according to claim 2 it is characterised in that when in described display screen the display mode of display image be During point-to-point display mode, the described pixel calculating display image in display screen away from, including:
Size according to described display screen and resolution, calculate the pixel of display image away from.
4. method according to claim 2 it is characterised in that when in described display screen the display mode of display image be During full screen display mode, the described pixel calculating display image in display screen away from, including:
Output signal resolution according to described video card and the size of described display screen, calculate display image Pixel away from.
5. method according to claim 2 it is characterised in that when in described display screen the display mode of display image be During ratio display mode, the described pixel calculating display image in display screen away from, including:
The resolution of output signal resolution, the size of display screen and display screen according to described video card, calculates Go out the pixel of display image away from.
6. method according to claim 1 it is characterised in that described according to described target text size and described pixel Away from, obtain target per inch pixel count DPI value, including:
Obtain the default font size value of system literal;
According to described target text size, pixel away from default font size value, calculate described target DPI value, wherein, described Target DPI value for described target text size divided by described pixel away from the product with default font size value.
7. a kind of display font scale adjusting method, is applied to main frame, described main frame include electrically connect central processor CPU and Video card is it is characterised in that methods described includes:
Described video card receives the target DPI value that display sends, and current DPI value is updated to described target DPI value;
Detect that described CPU sends the font size value of the target text to be shown to described video card;
According to the font size value of described target DPI value and target text to be shown, calculate the pixel value of target text to be shown;
The pixel value of described target text to be shown is sent to described display, so as in display screen word to be shown literary composition Word size is target text size.
8. a kind of display font size adjusting device is it is characterised in that include:Processor, memorizer and communication interface, described place Reason device, described memorizer are connected with described communication interface communication bus;
Described communication interface, for reception and sending signal;
Described memorizer, for store program codes;
Described processor, for reading in described memorizer the program code of storage, and executes as arbitrary in claim 1 to 6 Method described in.
9. a kind of display font size adjusting device is it is characterised in that include:Processor, memorizer and communication interface, described place Reason device, described memorizer are connected with described communication interface communication bus;
Described communication interface, for reception and sending signal;
Described memorizer, for store program codes;
Described processor, for reading the program code of storage in described memorizer, and executes side as claimed in claim 7 Method.
10. a kind of terminal unit is it is characterised in that include:Main frame and display, wherein,
Described main frame includes central processor CPU and the video card electrically connecting, and described video card includes filling as claimed in claim 9 Put;
Described display includes display screen and Display processing module, and described Display processing module includes as claimed in claim 8 Device.
CN201610835144.8A 2016-09-20 2016-09-20 Display font scale adjusting method, device and terminal device Active CN106383689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610835144.8A CN106383689B (en) 2016-09-20 2016-09-20 Display font scale adjusting method, device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610835144.8A CN106383689B (en) 2016-09-20 2016-09-20 Display font scale adjusting method, device and terminal device

Publications (2)

Publication Number Publication Date
CN106383689A true CN106383689A (en) 2017-02-08
CN106383689B CN106383689B (en) 2019-11-29

Family

ID=57935892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610835144.8A Active CN106383689B (en) 2016-09-20 2016-09-20 Display font scale adjusting method, device and terminal device

Country Status (1)

Country Link
CN (1) CN106383689B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897399A (en) * 2017-02-10 2017-06-27 合网络技术(北京)有限公司 Character displaying method and device
CN108172200A (en) * 2018-01-25 2018-06-15 腾讯科技(深圳)有限公司 A kind of method and terminal device of this display of applicating Chinese
CN108734662A (en) * 2018-05-21 2018-11-02 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus for showing icon
CN109189359A (en) * 2018-10-23 2019-01-11 深圳市创维群欣安防科技股份有限公司 A kind of main resolution ratio input control method of display equipment, system and storage medium
CN109213558A (en) * 2018-08-28 2019-01-15 重阳健康数据技术(深圳)有限责任公司 Drug illustrates information display method, device and terminal
CN110221716A (en) * 2019-05-17 2019-09-10 冯锦荣 System DPI value setting method based on Windows10 system
CN111240612A (en) * 2018-11-28 2020-06-05 Tcl集团股份有限公司 Method and terminal for adjusting screen resolution
CN112488921A (en) * 2020-12-03 2021-03-12 安徽寒武纪信息科技有限公司 Method for adjusting font size of character string and readable storage medium
CN113360122A (en) * 2021-04-14 2021-09-07 青岛海信移动通信技术股份有限公司 Mobile terminal and text display method thereof
WO2022041912A1 (en) * 2020-08-24 2022-03-03 南京巨鲨显示科技有限公司 Method for adapting to optimum resolution and text size of display
CN114494017A (en) * 2022-01-25 2022-05-13 北京至简墨奇科技有限公司 Method, device, equipment and medium for adjusting DPI (deep packet inspection) image according to scale
CN114489552A (en) * 2022-03-28 2022-05-13 广东统信软件有限公司 Remote display control system, remote control interface display method and computing equipment
CN115426516A (en) * 2022-08-31 2022-12-02 联想(北京)有限公司 Processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1508722A (en) * 2002-12-18 2004-06-30 Interantional system and method for automatically measuing string height, character size and character style
CN104238890A (en) * 2014-09-19 2014-12-24 小米科技有限责任公司 Text display method and device
CN104598185A (en) * 2014-12-31 2015-05-06 乐视网信息技术(北京)股份有限公司 Character font correction method and system
CN105009057A (en) * 2013-02-20 2015-10-28 谷歌公司 Intelligent window placement with multiple windows using high DPI screens
CN105744317A (en) * 2016-01-29 2016-07-06 深圳市美贝壳科技有限公司 Method for rapidly modifying display background
CN103531176B (en) * 2013-05-10 2016-08-17 Tcl集团股份有限公司 A kind of font display optimization method and system of Android terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1508722A (en) * 2002-12-18 2004-06-30 Interantional system and method for automatically measuing string height, character size and character style
CN105009057A (en) * 2013-02-20 2015-10-28 谷歌公司 Intelligent window placement with multiple windows using high DPI screens
CN103531176B (en) * 2013-05-10 2016-08-17 Tcl集团股份有限公司 A kind of font display optimization method and system of Android terminal
CN104238890A (en) * 2014-09-19 2014-12-24 小米科技有限责任公司 Text display method and device
CN104598185A (en) * 2014-12-31 2015-05-06 乐视网信息技术(北京)股份有限公司 Character font correction method and system
CN105744317A (en) * 2016-01-29 2016-07-06 深圳市美贝壳科技有限公司 Method for rapidly modifying display background

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897399A (en) * 2017-02-10 2017-06-27 合网络技术(北京)有限公司 Character displaying method and device
CN108172200A (en) * 2018-01-25 2018-06-15 腾讯科技(深圳)有限公司 A kind of method and terminal device of this display of applicating Chinese
CN108734662A (en) * 2018-05-21 2018-11-02 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus for showing icon
CN108734662B (en) * 2018-05-21 2023-02-28 腾讯音乐娱乐科技(深圳)有限公司 Method and device for displaying icons
CN109213558A (en) * 2018-08-28 2019-01-15 重阳健康数据技术(深圳)有限责任公司 Drug illustrates information display method, device and terminal
CN109189359B (en) * 2018-10-23 2022-02-01 深圳创维数字技术有限公司 Main resolution input control method and system for display equipment and storage medium
CN109189359A (en) * 2018-10-23 2019-01-11 深圳市创维群欣安防科技股份有限公司 A kind of main resolution ratio input control method of display equipment, system and storage medium
CN111240612A (en) * 2018-11-28 2020-06-05 Tcl集团股份有限公司 Method and terminal for adjusting screen resolution
CN110221716A (en) * 2019-05-17 2019-09-10 冯锦荣 System DPI value setting method based on Windows10 system
WO2022041912A1 (en) * 2020-08-24 2022-03-03 南京巨鲨显示科技有限公司 Method for adapting to optimum resolution and text size of display
CN112488921A (en) * 2020-12-03 2021-03-12 安徽寒武纪信息科技有限公司 Method for adjusting font size of character string and readable storage medium
CN113360122A (en) * 2021-04-14 2021-09-07 青岛海信移动通信技术股份有限公司 Mobile terminal and text display method thereof
CN114494017A (en) * 2022-01-25 2022-05-13 北京至简墨奇科技有限公司 Method, device, equipment and medium for adjusting DPI (deep packet inspection) image according to scale
CN114489552A (en) * 2022-03-28 2022-05-13 广东统信软件有限公司 Remote display control system, remote control interface display method and computing equipment
CN115426516A (en) * 2022-08-31 2022-12-02 联想(北京)有限公司 Processing method and device

Also Published As

Publication number Publication date
CN106383689B (en) 2019-11-29

Similar Documents

Publication Publication Date Title
CN106383689A (en) Display font size adjustment method and apparatus, and terminal device
US9997096B2 (en) Display apparatus, electronic device including the same, and method of operating the same
US20070260978A1 (en) Embedded display system and method used by the system
CN108733336B (en) Page display method and device
US9418624B2 (en) Image output apparatus, control method for image output apparatus, and program
CN106528025B (en) Multi-screen image projection method, terminal, server and system
CN106951205A (en) System and method for for showing mirror image
US10079005B2 (en) Display substrate, display device and resolution adjustment method for display substrate
CN105139792A (en) Display method and display device
US10649711B2 (en) Method of switching display of a terminal and a terminal
CN111984351A (en) Page adaptation method, electronic device and computer-readable storage medium
CN101491090A (en) Method and apparatus for synchronizing display streams
CN100420263C (en) Method and apparatus for displaying printing progress status
US10878532B2 (en) Display device, system and controlling method therefor
CN108076665A (en) A kind of display methods and electronic equipment
JP2005018229A (en) Document browsing terminal, document display control method, and document display control program
US9030378B2 (en) Sharing display processing system, display processing system, and display method
US9542721B2 (en) Display control device and data processing system
CN110825294A (en) Display method, electronic device, and computer-readable storage medium
CN108780348B (en) Image transmission apparatus, image transmission system, and method of controlling image transmission apparatus
CN103376894A (en) Laser indication sharing method and system
US9460487B2 (en) Display device and image display method
US20230162705A1 (en) Timing controller, display device, and signal adjustment method
CN107506119A (en) A kind of image display method, device, equipment and storage medium
JP2012252214A (en) Content display device, method for displaying content, and program for causing computer to function as content display device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee before: HISENSE ELECTRIC Co.,Ltd.

CP01 Change in the name or title of a patent holder