Introduction to Typing Khmer Script

Post on 03-Aug-2016

239 views 8 download

description

This is the Introduction to Typing Khmer Script which was made to present to students of "Summer Abroad Program: Khmer Language and Culture" of University of Hawaii, on 22nd September, 2016.

Transcript of Introduction to Typing Khmer Script

Typing Khmer ScriptTep Sovichet, Junior Software DeveloperOpen Institute

Picture: Ouch Makara

PRESENTAT ION 22nd June, 2016

MissionTo facilitate communication and knowledge sharing and social development, giving Cambodians equal access to knowledge, information and technology through all means and tools.

Program Focus KhmerOS (2004 – Present) Open Schools (2007 – Present)

About Me – TEP Sovichet

Junior Software Developer, Open Institute

Blogger: sovichet.info

Khmer Fonts Designer

BarCamp Cambodia Organizer

Booklover

http://sovichet.info

sovichet.tep@gmail.com សសសសស!

Brief Information of Khmer Script

Added in Unicode in September, 1999, Unicode 3.0.0

Written from left to right, but not linear!

សសណាង ← ស + ស + ណ + ា + ង, សសក ← ស + ស + ក● Khmer is written in clusters which can contain up to three

[sub]consonants, one vowel and some extra characters:

សសសសតរ ← ស + ស + + សតរ Legacy fonts (Limon and ABC family) were used in 1990s

Installation

● OS X: http://goo.gl/ZYDPnc ● Windows: https://goo.gl/VVejVV● Linux (Both font and keyboard are available in most of

Linux Distro such as Ubuntu, Linux Mint, Fedora, …)

Khmer Keyboard Layout

Khmer Unicode vs. Legacy Font

Legacy Unicode

Khmer Alphabets (ពពយញញជ នន)

កខគឃង ចឆជឈញ

ដឋឌឍណ តថទធន

បផពភម យរលវសហឡអ

Khmer Dependent Vowels (សសន ននសសសសយ)

ា ន សតរ ស ើ ស ឿ ស ៀ ស ស ោ ស ៅ ស ស ាស ះ ះ ន ះ ស ះ ស ោ ះ

← + ស

ា ← ា + ស

← + ះ

← ន + ះ

េ ← ស + ះ

េោ ← ស ោ + ះ

Note: Some vowels are composed from two vowel characters, but all of them arealso assigned in the keyboard layout which you can press only once.

Khmer Independent Vowels (សសន សពញត )

ឥ ឦ ឧ ឪ ឫ ឬ ឭ ឮ ឯ ឰ ឱ(ឲ)

ឨ – Obsolete

ឩ – Rare

ឳ – Rare

Note:

ឲ is another form of ឱ which can be

used only in this word ឲឲ (aoy – give)

Number, Diacritics, and Punctuations

០ ១ ២ ៣ ៤ ៥ ៦ ៧ ៨ ៩ សស ន។៕ ៖ ៗ ៛ ( )

Do Not Be Confused

ៈăh, eăh aʔ, ĕəʔ

vs

Let’s Type – Basic

Type as the order of spelling, and consonant followed by vowel(s).

ស + ា + ល + ា → សាលទ + ស ៅ → សទល + ស ើ → សល ើក + ស → ក ស

Type these words:

សាលសរ ៀន, ទសងអស , បាយ, ហ ប, ញញ រ, សន ះ

Let’s Type – Sub-consonants

To render a sub-consonant, the sign has to place before a

consonant.

+ ក →

+ ង →

+ ត → ស

+ រ →

+ ដ →

+ ញ →

Khmer Sub-consonants (សជ ើង ពពយញញជ នន)

ខ គ ឃ ច ឆ ញជ ឈ ញញ

ឋ ឌ ឍ ណ ស ថ ទ ធ

ប ផ ព ភ ពយ ល វ ស ហ ឡ

Let’s Type – Getting Fun

Sub-consonants must follow the consonant.

ក + + ក ក → ស + + ក

Sub-consonants are placed before vowel

ឃ + + ល + សតរ → ឃ លសតរ (Marble)

ថ + + ល + ា → ថ ល (To be clear)

ស + + រ + សតរ → សសសតរ (Girl)

ក + + ល + ស ើ → សក ល ើ (Close friend)

Let’s Type – Getting Fun (cont.)

Type these words:

ទសតរផផសារ បាសាទ សស មច ថ ល ក សថ ល ើម បាង គ សសចក សតរ ផ នល ផ ល ក ង ទ ស សតរ ពពយ ហយា ត

In case there are two sub-consonants, must be the last

one.

ស + ង + គ + + ា + ម → សងង គ ម

ស + ស + + សតរ → សសសសតរ

Let’s Type – & (Consonant Shifters)

converts o-series to a-series; converts a-series to o-

series. They are typed after consonant and sub-consonant but before vowel.

ស + + សតរ → ស សតរ (Do not type ស សតរ)

ប + + សតរ → ប សតរ (Do not type ប សតរ)

ស + + រ + + + ប → សស ប

Type these words:

ម ល ង បនស សតរ សសា កស គរោក

Let’s Type – More Diacritics

They are typed after consonant.

ទ + ស + ព + សស + រ → ទសពសសរ (Page)

ព + ណ + → ពណ (Color)

Try to type these words:

ទ គត ទ យស បរ នប ណ ក ពសសតមាន សសសក ន ណា ! កក សក

សមប ណ សពោធធ បាក ស សតរម ង ត ប សសងសត

Let’s Type – More Diacritics (cont.)

When is used in the middle of a cluster (consists of

vowels), it must be typed before vowels.

ម + ា + គ + + ា → មាគរោ (Path, Route, Way)

ក + ប + + + រ → កប រ (Camphor)

Try to type these words:

សសពជ អជ ន កាបាស

Practice

– ឆ ច លចនតស ស សតរ តសតរ។

– ខ ស រ សតរករាយ ណាស ដល បាន សរ ៀន ភាសា ខ រ។

– ជសតរវ នត គ ជា ការ តស គ មនន តតរវ ច ះ ញ ម សនៅ សពល ជ ប ឧបសគ គ ទសតរម យ សឡ ើយ។

– កម ព ជា ជា បសទស ដល សមប រ សទ សដោយ សមបតសន វបបធម អរ នយធម ននង ធនធាន ធម ជាតន ពម ទសង មាន បាង គ បាសាទ ជាស ច ើន។

សសមអរគណPhoto: Ouch Makara