Skip to content
This repository
Newer
Older
100644 260 lines (202 sloc) 11.212 kb
75f39c0a » frankrolf
2012-09-20 first release
1
2 @LETTERS_MAJUSCULE_LATIN = [A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Agrave Aacute Acircumflex Atilde Adieresis Amacron Abreve Aring Acaron Adotbelow Ahook Acircumflexacute Acircumflexgrave Acircumflexhook Acircumflextilde Acircumflexdotbelow Abreveacute Abrevegrave Abrevehook Abrevetilde Abrevedotbelow Aogonek AE Ccedilla Cacute Ccircumflex Ccaron Cdotaccent Dcaron Ddotbelow Dlinebelow Dcroat Egrave Eacute Ecircumflex Ecaron Edieresis Emacron Ebreve Edotaccent Edotbelow Ehook Etilde Ecircumflexacute Ecircumflexgrave Ecircumflexhook Ecircumflextilde Ecircumflexdotbelow Eogonek Gcircumflex Gbreve Gdotaccent Gcommaaccent Gcaron Gmacron Gtilde Hcircumflex Hdotbelow Hbrevebelow Hbar Igrave Iacute Icircumflex Itilde Idieresis Imacron Idotaccent Icaron Ihook Idotbelow Iogonek Jcircumflex Kcommaaccent Lacute Lcaron Lcommaaccent Ldot Ldotbelow Ldotbelowmacron Llinebelow Lslash Mdotbelow Nacute Ncaron Ntilde Ncommaaccent Ndotaccent Ndotbelow Nlinebelow Ograve Oacute Ocircumflex Otilde Odieresis Omacron Ohungarumlaut Ocaron Odotbelow Ohook Ocircumflexacute Ocircumflexgrave Ocircumflexhook Ocircumflextilde Ocircumflexdotbelow Oslash OE Ohorn Ohornacute Ohorngrave Ohornhook Ohorntilde Ohorndotbelow Oogonek Racute Rcaron Rcommaaccent Rdotbelow Rdotbelowmacron Rlinebelow Sacute Scircumflex Scaron Scedilla Scommaaccent Sdotaccent Sdotbelow Germandbls Tcaron Tcedilla Tcommaaccent Tdotbelow Tlinebelow Ugrave Uacute Ucircumflex Utilde Udieresis Umacron Ubreve Uring Uhungarumlaut Ucaron Udieresismacron Udieresisacute Udieresiscaron Udieresisgrave Udotbelow Uhook Uogonek Uhorn Uhornacute Uhorngrave Uhornhook Uhorntilde Uhorndotbelow Wgrave Wacute Wcircumflex Wdieresis Ygrave Yacute Ycircumflex Ydieresis Ydotaccent Ydotbelow Yhookabove Ytilde Zacute Zcaron Zdotaccent Zdotbelow Eth Thorn Schwa];
3
4 @LETTERS_SMALL_FOR_SUPS = [a b c d e f g h i j k l m n o p q r s t u v w x y z egrave eacute schwa];
5 @SUPERIOR_LETTERS_SMALL = [a.sups b.sups c.sups d.sups e.sups f.sups g.sups h.sups i.sups j.sups k.sups l.sups m.sups n.sups o.sups p.sups q.sups r.sups s.sups t.sups u.sups v.sups w.sups x.sups y.sups z.sups egrave.sups eacute.sups schwa.sups];
6
7 @MARKS_CMB = [gravecmb acutecmb circumflexcmb tildecmb macroncmb brevecmb dotaccentcmb dieresiscmb hookabovecmb ringcmb hungarumlautcmb caroncmb dblgravecmb cedillacmb ogonekcmb
8 dieresismacron dieresisacute dieresiscaron dieresisgrave circumflexacute circumflexgrave circumflexhook circumflextilde breveacute brevegrave brevehook brevetilde circumflexbreve];
9
10 @MARKS_CMB_CASE = [gravecmb.cap acutecmb.cap circumflexcmb.cap tildecmb.cap macroncmb.cap brevecmb.cap dotaccentcmb.cap dieresiscmb.cap hookabovecmb.cap ringcmb.cap hungarumlautcmb.cap caroncmb.cap dblgravecmb.cap cedillacmb.cap ogonekcmb.cap
11 dieresismacron.cap dieresisacute.cap dieresiscaron.cap dieresisgrave.cap circumflexacute.cap circumflexgrave.cap circumflexhook.cap circumflextilde.cap breveacute.cap brevegrave.cap brevehook.cap brevetilde.cap circumflexbreve.cap];
12
13 @FIGURES_LINING = [zero one two three four five six seven eight nine];
14 @FIGURES_OLDSTYLE = [zero.onum one.onum two.onum three.onum four.onum five.onum six.onum seven.onum eight.onum nine.onum];
15 @FIGURES_NUMERATOR = [zero.numr one.numr two.numr three.numr four.numr five.numr six.numr seven.numr eight.numr nine.numr];
16 @FIGURES_DENOMINATOR = [zero.dnom one.dnom two.dnom three.dnom four.dnom five.dnom six.dnom seven.dnom eight.dnom nine.dnom];
17 @FIGURES_SUPERIOR = [zero.sups one.sups two.sups three.sups four.sups five.sups six.sups seven.sups eight.sups nine.sups];
18 @FIGURES_INFERIOR = [zero.subs one.subs two.subs three.subs four.subs five.subs six.subs seven.subs eight.subs nine.subs];
19
20 @PUNCTUATION_FOR_SMALL_FIGURE_STYLES = [parenleft parenright period comma];
21 @PUNCTUATION_NUMERATOR = [parenleft.numr parenright.numr period.numr comma.numr];
22 @PUNCTUATION_DENOMINATOR = [parenleft.dnom parenright.dnom period.dnom comma.dnom];
23 @PUNCTUATION_SUPERIOR = [parenleft.sups parenright.sups period.sups comma.sups];
24 @PUNCTUATION_INFERIOR = [parenleft.subs parenright.subs period.subs comma.subs];
25
26 @SS02_A_LC_DEFAULT = [a agrave aacute acircumflex atilde adieresis amacron abreve aring acaron adotbelow ahook acircumflexacute acircumflexgrave acircumflexhook acircumflextilde acircumflexdotbelow abreveacute abrevegrave abrevehook abrevetilde abrevedotbelow aogonek a.sups ordfeminine];
27 @SS02_A_LC_ALTERNATE = [a.alt agrave.alt aacute.alt acircumflex.alt atilde.alt adieresis.alt amacron.alt abreve.alt aring.alt acaron.alt adotbelow.alt ahook.alt acircumflexacute.alt acircumflexgrave.alt acircumflexhook.alt acircumflextilde.alt acircumflexdotbelow.alt abreveacute.alt abrevegrave.alt abrevehook.alt abrevetilde.alt abrevedotbelow.alt aogonek.alt a.supa ordfeminine.alt];
28
29 @SS03_G_LC_DEFAULT = [g gcircumflex gbreve gdotaccent gcommaaccent gcaron gmacron gtilde g.sups];
30 @SS03_G_LC_ALTERNATE = [g.alt gcircumflex.alt gbreve.alt gdotaccent.alt gcommaaccent.alt gcaron.alt gmacron.alt gtilde.alt g.supa];
31
32
33 #--------------------------------------
34 languagesystem DFLT dflt;
35 languagesystem latn dflt;
36
37
38 #--------------------------------------
39 feature aalt { # Access All Alternates
40 feature numr;
41 feature dnom;
42 feature ordn;
43 feature sups;
44 feature subs;
45 feature sinf;
46 feature onum;
47 feature case;
215c9d74 » pauldhunt
2012-12-06 Updates design of asterisk and hyphen to accommodate coders' preferen…
48 feature ss01;
75f39c0a » frankrolf
2012-09-20 first release
49 feature ss02;
50 feature ss03;
215c9d74 » pauldhunt
2012-12-06 Updates design of asterisk and hyphen to accommodate coders' preferen…
51 feature ss04;
75f39c0a » frankrolf
2012-09-20 first release
52 feature salt;
53 } aalt;
54
55
56 #--------------------------------------
57 lookup DECOMPOSITION {
58 sub Ecircumflex by E circumflexcmb;
59 sub ecircumflex by e circumflexcmb;
60 sub Ocircumflex by O circumflexcmb;
61 sub ocircumflex by o circumflexcmb;
62 } DECOMPOSITION;
63
64 feature ccmp { # Glyph Composition / Decomposition
65
66 lookup GLYPH_DECOMPOSITION_CONTEXTUAL_2 {
67 #decomposes ecircumflex and ocircumflex forms when followed by comining breve: Jarai language support
68 sub [Ecircumflex ecircumflex Ocircumflex ocircumflex]' lookup DECOMPOSITION brevecmb;
69 } GLYPH_DECOMPOSITION_CONTEXTUAL_2;
70
71 lookup GLYPH_COMPOSITION_CONTEXTUAL {
72 #substitutes dotless form of iogonek when followed by combining acute: Navajo language support
73 sub i' ogonekcmb' acutecmb by iogonek.d;
74 sub iogonek' acutecmb by iogonek.d;
75 } GLYPH_COMPOSITION_CONTEXTUAL;
76
77 lookup MARKS_COMPOSITION {
78 sub dieresiscmb macroncmb by dieresismacron;
79 sub dieresiscmb acutecmb by dieresisacute;
80 sub dieresiscmb caroncmb by dieresiscaron;
81 sub dieresiscmb gravecmb by dieresisgrave;
82 sub circumflexcmb acutecmb by circumflexacute;
83 sub circumflexcmb gravecmb by circumflexgrave;
84 sub circumflexcmb hookabovecmb by circumflexhook;
85 sub circumflexcmb tildecmb by circumflextilde;
86 sub brevecmb acutecmb by breveacute;
87 sub brevecmb gravecmb by brevegrave;
88 sub brevecmb hookabovecmb by brevehook;
89 sub brevecmb tildecmb by brevetilde;
90 sub circumflexcmb brevecmb by circumflexbreve;
91 } MARKS_COMPOSITION;
92
93 lookup GLYPH_COMPOSITION_NONCONTEXTUAL {
94 sub d caroncmb by dcaron;
95 sub l caroncmb by lcaron;
96 sub t caroncmb by tcaron;
97 sub g tildecmb by gtilde;
98 sub G tildecmb by Gtilde;
99 sub a ogonekcmb by aogonek;
100 sub A ogonekcmb by Aogonek;
101 sub e ogonekcmb by eogonek;
102 sub E ogonekcmb by Eogonek;
103 sub i ogonekcmb by iogonek;
104 sub I ogonekcmb by Iogonek;
105 sub o ogonekcmb by oogonek;
106 sub O ogonekcmb by Oogonek;
107 sub u ogonekcmb by uogonek;
108 sub U ogonekcmb by Uogonek;
109 sub g cedillacmb by gcommaaccent; # The decomposition defined by Unicode is: 0067+0327
110 sub g.alt cedillacmb by gcommaaccent.alt;
111 } GLYPH_COMPOSITION_NONCONTEXTUAL;
112
113 lookup MAJUCSULE_ACCENTS_CMB_CONTEXT { # substitutes combining marks for miniscules with forms for majuscules
114 sub @LETTERS_MAJUSCULE_LATIN @MARKS_CMB' by @MARKS_CMB_CASE;
115 } MAJUCSULE_ACCENTS_CMB_CONTEXT;
116
117 } ccmp;
118
119
120 #--------------------------------------
121 feature numr { # Numerators
122 lookup NUMR {
123 sub @FIGURES_LINING by @FIGURES_NUMERATOR;
124 sub @PUNCTUATION_FOR_SMALL_FIGURE_STYLES by @PUNCTUATION_NUMERATOR;
125 } NUMR;
126 } numr;
127
128
129 #--------------------------------------
130 feature dnom { # Denominators
131 sub @FIGURES_LINING by @FIGURES_DENOMINATOR;
132 sub @PUNCTUATION_FOR_SMALL_FIGURE_STYLES by @PUNCTUATION_DENOMINATOR;
133 } dnom;
134
135
136 #--------------------------------------
137 feature frac { # Fractions
138 @SPACE_DEFAULT = [space nbspace];
139 @SPACE_FRAC = [space.frac nbspace.frac];
140 @SLASH = [slash.frac fraction divisionslash];
141
142 lookup NUMR;
143 sub slash by slash.frac;
144 sub @FIGURES_NUMERATOR @SPACE_DEFAULT' by @SPACE_FRAC;
145
146 sub [fraction divisionslash slash.frac @FIGURES_DENOMINATOR @PUNCTUATION_DENOMINATOR] [@FIGURES_NUMERATOR @PUNCTUATION_NUMERATOR]' by [@FIGURES_DENOMINATOR @PUNCTUATION_DENOMINATOR];
147 sub @FIGURES_DENOMINATOR @SPACE_FRAC [@FIGURES_NUMERATOR @PUNCTUATION_NUMERATOR]' by [@FIGURES_DENOMINATOR @PUNCTUATION_DENOMINATOR];
148 } frac;
149
150
151 #--------------------------------------
152 feature ordn {
153 lookup SUPERIOR_LETTERS_SMALL {
154 sub @LETTERS_SMALL_FOR_SUPS by @SUPERIOR_LETTERS_SMALL;
155 } SUPERIOR_LETTERS_SMALL;
156 } ordn;
157
158
159 #--------------------------------------
160 feature sups { # Superscript
161 lookup SUPERIOR_LETTERS_SMALL;
162
163 sub @FIGURES_LINING by @FIGURES_SUPERIOR;
164 sub @PUNCTUATION_FOR_SMALL_FIGURE_STYLES by @PUNCTUATION_SUPERIOR;
165 } sups;
166
167
168 #--------------------------------------
169 feature subs { # Subscript
170 lookup INFERIOR {
171 sub @FIGURES_LINING by @FIGURES_INFERIOR;
172 sub @PUNCTUATION_FOR_SMALL_FIGURE_STYLES by @PUNCTUATION_INFERIOR;
173 } INFERIOR;
174 } subs;
175
176
177 #--------------------------------------
178 feature sinf { # Scientific Inferiors
179 lookup INFERIOR;
180 } sinf;
181
182
183 #--------------------------------------
184 feature onum { # Oldstyle (Text) Figures
185 sub @FIGURES_LINING by @FIGURES_OLDSTYLE;
186 } onum;
187
188
189 #--------------------------------------
190 feature case { # Case-Sensitive Forms
191 sub @MARKS_CMB by @MARKS_CMB_CASE;
192 sub at by at.case;
193 } case;
194
195
196 #--------------------------------------
215c9d74 » pauldhunt
2012-12-06 Updates design of asterisk and hyphen to accommodate coders' preferen…
197 feature ss01 { # Stylistic Set 1 (typographic alternates)
198 featureNames {
199 name "Typographic alternates"; # Windows English
200 name 1 0 0 "Typographic alternates"; # Mac English
201 };
202
203 lookup TYPO_ALTS {
204 sub [asterisk hyphen sfthyphen] by [asterisk.a hyphen.a sfthyphen.a];
205 } TYPO_ALTS;
206 } ss01;
207
208
209 #--------------------------------------
75f39c0a » frankrolf
2012-09-20 first release
210 feature ss02 { # Stylistic Set 2 (alternate a)
211 featureNames {
212 name "Alternate a"; # Windows English
213 name 1 0 0 "Alternate a"; # Mac English
214 };
215
216 lookup A_ALTS {
217 sub @SS02_A_LC_DEFAULT by @SS02_A_LC_ALTERNATE;
218 } A_ALTS;
219 } ss02;
220
221
222 #--------------------------------------
223 feature ss03 { # Stylistic Set 3 (alternate g)
224 featureNames {
225 name "Alternate g"; # Windows English
226 name 1 0 0 "Alternate g"; # Mac English
227 };
228
229 lookup G_ALTS {
230 sub @SS03_G_LC_DEFAULT by @SS03_G_LC_ALTERNATE;
231 } G_ALTS;
232 } ss03;
233
234
235 #--------------------------------------
215c9d74 » pauldhunt
2012-12-06 Updates design of asterisk and hyphen to accommodate coders' preferen…
236 feature ss04 { # Stylistic Set 4 (alternate dollar sign)
237 featureNames {
238 name "Alternate dollar sign"; # Windows English
239 name 1 0 0 "Alternate dollar sign"; # Mac English
240 };
241
242 lookup DOLLAR_ALT {
243 sub dollar by dollar.a;
244 } DOLLAR_ALT;
245 } ss04;
246
247
248 #--------------------------------------
75f39c0a » frankrolf
2012-09-20 first release
249 feature salt { # Stylistic Alternates
215c9d74 » pauldhunt
2012-12-06 Updates design of asterisk and hyphen to accommodate coders' preferen…
250 lookup TYPO_ALTS;
75f39c0a » frankrolf
2012-09-20 first release
251 lookup A_ALTS;
252 lookup G_ALTS;
215c9d74 » pauldhunt
2012-12-06 Updates design of asterisk and hyphen to accommodate coders' preferen…
253 lookup DOLLAR_ALT;
75f39c0a » frankrolf
2012-09-20 first release
254 } salt;
255
256
257 #-------------------------------------------
258 feature size {
259 parameters 10.0 0; # design size, subfamily
260 } size;
261
Something went wrong with that request. Please try again.