Method for calculating CJK emboxes in fonts
First Claim
1. A method for typesetting a text line, comprising:
- determining dimensions of each of a plurality of characters to be typeset on a text line;
associating a distinct embox with each of the plurality of characters, each embox having an outer frame demarcated by the dimensions of the associated character of the plurality of characters;
associating a reference character with each of the plurality of characters, each associated reference character being one of one or more preselected reference characters, each reference character of the one or more preselected reference characters having the same font and dimensions as the associated character of the plurality of characters;
using the associated reference character to determine a coordination point for each distinct embox and thereby determine a coordination point for each of the plurality of characters; and
aligning each distinct embox with a coordination line using the determined coordination point for each of the plurality of characters to typeset the plurality of characters on the text line.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, implementing and using techniques for typesetting a text line of characters with different fonts or different sizes without the presence of a preset baseline in the font. A coordination line is set for the text line to coordinate the characters. The dimensions of each character to be typeset on the text line is first determined. An embox is determined for each character, where the vertical and horizontal size of each embox are the determined dimensions for the character. The characters are compared with at least one preselected reference character of the same font, and a coordination point is determined for each character in its embox, based on the result of the comparison with the reference character. Finally the coordination point is coordinated for each of the characters with the coordination line in order to typeset the characters on the text line.
-
Citations
25 Claims
-
1. A method for typesetting a text line, comprising:
-
determining dimensions of each of a plurality of characters to be typeset on a text line; associating a distinct embox with each of the plurality of characters, each embox having an outer frame demarcated by the dimensions of the associated character of the plurality of characters; associating a reference character with each of the plurality of characters, each associated reference character being one of one or more preselected reference characters, each reference character of the one or more preselected reference characters having the same font and dimensions as the associated character of the plurality of characters; using the associated reference character to determine a coordination point for each distinct embox and thereby determine a coordination point for each of the plurality of characters; and aligning each distinct embox with a coordination line using the determined coordination point for each of the plurality of characters to typeset the plurality of characters on the text line. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer program product, stored on a machine-readable medium, comprising instructions operable to cause a programmable processor to:
-
select a coordination line for the text line to coordinate a plurality of characters for typesetting the text line, determine the dimensions of each of the plurality of characters to be typeset on the text line, associate a distinct embox with each of the plurality of characters, each embox having an outer frame demarcated by the dimensions of the associated character of the plurality of characters; associate a reference character with each of the plurality of characters, each associated reference character being one of one or more preselected reference characters, each reference character of the one or more preselected reference characters having the same font and dimensions as the associated character of the plurality of characters; use the associated reference character to determine a coordination point for each distinct embox and thereby determine a coordination point for each of the plurality of characters; and align each distinct embox with the coordination line using the determined coordination point for each of the plurality of characters to typeset the plurality of characters on the text line. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A desktop publishing system for controlling typesetting of a text line, comprising:
-
a desktop publishing processing control device provided with a font file and with typesetting control means, the font file containing character font information for performing typesetting; a display device for displaying data that is being typeset; and input means for receiving user input; said typesetting control means having a text line typesetting control means adapted to arranging a plurality of characters to be coordinated with a coordination line of a text line by determining dimensions of each of the plurality of characters to be typeset on the text line, associating a distinct embox with each of the plurality of characters, each embox having an outer frame demarcated by the dimensions of the associated character of the plurality of characters, associating with each of the plurality of characters a reference character, each associated reference character being one of one of more preselected reference characters, each reference character of the one or more preselected reference characters having the same font and dimensions as the associated character of the plurality of characters, using the associated reference character to determine a coordination point for each distinct embox and thereby determine a coordination point for each of the plurality of characters, and performing line typesetting processing by aligning each distinct embox with the coordination line using to determined coordination point for each of the plurality of characters.
-
Specification