Patent ID: 7543230
Filing Date: 2009-06-02
Classification: G06F

Abstract:
1. A document display device including a display section that has a screen on which characters can be displayed in a plurality of lines and a display control section that displays characters while inserting line feeds therein according to a number of characters per line on the screen, the document display device comprising: a first judging section that checks whether or not a tail of a word to be displayed goes beyond an end of a line on the screen using a first reference value of a number of characters of a line that can be displayed on the screen; a second judging section that, when the first judging section finds the tail of the word to go beyond the end of the line on the screen, checks whether or not a number of characters contained in the word exceeds a second reference value, different from the first reference value; a word-wrap section that, when the first judging section finds the tail of the word to go beyond the end of the line on the screen and in addition the second judging section finds the number of characters contained in the word not to exceed the second reference value, instructs the display control section to insert a line feed immediately before the word; and a halfway line-feed section that, when the first judging section finds the tail of the word to go beyond the end of the line on the screen and in addition the second judging section finds the number of characters contained in the word to exceed the second reference value, instructs the display control section to insert a line feed halfway within the word without hyphenation, wherein the word-wrap section makes a blank leading to the end of the line created by word-wrapping with an insertion of the line feed shorter than or equal to a length of a number of characters corresponding to the second reference value.