Using Right-to-Left, Complex Text Layout, and Vertical Text

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:32, 3 January 2007 (edit)
Valterb (Talk | contribs)
(botlangbar -> IT)
← Previous diff
Current revision (16:58, 13 February 2009) (edit) (undo)
Sardisson (Talk | contribs)
(Complex text layout - at least fix the fonts page link :P)
 
(6 intermediate revisions not shown.)
Line 2: Line 2:
NeoOffice has strong support for languages that use non-Roman scripts, including those scripts which use bidirectional input and complex text layout, as well as support for the native Mac OS X input methods used by many of these languages. This means NeoOffice can be used to input Arabic, Hebrew, Thai, Hindi, Chinese and Japanese, among many others. NeoOffice has strong support for languages that use non-Roman scripts, including those scripts which use bidirectional input and complex text layout, as well as support for the native Mac OS X input methods used by many of these languages. This means NeoOffice can be used to input Arabic, Hebrew, Thai, Hindi, Chinese and Japanese, among many others.
-==Bidi and RTL text==+==Right-to-Left and bidirectional text==
-* fairly simple+The steps required to enable NeoOffice to enter text in right-to-left (RTL) languages such as Arabic or Hebrew, or bidirectionally with both RTL and LTR languages, are fairly simple.
-* installing RTL langpack ticks the box in the prefs, enables directional buttons+ 
-* for other UIs, tick the box in the prefs manually+# Enable the {{button|Right-to-Left}} and {{button|Left-to-Right}} toolbar buttons, if necessary
-* use directional buttons+#* If you have installed a language pack for an RTL language, the {{button|Right-to-Left}} and {{button|Left-to-Right}} toolbar buttons are enabled automatically in Writer
-* change native input method+#* If you have not installed an RTL language pack, enable the buttons manually:
-* type away+#*# Choose {{menu|Preferences…}} from the {{menu|NeoOffice}} menu
 +#*# Expand the {{section|Language Settings}} section in the right-hand pane and click on {{section|Languages}}
 +#*# In the {{section|Enhanced language support}} section, click {{prefName|Enabled for complex text layout (CTL)}} checkbox; this will enable the {{button|Right-to-Left}} and {{button|Left-to-Right}} toolbar buttons
 +# To begin writing, first click the {{button|Right-to-Left}} button on the toolbar
 +# Use the Input Method (''aka'' "Flag") menu to change the Mac OS X keyboard layout or input method, if necessary
 +# Begin typing
 +#* To insert a section of LTR text, change to the appropriate LTR keyboard layout and type; to return to RTL, simply switch back to the RTL layout
==Complex text layout== ==Complex text layout==
 +
 +Entering text in languages and scripts which require complex text layout features such as ligatures or glyph reordering, like Arabic and Indic languages, is also supported in NeoOffice. There are, however, a few issues due to bugs or limitations in Apple's AAT, ATSUI, and Java implementations.
* ligatures and glyph reordering * ligatures and glyph reordering
* Java 1.4.2 is buggy; sends wrong glyph codes to Neo in certain cases [jp period, matras] * Java 1.4.2 is buggy; sends wrong glyph codes to Neo in certain cases [jp period, matras]
** Mac OS X bug, nothing we can do; file bug reports with Apple ** Mac OS X bug, nothing we can do; file bug reports with Apple
-* Requires AAT fonts for Arabic, Indic languages [link to fonts page]+* Requires AAT fonts for Arabic, Indic languages; see the [[Alternative Fonts#Small Fonts|Alternative Fonts]] page for additional fonts beyond those which ship with Mac OS X
==Vertical text== ==Vertical text==
Line 33: Line 41:
====References==== ====References====
* [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=2809 trinity] * [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=2809 trinity]
 +
 +==Related External Links==
 +[http://blogs.sun.com/oootnt/entry/writing_vertical_text Writing Vertical Text]
{{botlangbarEN|[[Fr:Texte_Bidi_et_vertical|Français]] [[It:Testo_bidirezionale_e_verticale|Italiano]]}} {{botlangbarEN|[[Fr:Texte_Bidi_et_vertical|Français]] [[It:Testo_bidirezionale_e_verticale|Italiano]]}}

Current revision

This article is not up to date, or it needs structural or stylistic changes to conform with the rest of this wiki.

NeoOffice has strong support for languages that use non-Roman scripts, including those scripts which use bidirectional input and complex text layout, as well as support for the native Mac OS X input methods used by many of these languages. This means NeoOffice can be used to input Arabic, Hebrew, Thai, Hindi, Chinese and Japanese, among many others.

Contents

Right-to-Left and bidirectional text

The steps required to enable NeoOffice to enter text in right-to-left (RTL) languages such as Arabic or Hebrew, or bidirectionally with both RTL and LTR languages, are fairly simple.

  1. Enable the Right-to-Left and Left-to-Right toolbar buttons, if necessary
    • If you have installed a language pack for an RTL language, the Right-to-Left and Left-to-Right toolbar buttons are enabled automatically in Writer
    • If you have not installed an RTL language pack, enable the buttons manually:
      1. Choose Preferences… from the NeoOffice menu
      2. Expand the Language Settings section in the right-hand pane and click on Languages
      3. In the Enhanced language support section, click Enabled for complex text layout (CTL) checkbox; this will enable the Right-to-Left and Left-to-Right toolbar buttons
  2. To begin writing, first click the Right-to-Left button on the toolbar
  3. Use the Input Method (aka "Flag") menu to change the Mac OS X keyboard layout or input method, if necessary
  4. Begin typing
    • To insert a section of LTR text, change to the appropriate LTR keyboard layout and type; to return to RTL, simply switch back to the RTL layout

Complex text layout

Entering text in languages and scripts which require complex text layout features such as ligatures or glyph reordering, like Arabic and Indic languages, is also supported in NeoOffice. There are, however, a few issues due to bugs or limitations in Apple's AAT, ATSUI, and Java implementations.

  • ligatures and glyph reordering
  • Java 1.4.2 is buggy; sends wrong glyph codes to Neo in certain cases [jp period, matras]
    • Mac OS X bug, nothing we can do; file bug reports with Apple
  • Requires AAT fonts for Arabic, Indic languages; see the Alternative Fonts page for additional fonts beyond those which ship with Mac OS X

Vertical text

Vertical text, used in classical Chinese and Japanese (as well as in Mongolian, which may not be supported) is somewhat non-intuitive to enter. The following are the steps Patrick Luby uses when testing vertical Japanese text input in Writer:

You can insert vertical text, but it is not intuitive. Here are the steps that I use when I test Japanese vertical input in Writer:

  1. From the View menu, select the Toolbars submenu and then the Drawing menu item so that the Drawing toolbar appears at the bottom of the screen.
  2. Click on the "T" icon that is rotated 90 degrees (i.e. the "fallen over" T icon).
  3. Click an area in the document and drag the mouse to create a box.
  4. Type your Japanese text in this box.

I don't really like this "text box" approach, but it is how OpenOffice.org (which NeoOffice is based on) handles vertical text.

References

Related External Links

Writing Vertical Text


This article in other languages: Français Italiano
Personal tools