Method, equipment, and medium for displaying content
AssigneeBeijing Dajia Internet Information Technology Co., Ltd.
InventorFang Li
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a method, device and terminal for displaying content, and a medium, used for completely displaying content entered by a user when a content including many characters is entered in an input box, so as to avoid tedious operation when the user views the entered content which is not displayed. The method for displaying content of the present disclosure includes: receiving target content entered in a first display region; calculating an occupancy rate based on the target content and the first display region in real time; reducing a font size of the target content in response to that the occupancy rate satisfies a first condition; generating a second display region for displaying the target content in response to that the occupancy rate satisfies a second condition.
Claims20
A method for displaying content, comprising:
- receiving target content with a first font size entered in a first display region;
- generating a second display region in response to determining that the target content is incapable of being completely displayed in the first display region, wherein an area of the second display region is larger than an area of the first display region;
- and
- displaying the target content with a second font size in the second display region;
- wherein the second font size is smaller than or equal to the first font size.
A terminal for displaying content, comprising:
- a processor;
- and
- a memory configured to store one or more instructions executed by the processor;
- wherein the processor is configured to execute the instructions to:
- receive target content with a first font size entered in a first display region;
- generate a second display region in response to determining that the target content is incapable of being completely displayed in the first display region, wherein an area of the second display region is larger than an area of the first display region;
- and
- display the target content with a second font size in the second display region;
- wherein the second font size is smaller than or equal to the first font size.
A non-transitory computer-readable storage medium, configured to store one or more instructions which are executed to cause a processor of a terminal for displaying content to:
- receive target content with a first font size entered in a first display region;
- generate a second display region in response to determining that the target content is incapable of being completely displayed in the first display region, wherein an area of the second display region is larger than an area of the first display region;
- and
- display the target content with a second font size in the second display region;
- wherein the second font size is smaller than or equal to the first font size.
Dependencies are inferred from the claim text.