Skip to content

Opentype and graphite features

myanmarltt edited this page Oct 29, 2014 · 2 revisions

Using Opentype and Graphite features in Myanmar fonts

Padauk and Padauk Book

Paduak and Paduak Book are TrueType fonts with OpenType and Graphite tables for the Myanmar script. The Padauk and Padauk Book fonts support langauge and glyph variation, which can be controlled vis languae markup and CSS.

These notes refer to v. 2.8

Language systems

https://developer.mozilla.org/en-US/docs/Web/CSS/font-language-override

Graphite features

Feature id Desc. Default Other values
khamti kdot Khamti style dots 0
filled fdot Filled dots 0
lldot lldt Lower dot shifts left 0
watri wtri Tear drop style washwe 0
uLong ulon Long U with Yayit, long UU with Hato 0
uTall utal U and UU always full height 0
dottedc dotc Insert dotted circles for errors 1
slanth hsln Slanted hato none 0=Upright \ 1=Sgaw style slanted leg with horizontal foot \ 2=Slanted leg with right angled foot
nnya nnya Disable great nnya 0
vartta vtta Variant tta 0

Default features per language

S'gaw Karen (ksw)

slanth = 1; watri = 1; lldot = 1;

Khamti Shan (kht)

khamti = 1; filled = 1;

Kayah (kyu)

watri = 1; slanth = 2;

font-feature-settings

https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings