Method for calculating CJK emboxes in fonts
First Claim
1. A control method for typesetting a text line, comprising:
- setting a coordination line for the text line to coordinate a plurality of characters for typesetting the text line;
determining dimensions of each of the plurality of characters to be typeset on the text line;
determining an embox for each of the plurality of characters, the vertical and horizontal size of each embox being said determined character dimensions, comparing the plurality of characters to be typeset on the text line with at least one preselected reference character belonging to the same font, and determining a coordination point for each of the plurality of characters in their said respective embox based on the result of the comparison; and
coordinating said coordination point for each of the plurality of characters with said coordination line to typeset said 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
27 Claims
-
1. A control method for typesetting a text line, comprising:
-
setting a coordination line for the text line to coordinate a plurality of characters for typesetting the text line;
determining dimensions of each of the plurality of characters to be typeset on the text line;
determining an embox for each of the plurality of characters, the vertical and horizontal size of each embox being said determined character dimensions, comparing the plurality of characters to be typeset on the text line with at least one preselected reference character belonging to the same font, and determining a coordination point for each of the plurality of characters in their said respective embox based on the result of the comparison; and
coordinating said coordination point for each of the plurality of characters with said coordination line to typeset said plurality of characters on the text line. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer program product, stored on a machine-readable medium, comprising instructions operable to cause a programmable processor to:
-
set 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, determine an embox for each of the plurality of characters, the vertical and horizontal size of each embox being said determined character dimensions, compare each of the plurality of characters to be typeset on the text line with at least one preselected reference character belonging to the same font, and determine a coordination point for each of the plurality of characters in their said respective embox based on the result of the comparison, and coordinate said coordination point for each of the plurality of characters with said coordination line to typeset said plurality of characters on the text line. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. 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 an embox for each of the plurality of characters, each embox having a vertical and horizontal size corresponding to the dimensions of its associated character, determining a coordination point by comparing each of the plurality of said characters with at least one preselected reference character belonging to the same font, and performing line typesetting processing by coordinating each determined coordination point with said coordination line.
-
Specification