Supercharge Your Innovation With Domain-Expert AI Agents!

Method for automatically adjusting text definition along with screen resolution

A technology of screen resolution and automatic adjustment, applied in the field of image processing, can solve the problems of blurring, lack of scalability, etc., to avoid the effect of blurring

Inactive Publication Date: 2017-11-28
INSPUR FINANCIAL INFORMATION TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The former can guarantee that the font remains clearly visible to a certain extent (for example, within three times the magnification), but it will become blurred after exceeding this range
The latter does not have scalability at all, and can only be displayed under the specified DPI

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for automatically adjusting text definition along with screen resolution
  • Method for automatically adjusting text definition along with screen resolution
  • Method for automatically adjusting text definition along with screen resolution

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Such as figure 1 As shown, a method for automatically adjusting text clarity with screen resolution includes the following steps:

[0028] S1. Determine whether the font to be scaled is a bit-matrix font or a vector font. If it is a vector font, convert according to the resolution ratio. If it is a bit-matrix font, obtain the bit-matrix information;

[0029] S2. Loading the dot matrix information into the data space;

[0030] S3. Determine whether the scaling ratio is an integer scaling; if so, realize scaling through vectorized mapping in space; if not, calculate the pixel number scaling ratio according to the length and width information of the lattice in each area of ​​the space;

[0031] S4, determine whether the scaling ratio of the number of pixels is less than 1, if less than 1, the area is not scaled, otherwise, the corresponding scaling ratio of the number of pixels is scaled after rounding;

[0032] S5, outputting the scaled font bitmap information.

[0033...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for automatically adjusting text definition along with screen resolution. The method comprises the following steps of S1, judging whether a to-be-zoomed font is a dot matrix font or a vector font; if the to-be-zoomed font is the vector font, performing ratio conversion according to the resolution; if the to-be-zoomed font is the dot matrix font, obtaining dot matrix information; S2, loading the dot matrix information into a data space; S3, judging whether a zoom ratio is whole ratio zoom or not; if yes, realizing zooming through vectorization mapping in the space; if not, calculating a pixel number zoom ratio according to length and width information of a dot matrix of each region of the space; S4, judging whether the pixel number zoom ratio is smaller than 1 or not; if yes, not performing zooming processing on the region; otherwise, performing rounding and reducing the corresponding pixel number zoom ratio; and S5, outputting dot matrix information of a zoomed font. According to the method, vectorization zooming of fonts can be finished in all resolution levels, so that the phenomenon of grammaticalization, fuzziness or deformation of text display is avoided.

Description

technical field [0001] The invention relates to a method for automatically adjusting text clarity according to screen resolution, and belongs to the technical field of image processing. Background technique [0002] As far as the applicant knows, with the gradual popularization of small high-resolution terminal devices, traditional applications running on large-screen devices face a variety of compatibility issues, the most intuitive of which is that in the process of UI rendering, traditional Fonts displayed in applications can often become illegible due to resolution changes. [0003] The reason is that in traditional operating systems, system font files exist in the form of vector and dot matrix. The former can guarantee that the font remains clearly visible to a certain extent (for example, within three times the magnification), but it will become blurred after exceeding this range. The latter has no scalability at all and can only be displayed under a specified DPI. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/14G06F3/147
Inventor 张家重董毅付宪瑞王玉奎
Owner INSPUR FINANCIAL INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More