CN106383689B - Display font scale adjusting method, device and terminal device - Google Patents
Display font scale adjusting method, device and terminal device Download PDFInfo
- Publication number
- CN106383689B CN106383689B CN201610835144.8A CN201610835144A CN106383689B CN 106383689 B CN106383689 B CN 106383689B CN 201610835144 A CN201610835144 A CN 201610835144A CN 106383689 B CN106383689 B CN 106383689B
- Authority
- CN
- China
- Prior art keywords
- display
- pixel
- size
- video card
- value
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The present invention relates to a kind of display font scale adjusting method, device and terminal device, the method is applied to display, shown in the display screen including obtaining target text size and display the pixel of image away from;According to the target text size and pixel away from obtaining target per inch pixel number DPI value;Target DPI value is sent to the video card of host.The embodiment of the present invention by display according to display screen in need user to be shown be suitable for viewing best font size and current display screen pixel away from, calculate the DPI value for the system literal for needing to show within display screen, and the DPI value is sent to video card, so that current DPI value can be updated to the target DPI value by video card, to make the physics font size of system literal become larger, the best font size for being suitable for viewing with user matches, and avoids the visual fatigue of user.
Description
Technical field
The present invention relates to field of display technology more particularly to a kind of display font scale adjusting method, device and terminal to set
It is standby.
Background technique
As it is a kind of can automatic, high speed processing mass data intelligent electronic device, computer in people's lives and
Play key player in work.
As shown in Figure 1, a typical computer mainly includes host 10 and the display with the communication connection of host 10
2.Wherein, host 10 include CPU (Central Processing Unit, central processing unit) 11 and with CPU11 communication link
The video card 12 connect, display 20 include data memory module 21, image display 22 and display screen 23.Specifically, video card
12 for the EDID (Extended Display Identification Data, extending display identification data) according to display
Information performs corresponding processing the CPU11 display data sent, generates the picture signal with certain resolution;Image is aobvious
Show module 22 for receiving the picture signal from video card 12 and according to screen picture display mode, driving shows liquid in 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 including lteral data in the display data that CPU11 is sent to video card 12, video card 12 can be according to lteral data
In text font size and video card 12 in DPI (Dots Per Inch, per inch pixel number) value for storing, calculate in display
Then the text pixel value is sent to image display 22 by text pixel value needed for stating lteral data, to drive display
Liquid crystal molecule shows the text in image in screen 23.Wherein, finally it is presented on the physics font of the text on display screen 23
Size be text pixel value and pixel away from product, i.e. the above-mentioned text size of screen is not only related with text pixel value, also with
The pixel of image is shown away from related, specifically, pixel is away from bigger, character script under the premise of text pixel value is fixed
It is bigger, on the contrary, pixel, away from smaller, character script is smaller.Further, show the pixel of image away from usually with display screen
23 resolution ratio is directly related, and in the case where the screen size of display screen 23 is certain, the resolution ratio of screen is lower, pixel
Away from bigger, on the contrary, the resolution ratio of screen is higher, pixel is away from smaller.Therefore, finally it is presented on the object of the text of display screen 23
Reason font size is influenced by the resolution ratio of screen.
However, image display effect high-definition in order to obtain, existing display screen is towards high-resolution side
To development, so make to show in screen show the pixel of image away from usually smaller, and the system that CPU11 is sent to video card 12
Lteral data, such as page tool column lteral data, title bar text data, text font size are usually fixed size, institute
To eventually lead to shown text, especially system literal in high-resolution display screen, the frequent mistake of physics font size
It is small, it is suitable for the best font size mismatch of viewing with user, be easy to cause the visual fatigue of user.
Summary of the invention
To overcome the problems in correlation technique, the present invention provide a kind of display font scale adjusting method, device and
Terminal device.
According to a first aspect of the embodiments of the present invention, a kind of display font scale adjusting method is provided, display is applied to,
Include:
Obtain shown in the display screen of target text size and display the pixel of image away from;
According to the target text size and the pixel away from obtaining target per inch pixel number DPI value;
The target DPI value is sent to the video card of host, so that current DPI value is updated to the target by the video card
DPI value.
According to a second aspect of the embodiments of the present invention, another display font scale adjusting method is provided, master is applied to
Machine, the host include the central processor CPU and video card of electrical connection, which comprises
The video card receives the target DPI value that display is sent, and current DPI value is updated to the target DPI value;
Detect the font size value that the CPU is sent to the target text to be shown of the video card;
According to the font size value of the target DPI value and target text to be shown, the picture of target text to be shown is calculated
Element value;
The pixel value of the target text to be shown is sent to the display, to show text to be shown in screen
Text size be target text size.
According to a third aspect of the embodiments of the present invention, a kind of display font size adjusting device is provided, comprising: processor,
Memory and communication interface, the processor, the memory are connected with the communication interface communication bus;
The communication interface, for sending and receiving signal;
The memory, for storing program code;
The processor for reading the program code stored in the memory, and executes described in above-mentioned first aspect
Method.
According to a fourth aspect of the embodiments of the present invention, a kind of display font size adjusting device is provided, comprising: processor,
Memory and communication interface, the processor, the memory are connected with the communication interface communication bus;
The communication interface, for sending and receiving signal;
The memory, for storing program code;
The processor for reading the program code stored in the memory, and executes described in above-mentioned second aspect
Method.
5th aspect according to embodiments of the present invention, provides a kind of terminal device, comprising: host and display, wherein
It include the central processor CPU and video card of electrical connection in the host, the video card includes above-mentioned fourth aspect institute
The device stated;
The display includes display screen and Display processing module, the Display processing module include the above-mentioned third aspect
The device.
The technical solution that the embodiment of the present invention provides can include the following benefits:
The embodiment of the present invention provides a kind of display font scale adjusting method, and the method is applied to display, including obtains
Take shown in the display screen of target text size and display the pixel of image away from;According to the target text size and institute
Pixel is stated away from obtaining target per inch pixel number DPI value;The target DPI value is sent to the video card of host.The present invention is real
It is suitable for the best font size and current display of viewing according to user to be shown is needed in display screen that example, which is applied, by display
The pixel of screen is away from calculating the DPI value of system literal for needing to show within display screen, and the DPI value is sent to aobvious
Card, so that current DPI value can be updated to the target DPI value by video card, when the CPU of host needs to show corresponding system text
When word, target text is shown according to the display screen of target DPI value and the character-size control display of system literal by video card
Size, so that the physics font size of system literal be made to become larger, the best font size for being suitable for viewing with user matches, and avoids
Cause the visual fatigue of user.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram for computer that the prior art provides;
Fig. 2 is a kind of structural schematic diagram of computer provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram 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 flow diagram of another display font scale adjusting method provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of display font size adjusting device provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
It is shown in Figure 2, implement computer used for display font scale adjusting method provided in an embodiment of the present invention
Equipment, the computer equipment include host 1 and display 2, and the host 1 and display 2 communicate to connect, and the host 1 wraps
Include CPU and video card, the CPU and video card electrical connection;The display 2 is including outline border 3 and shows screen 4, in the display 2
It further include data memory module and image display, the data memory module is used to store the EDID letter of the display 2
Breath, the EDID information include that display supplier information, maximum image size, color setting, display frequency range etc. are basic
Information, and in embodiments of the present invention, the EDID information includes at least the size and indicator screen for having display screen
Resolution ratio.Display font scale adjusting method provided in an embodiment of the present invention is all conjointly employed in the computer equipment.
It is shown in Figure 3, it is the flow diagram 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, this method may include steps of.
In step s101, obtain shown in the display screen of target text size and display the pixel of image away from.
Since the maximum display resolution of different display panel curtains is different and shows that the size of screen is had any different, it is
Guarantee the system literal that user shows in viewing display screen, such as page tool column lteral data, title bar text data
Whens equal, generally system literal can be adjusted to fixed size according to the size of display screen, consequently facilitating user's viewing is aobvious
Show the comfort level when display screen of device.Therefore, the size according to display screen is needed in the embodiment of the present invention, obtains mesh
Text size is marked, the target text size is to need to be shown in the size of system literal on display screen.In addition, display screen
The pixel of middle display image, can be according to aobvious away from the spacing between two neighbor pixels in the display screen of as display
The size of display screen curtain and the resolution ratio of image to display determine.
When get the target text size and show shown in screen the pixel of image away from when, in step S102
In, according to the target text size and the pixel away from obtaining target per inch pixel number DPI value.
Disclose in embodiment in the present invention, target text size is equal to pixel away from, system literal font size and target DPI
The product of value, wherein the system literal font size is the predetermined page tool column lteral data of system, title bar text number
According to the size of middle text, be dimensioned to 5 pounds such as system literal, then in method provided in an embodiment of the present invention, system text
Word font size is then set as 5/72.To be equal to pixel away from, system literal font size and target DPI value according to target text size
Product calculate target DPI value, the target DPI value is the DPI value for needing to set in video card.
When obtaining the target DPI value, in step s 103, the target DPI value is sent to the video card of host.
Due to including CPU and video card in host, and video card is the display screen displaying target text for controlling display
Equipment, therefore, it is necessary to the target DPI values for obtaining step S102 to be sent to video card, be updated to current DPI value by video card described
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 display image screen of display.
Using method provided in an embodiment of the present invention, need user to be shown suitable according in display screen by display
The best font size of viewing and the pixel of current display screen are away from the system text that calculating needs to show within display screen
The DPI value of word, and the DPI value is sent to video card, so that current DPI value can be updated to the target DPI value by video card, when
When the CPU of host needs to show corresponding system literal, shown by video card according to the character-size control of target DPI value and system literal
Show that the display screen of device shows target text size, (becomes larger or become so that the physics font size of system literal be made to change
It is small), the best font size for being suitable for viewing with user matches, and avoids the visual fatigue of user.Moreover, aobvious in display
After the resolution ratio of display screen curtain changes, it can the text size for having video card control to show every time is fixed size, is kept away
Manpower-free adjusts cumbersome every time.
It is shown in Figure 4, it is the detailed process schematic diagram on the above-mentioned basis Fig. 3 to step S101.As shown in figure 3, should
In step S101 obtain pixel away from method can also include the following steps.
In step S1011, obtains in display screen and show the display mode of image and the EDID information of display.
In the embodiment of the present invention, shows and show that the display mode of image includes three kinds of modes: point-to-point display side in screen
Formula, full screen display mode and ratio display mode, the point-to-point display mode is i.e. in the pixel of signal source and the picture of display
Element display when correspond, be generally divided into following several situations: the full frame point-to-point display mode of state, i.e. signal resolution with
The physical resolution of display is consistent, i.e., full frame point-to-point display;The non-point-to-point display mode of full frame state sacrifices a part
Indicator screen effective area, the pixel of the display of other effective areas and the resolution ratio of signal source are corresponding;In the present invention
In embodiment, the embodiment of point-to-point display mode is the non-full frame point-to-point display mode of state, that is, during showing, display
The middle section of screen shows, shows that screen sides are not shown;The full screen display mode is the intrinsic size in display screen
Under be paved with whole screens, show that the edge of image is corresponding with the display edge pixel of screen;The ratio display mode is
Display the one of opposite side edge of image with show screen edge be close to, another opposite side edge not with show screen edge
It is close to.Thus according to showing that it is shared in the display screen of display that the display mode of image obtains display image in display screen
Pixel size.
In addition, the EDID information can store in the data memory module of the display, so as to directly obtain
The EDID information is taken, and includes at least the size and resolution ratio of display screen in the EDID information, wherein is described aobvious
The size and resolution ratio of display screen curtain are the intrinsic full-size and maximum resolution of display panel curtain.
In step S1012, the output signal resolution ratio of video card is obtained.
The output signal resolution ratio of video card is for video card according to the DPI value stored in system literal font size and video card come really
Fixed, the output signal resolution ratio is the product of the DPI value stored in system literal font size and video card.In the embodiment of the present invention
In, the step S1011 and step S1012 are not obtained according to sequence as above, can be according in specific implementation process
Actual conditions obtain respectively or obtain simultaneously the output signal resolution ratio of video card.
When getting the output signal resolution ratio of the display mode, EDID information and video card, in step S1013,
According to the output signal resolution ratio of the display mode, EDID information and video card, it is calculated in display screen and shows image
Pixel away from.
In embodiments of the present invention, show the pixel for showing image in screen away from according to different display modes, difference
According to the output signal resolution ratio of the size and resolution ratio and video card that show screen in EDID information, to determine display
Shown in screen the pixel of image away from.Specifically, calculating the pixel for showing image in display screen according to different display modes
Point away from method can be found in following related embodiment.
When showing the display mode for showing image in screen is point-to-point display mode, shows in screen and show image
Pixel away from calculation method be illustrated in combination with the embodiment under Fig. 4 application scenarios.
It is shown in Figure 5, for the application scenarios schematic diagram of the point-to-point display mode provided in mode of the embodiment of the present invention.
As shown in figure 5, the size of display panel curtain is set as T, show that the resolution ratio of screen is M*N, within display screen
Display area be S1 represented by region, then according to display screen size and resolution ratio show image pixel away from
Calculate display image pixel away from, and the pixel away from for display screen size divided by display screen resolution
Square root.According to Fig.5, under the application scenarios of point-to-point display mode, calculation method of the pixel away from d1 of image is shown
ForWherein, M and N is horizontal pixel number and vertical pixel number under display screen resolution, and k is a constant,
And in embodiments of the present invention, the k=25.4, as it ensure that the pel spacing just calculated is common length (with millimeter
For unit), and screen size is inch under normal circumstances, so needing inch unit conversion to be millimeter unit.
It is shown in Figure 6, for the application scenarios schematic diagram of the full screen display mode provided in mode of the embodiment of the present invention.Such as
It shown in Fig. 6, shows that the size of screen is set as T, shows that the resolution ratio of screen is M*N, viewing area within display screen
Domain S2 is all to show screen, when the output signal resolution sizes for the video card that display obtains are P*Q, then according to the defeated of video card
Out signal resolution and show screen size, be calculated display image pixel away from, and the pixel away from
Size be show screen size divided by video card output signal resolution ratio square root.It is point-to-point according to Fig.6,
Under the application scenarios of display mode, show that the pixel of image is away from the calculation method of d2Wherein, P and Q are
Horizontal pixel number and vertical pixel number in the output signal resolution ratio of video card, k are a constant, and in embodiments of the present invention,
The k=25.4, as it ensure that the pel spacing just calculated is common length (in millimeters), and under normal circumstances
Screen size is inch, so needing inch unit conversion to be millimeter unit.
It is shown in Figure 7, for the application scenarios schematic diagram of the ratio display mode provided in mode of the embodiment of the present invention.Such as
It shown in Fig. 7, shows that the size of screen is set as T, shows that the resolution ratio of screen is M*N, viewing area within display screen
Domain S3 is that ratio shows screen, and the both sides up and down of display area S3 are close to the edge of display screen, when what display obtained shows
The output signal resolution sizes of card are W*L, then according to the output signal resolution ratio of video card, show the resolution ratio of screen and aobvious
The pixel of display image is calculated away from the specific implementation process, needing according to the defeated of video card in the size of display screen curtain
It signal resolution and shows the size of screen out, the output signal of video card display area within display screen is calculated
The size of S3, wherein the size of display area S3 is defined as S, then the pixel away from size be display area S3
Size divided by video card output signal resolution ratio square root.The application scenarios of ratio display mode according to Fig.7,
Under, show that the pixel of image is away from the calculation method of d3Wherein, the size S of display area S3 can be with
For the product of the ratio between output signal resolution ratio and the resolution ratio for showing screen and the size T of display screen, P and Q are video card
Output signal resolution ratio in horizontal pixel number and vertical pixel number, k is a constant, and in embodiments of the present invention, the k
=25.4, as it ensure that the pel spacing just calculated is common length (in millimeters), and ordinary circumstance sub-screen
Having a size of inch, so needing inch unit conversion to be millimeter unit.
By shown under the figures above 5 to the different display modes of 7 pairs of attached drawing shown in screen the pixel of image away from, thus
Convenient in the embodiment of the present invention according to the pixel away from and target text size target DPI value is calculated, consequently facilitating aobvious
Card is updated according to target DPI value, so that high-resolution display when displaying an image can be according to system font size certainly
The font size of dynamic adjustment display text, effectively improves the viewing effect of user.
In addition, the embodiment of the invention also provides the detailed process schematic diagrames of step S102 on the basis of Fig. 3.Such as
The method flow schematic diagram provided in an embodiment of the present invention for calculating target DPI value shown in Fig. 8.Step S102 may include following
Step.
In step S1021, the default font size value of system literal is obtained.
In the embodiment of the present invention, the default font size value of system literal, and system text can be obtained directly from video card
The default font size value of word is the fixation font size of system literal.It does not elaborate herein.
In step S1022, according to the target text size, pixel away from default font size value, be calculated described
Target DPI value.
Wherein, in embodiments of the present invention, the target DPI value be the target text size divided by the pixel away from
With the product of default font size value, by target text size acquired in step s101, pixel away from and the default font size
Value, is calculated target DPI value.Here, the calculation formula of target DPI value is no longer elaborated, it can be referring to above-mentioned implementation
Associated description in example.
Using the above method provided in an embodiment of the present invention, it is aobvious that video card control display screen can be calculated by display end
Diagram as when, the pixel value of image to be displayed is directly sent to by display, display according to the font size of system literal by video card
Further according to pixel away from display system text be target text size, the comfortable of user's copic viewing system text can not only be improved
Degree, to effectively reduce the processing pressure of host, improves moreover, being all set in display end for the treatment process of target DPI
Whole data processing speed.
The embodiment of the invention also discloses another display font scale adjusting method, this method is applied to include centre
It in the host for managing device and video card, is applied particularly in video card, the central processing unit and video card electrical connection, the central processing unit
The font size of system literal to be shown will be needed to be sent to video card, by video card according to the font size value and target DPI value of system literal
The resolution ratio of image to be displayed is calculated, and the display screen for controlling display is shown.Specific embodiment is shown in Figure 9.
It is shown in Figure 9, show for the process of another display font scale adjusting method provided in an embodiment of the present invention
It is intended to, as shown in figure 9, this method is applied in video card, the method may include following steps.
In step s 201, the video card receives the target DPI value that display is sent, and current DPI value is updated to described
Target DPI value.
Target DPI value described in the embodiment of the present invention is to be calculated in step S102, and the current DPI value is display
The original DPI value set before device can search data storage when current DPI value is updated to the target DPI value in advance
The current DPI value stored in device, and the current DPI value is deleted, the target DPI value is then stored in the data and is stored
In device, the DPI value new as video card.
When being updated to the target DPI value, in step S202, detect the CPU be sent to the video card to aobvious
Show the font size value of target text.
In embodiments of the present invention, it when CPU needs display system text, needs the font size value of target text to be shown
It is sent to video card, the font size value for receiving the target text to be shown is detected whether by video card, if receiving the mesh to be shown
The font size value for marking text, thens follow the steps S203, otherwise, continues to execute step S202.
When detecting the font size value of target text to be shown, in step S203, according to the target DPI value and to aobvious
The font size value for showing target text, is calculated 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 the target DPI value and target text to be shown,
In embodiments of the present invention, the computation model that the pixel value of target text to be shown can be pre-established, then according to the mesh
Mark the pixel value of the worth target text to be shown out of font size of DPI value and target text to be shown.
When the pixel value of target text to be shown is calculated, in step S204, by the target text to be shown
Pixel value be sent to the display.
In embodiments of the present invention, the pixel value of target text to be shown is sent to display, to control display
The text size of text to be shown to be shown is needed to be adjusted to target text size in display screen, the target text size is
For shown in the pixel value and display screen of the step S103 target text to be shown being calculated the pixel of image away from multiply
Product, is adjusted to fixed size for the size of text to be shown to control display.
Using method provided in an embodiment of the present invention, target to be shown is calculated according to the target DPI value of update by video card
The pixel value of text, the text size convenient for text to be shown in display screen is adjusted to target text size, to effectively solve
The adjust automatically for certainly showing the font size of text effectively improves the display speed and display efficiency of display text, meanwhile, it improves
The comfort level of user's viewing.
The above are the embodiment of the method for display font scale adjusting method provided in an embodiment of the present invention, above embodiments it
Between be mutual progressive relationship, part is related or identical content does not elaborate, can be between each other referring to herein no longer
It elaborates.
It is 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, the display or a part in host which is computer.As shown in Figure 10, device 1000 can include: at least one
A processor (processor) 1001, memory (memory) 1002, peripheral device interface (peripheral interface)
1003, input/output subsystem (I/O subsystem) 1004, power circuit 1005 and communication line 1006.
In Fig. 9, arrow indicates can be carried out the communication and data transmission between the constituent element of computer system, and it can benefit
With high-speed serial bus (high-speed serial bus), parallel bus (parallel bus), storage area network
(SAN, Storage Area Network) and/or other communication technologys appropriate and realize.
Memory 1002 may include operating system 1012 and display font size adjustment routine 1022.For example, 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.Memory 1002
The program coding for operating system 1012 and display font size adjustment routine 1022 can be stored, that is to say, that may include display
Software module, instruction set architecture or a variety of data except it needed for font size adjusts the movement of device 1000.At this point, place
Reason other controllers such as device 1001 or peripheral device interface 1006 and the access of memory 1002 can be controlled by processor 1001
System.
Peripheral device interface 1003 can by the input and/or output peripheral equipment of display font size adjusting device 1000 with
Processor 1001 and memory 1002 combine.Also, input/output subsystem 1004 can be by a variety of input/output peripheral equipments
It is combined with peripheral device interface 1006.For example, input/output subsystem 1004 may include display, keyboard, mouse, printing
Machine or the as needed control for combining the peripheral equipments such as camera, various sensors with peripheral device interface 1003
Device.Specifically, including for by image displaying circuit and 1003 phase knot of peripheral device interface in input/output subsystem 1004
The controller of conjunction.
Power circuit 1005 can be supplied electric power to all or part of the circuit element of terminal device.For example, power circuit
1005 may include more than one power supply, charging system, the power failure monitor such as electric power management system, battery or exchange (AC)
Circuit (power failure detection circuit), power converter or inverter, power state marker character are used for
Other any circuit elements that electric power is generated, manages, distributed.
Communication line 1006 can be communicated using at least one interface with other hosts.
Processor 1001 is by implementing the software module being stored in memory 1002 or the executable display word of instruction set architecture
The multiple functions and processing data of body size adjusting device 1000.That is, processor 1001 by execute basic arithmetic,
The input/output of logic and computer system is calculated, and may be configured as the order of processing 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
Ditty engagement positions 1000 can have the following structure or configure: omitting partial circuit element shown in Fig. 10, or be further equipped with figure
The circuit element of addition not shown in 10, or combine more than two circuit elements.For example, the communication for mobile environment is whole
The display at end can also further comprise sensor etc. other than circuit element shown in Fig. 10, and in communication line 1006
In may also comprise for communication (WiFi, 6G, LTE, Bluetooth, NFC, Zigbee etc.) RF communication circuit.
It may include that circuit element in display font size adjusting device 1000 can be by including more than one signal processing or application
The combination of both hardware, software or the hardware and software of the integrated circuit that program is becomed privileged and realize.
When a part in the display that the display font size adjusting device 1000 of above-mentioned composition is computer, the dress
It sets according to showing the pixel of image away from target per inch picture is calculated in the display screen of target text size and display
Prime number DPI value, and target DPI value is sent to the video card of host, so that current DPI value can be updated to the mesh by video card
Mark DPI value.
When a part in the host that the display font size adjusting device 1000 of above-mentioned composition is computer, the device
The target DPI value sent from display is received, and according to the font size value of target DPI value and the CPU system literal sent
Obtain the pixel value of text to be shown, when showing text to be shown so as to automatically control display, further according to pixel away from
The font size for calculating, adjusting target text to be shown effectively improves the comfort level of user's viewing.
In addition, it is shown in Figure 11, it is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention, such as Figure 11
Shown, arrow indicates to be electrically connected or communicate to connect between two equipment, which includes host 1101 and display
1102, wherein it include CPU1111 and video card 1112 in the host 1101, the CPU1111 and video card 1112 are electrically connected,
In, CPU1111 for output system text font size to video card 1112, may include such as above-mentioned Figure 10 institute in the video card 1112
The display font size adjusting device 1000 shown, in the memory 1002 therein of display font size adjusting device 1000 storage just like
The corresponding program of above-mentioned embodiment of the method shown in Fig. 9, to execute the program by processor 1001.The display 12 can wrap
Display screen and Display processing module are included, which may include display font size adjustment dress as shown in Figure 10
1000 are set, is stored in the memory 1002 therein of display font size adjusting device 1000 such as above-mentioned Fig. 3 to method shown in Fig. 8
The corresponding program of embodiment, to execute the program by processor 1001.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when invention.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device or
For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method
The part of embodiment illustrates.Apparatus and system embodiment described above is only schematical, wherein as separation
The unit of part description may or may not be physically separated, component shown as a unit can be or
It can not be physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to reality
Border needs to select some or all of the modules therein to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art
It can understand and implement without creative efforts.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (9)
1. a kind of display font scale adjusting method is applied to display characterized by comprising
Obtain target text size, display display screen in show the pixel of image away from the default font size with system literal
Value;
According to the target text size, the pixel away from the default font size value, obtain target per inch pixel number DPI
Value;
The target DPI value is sent to the video card of host, so that current DPI value is updated to the target DPI by the video card
Value.
2. the method according to claim 1, wherein obtaining the pixel for showing image in display screen away from packet
It includes:
It obtains in display screen and shows the display mode of image and the EDID information of display;
Obtain the output signal resolution ratio of video card;
According to the output signal resolution ratio of the display mode, EDID information and video card, it is calculated in display screen and shows figure
The pixel of picture away from.
3. according to the method described in claim 2, it is characterized in that, when the display mode for showing image in the display screen is
When point-to-point display mode, it is described be calculated in display screen show the pixel of image away from, comprising:
According to it is described display screen size and resolution ratio, calculate display image pixel away from.
4. according to the method described in claim 2, it is characterized in that, when the display mode for showing image in the display screen is
When full screen display mode, it is described be calculated in display screen show the pixel of image away from, comprising:
According to the output signal resolution ratio of the video card and the size of the display screen, display image is calculated
Pixel away from.
5. according to the method described in claim 2, it is characterized in that, when the display mode for showing image in the display screen is
When ratio display mode, it is described be calculated in display screen show the pixel of image away from, comprising:
It according to the output signal resolution ratio of the video card, shows the size of screen and shows the resolution ratio of screen, calculate
Show out the pixel of image away from.
6. a kind of display font scale adjusting method, be applied to host, the host include electrical connection central processor CPU and
Video card, which is characterized in that the described method includes:
The video card receives the target DPI value that display is sent, and current DPI value is updated to the target DPI value, wherein institute
Stating target DPI value is to be calculated using any display font scale adjusting method of claim 1 to 5;
Detect the font size value that the CPU is sent to the target text to be shown of the video card;
According to the font size value of the target DPI value and target text to be shown, the pixel value of target text to be shown is calculated;
The pixel value of the target text to be shown is sent to the display, to show the text of text to be shown in screen
Word size is target text size.
7. a kind of display font size adjusting device characterized by comprising processor, memory and communication interface, the place
Reason device, the memory are connected with the communication interface communication bus;
The communication interface, for sending and receiving signal;
The memory, for storing program code;
The processor for reading the program code stored in the memory, and is executed as any in claim 1 to 5
Method described in.
8. a kind of display font size adjusting device characterized by comprising processor, memory and communication interface, the place
Reason device, the memory are connected with the communication interface communication bus;
The communication interface, for sending and receiving signal;
The memory, for storing program code;
The processor for reading the program code stored in the memory, and executes side as claimed in claim 6
Method.
9. a kind of terminal device characterized by comprising host and display, wherein
It include the central processor CPU and video card of electrical connection in the host, the video card includes dress as claimed in claim 8
It sets;
The display includes display screen and Display processing module, and the Display processing module includes as claimed in claim 7
Device.
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 CN106383689A (en) | 2017-02-08 |
CN106383689B true 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) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897399A (en) * | 2017-02-10 | 2017-06-27 | 合网络技术(北京)有限公司 | Character displaying method and device |
CN108172200B (en) * | 2018-01-25 | 2021-02-05 | 腾讯科技(深圳)有限公司 | Method for displaying text in application and terminal equipment |
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 |
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 |
CN112051976B (en) * | 2020-08-24 | 2022-09-30 | 南京巨鲨显示科技有限公司 | Method for self-adapting optimal resolution and text size of display |
CN114492300A (en) * | 2020-11-13 | 2022-05-13 | 西安诺瓦星云科技股份有限公司 | Word processing method, device and system, storage medium and display control card |
CN112488921A (en) * | 2020-12-03 | 2021-03-12 | 安徽寒武纪信息科技有限公司 | Method for adjusting font size of character string and readable storage medium |
CN113360122B (en) * | 2021-04-14 | 2022-11-15 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and text display method thereof |
CN114494017B (en) * | 2022-01-25 | 2023-04-07 | 北京至简墨奇科技有限公司 | Method, device, equipment and medium for adjusting DPI (deep packet inspection) image according to scale |
CN114995778A (en) * | 2022-03-28 | 2022-09-02 | 广东统信软件有限公司 | 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 (5)
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 | |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104238890B (en) * | 2014-09-19 | 2018-11-23 | 小米科技有限责任公司 | Character displaying method and device |
-
2016
- 2016-09-20 CN CN201610835144.8A patent/CN106383689B/en active Active
Patent Citations (5)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106383689A (en) | 2017-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106383689B (en) | Display font scale adjusting method, device and terminal device | |
US9892716B2 (en) | Image display program, image display method, and image display system | |
CN103853512B (en) | A kind of method and electronic equipment for realizing split screen | |
US20070260978A1 (en) | Embedded display system and method used by the system | |
US20170193884A1 (en) | Display device and driving method and driving module | |
WO2017012300A1 (en) | Display substrate, display apparatus, and method for adjusting resolution of display substrate | |
US10878532B2 (en) | Display device, system and controlling method therefor | |
US20140059459A1 (en) | Processing method and processing device for displaying icon and electronic device | |
US9753532B2 (en) | Image processing method and image processing apparatus | |
CN108055578A (en) | A kind of image processing method, device and vision signal splicing device | |
CN104423922A (en) | Image display apparatus and data transfer method | |
US9489883B2 (en) | Electronic apparatus and method of displaying image thereof | |
US9837026B2 (en) | Backlight control method, backlight control device and display apparatus employing a system on chip and a field-programmable gate array | |
CN110598140A (en) | Page adjusting method and device and server | |
CN110825294A (en) | Display method, electronic device, and computer-readable storage medium | |
US10068514B2 (en) | Electronic paper display apparatus and a detection method thereof | |
US20160358591A1 (en) | Timing controller of display apparatus and operation method thereof | |
CN108780348B (en) | Image transmission apparatus, image transmission system, and method of controlling image transmission apparatus | |
TWI733205B (en) | Method, host processor and display panel for performing display control of an electronic device | |
US9460487B2 (en) | Display device and image display method | |
US10592194B2 (en) | Method and system for multiple display device projection | |
WO2022205924A1 (en) | Image processing method and apparatus, display control method and apparatus, and display apparatus | |
US20170076426A1 (en) | Display device, display system, and storage medium | |
US10013427B2 (en) | Electronic device and recording medium storing data management program that conceal data corresponding to type of processes | |
CN112099650A (en) | Screen display method and device, electronic equipment and computer readable storage medium |
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 | ||
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. |