Unlock instant, AI-driven research and patent intelligence for your innovation.

Page zoom method and device

A page zooming and zooming technology, applied in the computer field, can solve problems such as inconvenient reading during zooming operations

Active Publication Date: 2019-03-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a page zooming method to solve the problem of inconvenient reading in the zooming operation in the prior art

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
  • Page zoom method and device
  • Page zoom method and device
  • Page zoom method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 1 It shows the implementation process of the page zooming method provided by Embodiment 1 of the present invention, and the details are as follows:

[0027] In step S101, a zoom instruction of a sliding touch is received, and a sliding range of the sliding touch is acquired.

[0028] Specifically, on a touch device such as a mobile phone or a tablet computer, the zoom command defined by it may be a zoom command of a two-point sliding touch, which includes the positions of the two points at which the touch starts and the position of the two points at which the touch ends. The distance between the two touch points of the command's initial slide minus the distance between the two touch points at the end of the slide is used to obtain the slide range of the slide touch. The positive or negative of the distance can represent zoom in and out. Of course, a single-point slide can also be defined as a zoom command according to the user's usage habits, the distance differ...

Embodiment 2

[0048] figure 2 It shows the implementation flow of the page zooming method provided in Embodiment 2 of the present invention, and the details are as follows:

[0049] In step S201, the text to be scaled is selected.

[0050]Specifically, for individual cases, if the user needs to emphasize part of the text on the page or enlarge part of the text content on the page, and does not need to zoom all the text, the part of the text needs to be selected.

[0051] The selection instruction can be defined by the touch information input by the user. After receiving the instruction of pressing for a specified time, the start position and end position of the selected text can be further determined. The text between the start position and the end position is The selected text to be scaled.

[0052] In step S202, a zoom instruction of the sliding touch is received, and the sliding range of the sliding touch is obtained.

[0053] In step S203, the scaled font size is determined accordin...

Embodiment 3

[0061] image 3 The implementation process of the page zooming method provided by the third embodiment of the present invention is shown, and the details are as follows:

[0062] In step S301, the text to be scaled is selected.

[0063] In step S302, a zoom instruction of the sliding touch is received, and the sliding range of the sliding touch is obtained.

[0064] In step S303, the scaled font size is determined according to the sliding range.

[0065] In step S304, the position of line break in the page text is determined according to the zoomed font size and the size of the display window.

[0066] In step S305, the words in the page text are rearranged and displayed according to the zoomed font size and the line break position in the page text.

[0067] Steps S301-S305 are the same as steps S201-S205 in the second embodiment, and will not be repeated here.

[0068] In step S306, the font size and line break position information of the scaled text is stored.

[0069] ...

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 is applicable to the field of computers and provides a page scaling method and device. The method comprises the steps as follows: receiving a scaling command for a sliding touch, and obtaining the sliding amplitude of the sliding touch; determining the scaled font size according to the sliding amplitude; determining a line feed position in a page text according to the scaled font size and the size of a display window; rearranging and displaying characters in the page text according to the scaled font size and the line feed position in the page text. According to the page scaling method and device, the scaled font size can be obtained according to the sliding amplitude of the sliding touch after the scaling command is received, and the line feed position in the page text can be adjusted according to the font size and the size of the display window, so that texts in the same display window can be displayed continuously while the adjusted page text can meet the scaling requirement, and the convenience in reading is improved.

Description

technical field [0001] The invention belongs to the field of computers, and in particular relates to a page scaling method and device. Background technique [0002] When using a reader or other browsing tools on a mobile phone or a tablet computer to browse text data content, it will generally open the text with the default font or the font that was set last time. Due to the different reading habits of different users, the size of the text is often adjusted, such as adjusting to a large font to facilitate users to read clearly, or reducing the font to increase the information carrying capacity of a single page. [0003] The current common text browsing tools, such as browsers, also have the function of zooming in on the text size, but after the zoom-in operation, all the information on the entire page is zoomed in, and the user needs to drag horizontally, which is inconvenient for reading. Contents of the invention [0004] The purpose of the embodiments of the present in...

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/0488G06F3/0485
Inventor 邵和明
Owner TENCENT TECH (SHENZHEN) CO LTD