Post on 22-Apr-2015
description
transcript
Firefox OS: Designing Khmer Keyboard & Fonts
Arky <arky@mozilla.com>Mozilla Community Manager
Barcamp Phnom Penh, Sept 2014
About
Mozilla Community Manager
Living in Phnom Penh, Cambodia
Creating, connecting and supporting
New localization teams world-wide
This talk documents the on-going Khmer Internationalization(i18n) work by Mozilla
contributors!
About Firefox OS
On Sale: The $33 Smart Phone
More Firefox OS Phones
https://www.mozilla.org/en-US/firefox/os/devices/
Language Support on Mobile Phones
● Text Shaping Engine (Harfbuzz-ng)● Fonts ● Language Localization ● Input Systems
Fonts
● Danh Hong's Noto Sans Khmer UI font● Testing new fonts is simpler!
● Connect your Firefox OS device to the PC.● Mount the /system partition.
$ adb shell mount -o remount,rw /system ● Copy the font.
$ adb push font.ttf /system/fonts/ ● Reboot the phone!
Localization
Testing Keyboards on emulator
● $ git clone https://github.com/arky/gaia/tree/khmer-keyboard
● $ cd gaia
● $ GAIA_KEYBOARD_LAYOUTS=en,km make
● $ (b2g_sdk/34.0a1-2014-08-12-04-02-01/b2g/)b2g -profile profile
The Firefox OS emulator enables you to test the keyboard. More detailed description is on Mozilla Developer page.
Show me the code ...
Further Work
● Design better Khmer Keyboard(s) ● Khmer input engine (?)● Khmer Dictionary ● Any more ideas... ?
Q & A