A font adjustment method and mobile terminal

A technology of a mobile terminal and an adjustment method, applied in the direction of electrical digital data processing, digital output to display devices, instruments, etc., can solve problems such as inability to match text and images, single font background color, and poor font color and style variability.

Active Publication Date: 2020-01-10
VIVO MOBILE COMM CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a font adjustment method and a mobile terminal to solve the problem that in the existing methods for splicing images and characters, the variability of font color and style is poor, and the background color of the font is single, resulting in spliced ​​characters and images in the Problems that don't match visually

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
  • A font adjustment method and mobile terminal
  • A font adjustment method and mobile terminal
  • A font adjustment method and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0025] see figure 1 As shown, the first embodiment of the present invention provides a font adjustment method applied to a mobile terminal, including steps 101 to 103, which are described in detail as follows.

[0026] Step 101: Obtain the color mean value of at least some pixels in the target image according to the positional relationship between the target text and the target image.

[0027] In the embodiment of the present invention, the target image refers to an image to be spliced ​​with the target text, which may be a picture, a poster, and the like. The target text refers to the text to be spliced ​​with the target picture, and it is also the text to be adjusted in font in the embodiment of the present invention, which may be lyrics, poems, etc.

[0028] A pixel usually refers to a minimum unit in an image represented by a sequence of numbers. Therefore, in the embodiment of the present invention, in order to determine the color mean value of the image background of th...

no. 2 example

[0036] see figure 2 As shown, the second embodiment of the present invention provides a font adjustment method applied to a mobile terminal, including steps 201 to 204, which are described in detail as follows.

[0037] Step 201: Obtain the color value of each pixel in at least some pixels of the target image according to the positional relationship between the target text and the target image.

[0038] In the embodiment of the present invention, the target image refers to an image to be spliced ​​with the target text, which may be a picture, a poster, and the like. The target text refers to the text to be spliced ​​with the target picture, and it is also the text to be adjusted in font in the embodiment of the present invention, which may be lyrics, poems, etc.

[0039] A pixel usually refers to a minimum unit in an image represented by a sequence of numbers. Therefore, in the embodiment of the present invention, in order to determine the color mean value of the image backg...

no. 3 example

[0049] see image 3 As shown, the third embodiment of the present invention provides a font adjustment method applied to a mobile terminal, including steps 301 to 308, which are described in detail as follows.

[0050] Step 301: Determine the positional relationship between the target image and the target text.

[0051] In the embodiment of the present invention, the target image refers to an image to be spliced ​​with the target text, which may be a picture, a poster, and the like. The target text refers to the text to be spliced ​​with the target picture, and it is also the text to be adjusted in font in the embodiment of the present invention, which may be lyrics, poems, etc.

[0052]Among them, the positional relationship between the target image and the target text can be two types: one is that the target text is located on the target image; the other is that the target text is not located on the target image, that is, the target text is located on the side of the target...

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 embodiment of the invention provides a font adjusting method and a mobile terminal. The font adjusting method comprises the steps that a color mean value of at least part of pixels in a target image is acquired according to a position relation between a target character and the target image, a font feature corresponding to the color mean value is matched from a preset font matching library, and the font of the target character is adjusted according to the matched font feature. According to the scheme, the target character and the target image which are spliced together can be matched visually, the condition that the character cannot be seen clearly is avoided, the color, the style and the like of the target character can be automatically adjusted according to the color mean value of the target image, and then the usage experience of a user is improved.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a font adjustment method and a mobile terminal. Background technique [0002] In the prior art, in order to improve user experience, some software can usually splice images and text together, and set the text with several specific font colors and styles. For example, the app QQ Music can stitch lyrics and posters together to form a lyrics poster, and display the lyrics through specific font colors. [0003] However, in this method of splicing images and texts, the variability of font color and style is relatively poor, and the font background color is single, which may easily cause the spliced ​​text and image to be visually inconsistent. Contents of the invention [0004] Embodiments of the present invention provide a font adjustment method and a mobile terminal to solve the problem that in the existing methods for splicing images and characters, the variability of fon...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/14
CPCG06F3/1407
Inventor 周悦
Owner VIVO MOBILE COMM CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products