Browse Prior Art Database

Visual identification of base text direction for a text segment which is part of a larger text including multilingual bidirectional data

IP.com Disclosure Number: IPCOM000238118D
Publication Date: 2014-Aug-03
Document File: 6 page(s) / 144K

Publishing Venue

The IP.com Prior Art Database

Abstract

Many of today's authoring tools allow formatting of bidirectional text on the text segment level. Specifically it is possible to set different text direction (LTR / RTL) to different segments of text which appear in the same sentence / paragraph. Unfortunately this kind of formatting becomes extremely cumbersome without any visual hints on text segments boundaries and associated text directions. Without any visual indication it is very easy to ruin visual appearance of already formatted text. This article suggests a method for visualizing text direction and boundaries of text segments (having different text directions) which makes bidi formatting job much easier.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 01 of 6

Visual identification of base text direction for a text segment which is part of a larger text including multilingual bidirectional data

Readability of text including bidirectional characters depends to the great extent on text direction with which this data is displayed.

English text having natural Left-To-Right (LTR) direction is best readable when displayed with LTR direction, while Arabic or Hebrew text having natural Right-To-Left (RTL) direction is best readable when displayed with RTL direction.

    Majority of tools / technologies allow end user to control text direction on the paragraph level (two subsequent paragraphs are separated by break / new line etc.). This however is frequently not sufficient for cases in which text includes multilingual bidirectional data (i.e. Hebrew / Arabic text including English words).

It is especially true when such data has some syntax or structure which is important to preserve during text display.

For example, following paragraph in Hebrew includes a file full path specification.

While entire paragraph is displayed with RTL direction , the file path should be displayed with LTR direction.

If LTR direction is not set for the file path we will get following incorrect display:

In case LTR direction is set for the file path we will get following correct display:

There are tools which allow control over text direction on the text segment level. For example:
1. MS Word*
Text segment is called "directional run". Direction of run can be controlled via special buttons which can be added to the toolbar
as shown on the dialog below (and also explained in this article).

All user needs to do is to select the text segment and press the appropriate button (either Rtl Run or Ltr Run).


Page 02 of 6


2. CKEditor - web based rich text editor

CKEditor allows to set direction for text segment by providing LTR / RTL selection styles.

All user needs to do is to select text segment and then select appropriate style Language:LTR or Language:RTL

2


Page 03 of 6


3. Safari web browser

As opposed to previous examples (in which rich text editors were mentioned), Safari browser allows formatting even in the simple input field by providing Selection Direction option as shown on the image below:

3


Page 04 of 6

Problem description

In real life cases, we need to set different text directions to different segments of text.

For example:

In this cases, since file path is comprised of both Hebrew and English characters, different pieces of file full path are expected to have either LTR or RTL dire...