Enhanced Character Spacing

OpenOffice.org 2.0

Document - ID	Specification Owner	Last Change	Status
	Falko Tesch	04.06.2004	Draft
Conforms to	N/a
Applies to	All modules
Task ID(s)	N/a
Category	Feature

Abstract

In Japanese glyphs are often aligned in grids. Most Japanese users do not assign a full grid box to a punctuation mark such as a '.' or the like but have them attached to their preceding character.

In OpenOffice.org 2.0 this (already existing) functionality will be enhanced to allow the user to define manually a list of characters that will be attached to their preceding character instead of just having a fixed set of characters..

i-Team Members (The specification owner is part of the i-Team)

	Name	E-mail Address
User Experience	Falko Tesch	ft@openoffice.org
Development	Kansuke Koyama	-
Development		
Quality Assurance	Ulf Stroehler	Us@openoffice.org
Documentation	Uwe Fischer	Ufi@openoffice.org

Approved for Implementation

	Approved by	Date
User Experience	<Name>	<Date>
Development		
Quality Assurance		
Documentation		
String Review		

Document Change History

Rev. Level	Change	Initials	Date
1.0	Initial spec	FT	04.06.04

Contents

Glossary	1

1	Motivation	1

2	User Scenarios	1

3	Goals	1

4	Requirements and Dependencies	1

4.1	Requirements	1

4.2	Technical Dependencies	1

5	Competitive Analyses	1

6	Detailed Specification	2

6.1	Error Conditions	3

6.2	Migration	3

7	Future Tasks	3

8	Notes	3

9	References	3

Glossary

Term	Description
Compressed characters	Full-width characters that do not occupy a full character width but that attach themselves to a preceding character.
Grid layout	A special page formatting that is commonly used in East-Asian countries. It divides the pages in a fixed amount of squares, each to hold a single character.

Motivation

In Japanese glyphs are often aligned in grids. Most Japanese users do not assign a full grid box to a punctuation mark such as a '.' or the like but have them attached to their preceding character.

To allow the user more control over the character set that will be attached to their preceding characters a feature enhancement is introduced.

User Scenarios

Japanese user that work with grid layout pages do not want special punctuation characters to occupy complete grid cells but have them rather “glued” to their preceding characters.

It is for the benefit of those users if they can freely define the set of characters that do “glue” themselves to others.

Goals

This feature will raise our acceptance on the Japanese market.

Requirements and Dependencies

Requirements

CJK support must be enabled.

Technical Dependencies

N/a

Competitive Analyses

N/a since this is an enhancement of an already existing feature with OpenOffice.org.

Detailed Specification

East Asian characters always occupy a full grid cell centred punctuation characters such as full stop are more likely to align themselves.

Thus those characters that carry alignment information are to be handled the like, e.g. a full stop will always align to it's former character instead of centred alignment in grid cell. To adjust those characters individually the “Tools - Options – Language Settings – Asian Layout” dialogue will be enhanced.

Illustration 1 Enhanced "Character spacing" options

Once “Punctuation only” or “Punctuation and Japanese Kana” is chosen the “Default” checkbox will be became active.

The default of “Default” checkbox is ON.

As long as this checkbox is ON the standard set of characters is used for punctuation.

If this checkbox is set to OFF the “Compressed characters” text box will turn active and editable.

Content of this box: The user will be initially presented by the default set of characters from the standard settings.

In this box the user can change the list of characters that are affected by punctuation.

Please note: Even if the user chooses “Punctuation and Japanese Kana” no Kana will be displayed in the edit box!

List of default characters for the “Compressed Characters” edit box:

、。〉》」』】〕゛゜），．：；］｝〈《「『【〔（［｛

(in Unicode: \u3001\u3002\u3009\u300b\u300d\u300f\u3011\u3015\u309b\u309c\uff09\uff0c\uff0e\uff1a\uff1b\uff3d\uff5d\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b)

This manually edited list will stay persistent and overwrites the default list. This list must be saved within the user directory and must be preserved in case of an update or an re-installation.

If a “Setup – Repair” is executed the manually edited list will deleted and replaced by the default list.

String list

Item	English	German	Comments
Caption Dropdown Listbox	~Compression	Kompression	
Listbox Entry #1	None	Keine	
Listbox Entry #2	Punctuation only	Nur Interpunktion	
Listbox Entry #3	Punctuation and Japanese Kana	Interpunktion und japanische Kana	
Checkbox	Default	Standard	
Caption EditTextBox	Com~pressed characters	Komprimierte Zeichen	

Tab Order

The same as already implemented in this dialogue.

Key Board Shortcuts

n/a.

Error Conditions

If a maximum of characters is entered (DEV: Please state max. of characters that can be entered) no more characters are accepted for input (unless the user deletes some of the already input characters). No error message is needed.

Migration

N/a.

Future Tasks

N/a.

Notes

References

Enhanced Character Spacing

Page 3

Http://specs.openoffice.org/g11n/enhanced_character_spacing/enhanced_character_spacing.sxw

Enhanced Character Spacing

Falko Tesch

2004-06-04T10:06:51