Difference between revisions of "Writer/CJK Justification"

From Apache OpenOffice Wiki
Jump to: navigation, search
(migrate from CVS)
 
m (cleanup)
Line 1: Line 1:
'''Justified Alignment for CJK'''
+
{{Writer Project}}
  
== The Problem: ==
+
{{Documentation/DraftPage}}
 +
 
 +
__TOC__
 +
 
 +
 
 +
== Justified Alignment for CJK ==
 +
 
 +
=== The Problem: ===
 
Most documents for publications are formatted using “justified alignment”, i.e., the formatting tries to avoid an irregular right border of the text. Currently, this works by distributing the remaining space in a line to the blanks inside this line. However, this procedure does not make sense for languages which do not use blanks the way western languages do. We also have to consider the case of mixed scripts inside a text. Here is a proposal for handling “justified alignment” for CJK languages.  
 
Most documents for publications are formatted using “justified alignment”, i.e., the formatting tries to avoid an irregular right border of the text. Currently, this works by distributing the remaining space in a line to the blanks inside this line. However, this procedure does not make sense for languages which do not use blanks the way western languages do. We also have to consider the case of mixed scripts inside a text. Here is a proposal for handling “justified alignment” for CJK languages.  
  
== for Japanese text  ==
+
=== for Japanese text  ===
 
The remaining space is to be equally distributed to “blanks” and Japanese characters. Note: A blank behind a Japanese character would lead to a double size gap.
 
The remaining space is to be equally distributed to “blanks” and Japanese characters. Note: A blank behind a Japanese character would lead to a double size gap.
  
 +
[[Image:japanese.gif]]
  
== for Chinese text ==
+
=== for Chinese text ===
 
Justified alignment for Chinese to use the same method as Japanese.
 
Justified alignment for Chinese to use the same method as Japanese.
  
 +
[[Image:chinese.gif]]
  
== for Korean text ==
+
=== for Korean text ===
 
The remaining space in a line is to be distributed only to blanks.
 
The remaining space in a line is to be distributed only to blanks.
  
 +
[[Image:korean.gif]]
  
== Help needed: ==
+
=== Help needed: ===
 
Please give feedback if my assumptions are wrong or if you know of some other special cases for other languages.
 
Please give feedback if my assumptions are wrong or if you know of some other special cases for other languages.
 +
 +
 +
[[Category:Writer/CoreDoc]]

Revision as of 16:57, 6 November 2009

Writer Icon.png

Writer Project

Please view the guidelines
before contributing.

Popular Subcategories:

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: No results.

Internal Documentation:

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: No results.

API Documentation:

Ongoing Efforts:

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: No results.

Sw.OpenOffice.org


Template:Documentation/DraftPage


Justified Alignment for CJK

The Problem:

Most documents for publications are formatted using “justified alignment”, i.e., the formatting tries to avoid an irregular right border of the text. Currently, this works by distributing the remaining space in a line to the blanks inside this line. However, this procedure does not make sense for languages which do not use blanks the way western languages do. We also have to consider the case of mixed scripts inside a text. Here is a proposal for handling “justified alignment” for CJK languages.

for Japanese text

The remaining space is to be equally distributed to “blanks” and Japanese characters. Note: A blank behind a Japanese character would lead to a double size gap.

Japanese.gif

for Chinese text

Justified alignment for Chinese to use the same method as Japanese.

Chinese.gif

for Korean text

The remaining space in a line is to be distributed only to blanks.

Korean.gif

Help needed:

Please give feedback if my assumptions are wrong or if you know of some other special cases for other languages.

Personal tools