summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-pre.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-04-02 16:25:10 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2018-04-02 16:25:10 +0200
commit15ab7c153a96a9befc4e2c1774e701f3c941cc2d (patch)
tree4262a9085036949283dd3e56d992111a9745c680 /tex/context/base/mkiv/font-pre.mkiv
parent37c561c2f98d84fc02011b7b819ae8cf9bb4b10d (diff)
downloadcontext-15ab7c153a96a9befc4e2c1774e701f3c941cc2d.tar.gz
2018-04-02 15:51:00
Diffstat (limited to 'tex/context/base/mkiv/font-pre.mkiv')
-rw-r--r--tex/context/base/mkiv/font-pre.mkiv138
1 files changed, 108 insertions, 30 deletions
diff --git a/tex/context/base/mkiv/font-pre.mkiv b/tex/context/base/mkiv/font-pre.mkiv
index d09d871f0..b49bc560e 100644
--- a/tex/context/base/mkiv/font-pre.mkiv
+++ b/tex/context/base/mkiv/font-pre.mkiv
@@ -191,59 +191,139 @@
[semitic-simple]
[script=hebr]
-% \definefont [DevaOne] [file:chandas.ttf*devanagari-one at 12pt]
-% \definefont [DevaTwo] [file:kokila.ttf*devanagari-two at 18pt]
+% indic
\definefontfeature
- [devanagari-one]
+ [indic-common]
[mode=node,
language=dflt,
- script=deva,
+ % localized
+ locl=yes,
+ % positioning
+ kern=yes,
+ dist=yes,
+ % above/below base marks
+ abvm=yes,
+ blwm=yes,
+ % basic shaping
nukt=yes,
akhn=yes,
rphf=yes,
- blwf=yes,
- half=yes,
- vatu=yes,
+ % presentation
pres=yes,
abvs=yes,
blws=yes,
psts=yes,
haln=yes,
- abvm=yes,
- blwm=yes,
- dist=yes]
+ calt=yes]
\definefontfeature
- [devanagari-two]
[devanagari-one]
- [script=dev2,
- locl=yes,
- pref=yes,
+ [indic-common]
+ [script=deva,
+ % basic shaping
rkrf=yes,
+ blwf=yes,
+ half=yes,
+ vatu=yes,
+ cjct=yes]
+
+\definefontfeature
+ [bengali-one]
+ [indic-common]
+ [script=beng,
+ % basic shaping
+ blwf=yes,
+ half=yes,
pstf=yes,
+ vatu=yes,
cjct=yes,
- init=yes,
- calt=yes,
- kern=yes]
+ % presentation
+ init=yes]
\definefontfeature
- [malayalam-one]
- [mode=node,
- language=dflt,
- script=mlym,
- akhn=yes,
+ [gujarati-one]
+ [indic-common]
+ [script=gujr,
+ % basic shaping
+ rkrf=yes,
blwf=yes,
half=yes,
- pres=yes,
- blws=yes,
- psts=yes,
- haln=no]
+ vatu=yes,
+ cjct=yes]
+
+\definefontfeature
+ [gurmukhi-one]
+ [indic-common]
+ [script=guru,
+ % basic shaping
+ blwf=yes,
+ half=yes,
+ pstf=yes,
+ vatu=yes,
+ cjct=yes]
+
+\definefontfeature
+ [kannada-one]
+ [indic-common]
+ [script=knda,
+ % basic shaping
+ pref=yes,
+ blwf=yes,
+ half=yes,
+ pstf=yes,
+ cjct=yes]
\definefontfeature
- [malayalam-two]
[malayalam-one]
- [script=mlm2]
+ [indic-common]
+ [script=mlym,
+ % basic shaping
+ pref=yes,
+ blwf=yes,
+ half=yes,
+ pstf=yes,
+ cjct=yes]
+
+\definefontfeature
+ [oriya-one]
+ [indic-common]
+ [script=orya,
+ % basic shaping
+ blwf=yes,
+ pstf=yes,
+ cjct=yes]
+
+\definefontfeature
+ [tamil-one]
+ [indic-common]
+ [script=taml,
+ % basic shaping
+ pref=yes,
+ half=yes]
+
+\definefontfeature
+ [telugu-one]
+ [indic-common]
+ [script=telu,
+ % basic shaping
+ pref=yes,
+ blwf=yes,
+ half=yes,
+ pstf=yes,
+ cjct=yes]
+
+\definefontfeature [devanagari-two] [devanagari-one] [script=dev2]
+\definefontfeature [bengali-two] [bengali-one] [script=bng2]
+\definefontfeature [gujarati-two] [gujarati-one] [script=gjr2]
+\definefontfeature [gurmukhi-two] [gurmukhi-one] [script=gur2]
+\definefontfeature [kannada-two] [kannada-one] [script=knd2]
+\definefontfeature [malayalam-two] [malayalam-one] [script=mlm2]
+\definefontfeature [oriya-two] [oriya-one] [script=ory2]
+\definefontfeature [tamil-two] [tamil-one] [script=tml2]
+\definefontfeature [telugu-two] [telugu-one] [script=tel2]
+
+% cjk
\definefontfeature
[jamoforms]
@@ -251,8 +331,6 @@
tjmo=yes,
vjmo=yes]
-% cjk
-
% \definefontfeature
% [japanese]
% [default]