IP Library Granted Patent US 9,122,655
Granted Patent B2
US 9,122,655 · App. 10/989,014 · Granted Sep 1, 2015

Pre-translation testing of bi-directional language display

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,122,655
App. No.
10/989,014
Granted
Sep 1, 2015
Kind
B2
Abstract

A method for testing the display of bi-directional language script prior to translation in an application under test can include using unidirectional glyphs with shaping indicators to simulate right-to-left characters. The using step can include reversing an ordering of a first set of unidirectional text characters in an input string and mapping the unidirectional text characters to right-to-left code points in a bi-directional language code page to produce a pseudo-translated string. Multiple unidirectional language glyphs can be loaded where each corresponds to a same one of the right-to-left character code points as had been used to produce the pseudo-translation. The pseudo-translation and the glyphs can be combined to simulate right-to-left character rendering in the application under test such the resultant output is visually similar to the input string. Finally, the glyphs can include character shaping indicia such that a resultant output allows for the detection of shaping errors.

Claims (17)

1. A method for testing the display of bi-directional language script prior to translation in an application under test, the method comprising the steps of:

using unidirectional glyphs with shaping indicators selected from the group consisting of an overbar and an underscore, to simulate right-to-left characters, the shaping indicators each indicating a shaping of a corresponding right-to-left character code point; and,

displaying the characters each with a corresponding one of the shaping indicators placed over a corresponding one of the characters in a display of a computer;

wherein the using step comprises the steps of:

reversing an ordering of a first set of unidirectional text characters in an input string;

mapping said unidirectional text characters of said input string in said reversed order to corresponding right-to-left code points in a bi-directional language code page, the mapping producing a pseudo-translated string;

loading a plurality of unidirectional language glyphs, each of said glyphs corresponding to a same one of said right-to-left character code points as had been used to produce said pseudo-translated string; and,

combining said pseudo-translated string and said glyphs to simulate right-to-left character rendering in an application under test such that a resultant output is visually similar to said input string.

2. The method of claim 1 , further comprising the steps of:

selecting shaping indicia for said bi-directional code points; and,

coordinating a combination of said selected shaping indicia with said unidirectional glyphs to produce output that allows detection of shaping errors.

3. The method of claim 2 , further comprising the step of accounting for justification spacers when performing said selecting and coordinating steps.

4. The method of claim 1 , further comprising the step of selecting unidirectional glyphs for corresponding unidirectional text characters embedded among said bi-directional code points.

5. The method of claim 2 , wherein said unidirectional text characters are Latin text characters.

6. The method of claim 5 , wherein said bi-directional code points are Arabic code points.

7. The method of claim 5 , wherein said bi-directional code points are Hebrew code points.

8. The method of claim 6 , wherein said justification spacers are Arabic kashidas.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 28, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: MAPLEBEAR INC.
Reel/Frame 055155/0943 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 6, 2004
From: HUDSON, ROY; SCHULTZ, DALE M.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 015429/0052 →