Hagen - Pragma ADE
Hagen - Pragma ADE Hagen - Pragma ADE
84 Features "QF.waqf", "SKTH.waqf", "WQFH.waqf", "Kaaf.waqf", "Ayn.ruku", "Miim.nuun_high", "Siin.Ssaad", "Nuunsmall", "emptydot_low", "emptydot_high", "Sifr.fill", "Miim.nuun_low", "Nuun.tanwiin", }, Of course such a definition can only be made when the internals of the font are known and in this case it concerns a pretty complex font. \definefontfeature [demo-colored] [goodies=demo, colorscheme=default, featureset=default] \definefontfeature [demo-colored-all] [goodies=demo, colorscheme=all, featureset=default] \definefontfeature [demo-colored-some] [goodies=demo, colorscheme=some, featureset=default] \definefont[DemoFontA][MonoBold*demo-colored at 10pt] \definefont[DemoFontB][MonoBold*demo-colored-all at 10pt] \definefont[DemoFontC][MonoBold*demo-colored-some at 10pt] \starttabulate[||||] \NC \DemoFontA \resetfontcolorscheme test 1234567890 \NC \DemoFontA \setfontcolorscheme [1]test 1234567890 \NC \DemoFontA \setfontcolorscheme [2]test 1234567890 \NC \NR \NC \DemoFontB \resetfontcolorscheme test 1234567890 \NC \DemoFontB \setfontcolorscheme [1]test 1234567890 \NC \DemoFontB \setfontcolorscheme [2]test 1234567890 \NC \NR \NC \DemoFontC \resetfontcolorscheme test 1234567890 \NC \DemoFontC \setfontcolorscheme [1]test 1234567890 \NC \DemoFontC \setfontcolorscheme [2]test 1234567890 \NC
\NR \stoptabulate test 1234567890 test 1234567890 test 1234567890 test 1234567890 test 1234567890 test 1234567890 test 1234567890 test 1234567890 test 1234567890 Another generic demo feature is postprocessing. In principle one can add additional postprocessors but for that the source code needs to be consulted which in turn assumes some knowledge of fonts and ConT E Xt internals. \definefontfeature [justademoa] [default] [goodies=demo, postprocessor=squeeze] \definefontfeature [justademob] [default] [goodies=demo, postprocessor=statistics] \definefontfeature [justademoc] [default] [goodies=demo, postprocessor={statistics,squeeze}] The statistics just print some font parameters to the log so that one is not showing up here. The squeeze looks as follows: \definefont[DemoFontD][Serif*default at 30pt] \definefont[DemoFontE][Serif*justademoa at 30pt] DemoFontD height & depth DemoFontE height & depth The squeezer just makes the height and depth of glyphs a bit smaller and it is not that hard to imagine other manipulations. The demo goodie file is good place to start playing with such things. Because there is less standardization with respect to features than one might suspect, goodie files provide a mean to define featuresets. We can use such a set in another definition: \definefontfeature [demo-smallcaps] [goodies=demo, 85 Features
- Page 36 and 37: 34 Modes glyph 256 font 33: U+00065
- Page 38 and 39: 36 Modes optimizer that can apply a
- Page 40 and 41: 38 Modes ا خLJَ﮲ ف﮲َ step
- Page 42 and 43: 40 Modes dir +TRT glyph 256 font 49
- Page 44 and 45: 42 Modes and now we get: 123 normal
- Page 46 and 47: 44 Modes MkIV run can be faster tha
- Page 48 and 49: 46 Lookups \font \MyFontG = lmr12 s
- Page 50 and 51: 48 Lookups 3.4 Name Say that we wan
- Page 52 and 53: 50 Lookups We add another specifier
- Page 54 and 55: 52 Methods \definefont [MyFont] [Bo
- Page 56 and 57: 54 Methods } copyright = "ConTeXt d
- Page 58 and 59: 56 Features of all, all we get to s
- Page 60 and 61: 58 Features in base mode. A single
- Page 62 and 63: 60 Features accumulate within a wor
- Page 64 and 65: 62 Features features analyze=yes, c
- Page 66 and 67: 64 Features \definedfont[lmroman10-
- Page 68 and 69: 66 Features single substitutions or
- Page 70 and 71: 68 F -0.492 eatures result ffi feat
- Page 72 and 73: 70 Features font 80: lmroman10-regu
- Page 74 and 75: 72 Features font 46: cambria.ttf @
- Page 76 and 77: 74 Features } } This goodie file is
- Page 78 and 79: 76 Features { name = "msbm10.tfm",
- Page 80 and 81: 78 Features \starttypescript[somefo
- Page 82 and 83: 80 Features \setupbodyfont [mojcasf
- Page 84 and 85: 82 Features } normalweight = "extra
- Page 88 and 89: 86 Features featureset=smallcaps] O
- Page 90 and 91: 88 Features } }, When defining the
- Page 92 and 93: 90 Features local defaultfraction =
- Page 94 and 95: 92 Features } } ["LMRoman-Bold"] =
- Page 96 and 97: 94 Features In fact, in addition to
- Page 98 and 99: 96 Features } This time the applica
- Page 100 and 101: 98 Features step 1 I don't wanna kn
- Page 102 and 103: 100 Features If you’re lucky your
- Page 104 and 105: 102 Scripts
- Page 121 and 122: However, when we go the other way,
- Page 124: 122 Math the regular a--z character
- Page 127 and 128: While there are lots of text fonts,
- Page 129 and 130: 8 Extensions 8.1 Introduction One o
- Page 131: [default] [itlc=5] This is demonstr
- Page 134 and 135: 132 Extensions \definefontfeature [
\NR<br />
\stoptabulate<br />
test 1234567890 test 1234567890 test 1234567890<br />
test 1234567890 test 1234567890 test 1234567890<br />
test 1234567890 test 1234567890 test 1234567890<br />
Another generic demo feature is postprocessing. In principle one can add additional<br />
postprocessors but for that the source code needs to be consulted which in turn assumes<br />
some knowledge of fonts and ConT E Xt internals.<br />
\definefontfeature<br />
[justademoa]<br />
[default]<br />
[goodies=demo,<br />
postprocessor=squeeze]<br />
\definefontfeature<br />
[justademob]<br />
[default]<br />
[goodies=demo,<br />
postprocessor=statistics]<br />
\definefontfeature<br />
[justademoc]<br />
[default]<br />
[goodies=demo,<br />
postprocessor={statistics,squeeze}]<br />
The statistics just print some font parameters to the log so that one is not showing<br />
up here. The squeeze looks as follows:<br />
\definefont[DemoFontD][Serif*default at 30pt]<br />
\definefont[DemoFontE][Serif*justademoa at 30pt]<br />
DemoFontD height & depth DemoFontE height & depth<br />
The squeezer just makes the height and depth of glyphs a bit smaller and it is not<br />
that hard to imagine other manipulations. The demo goodie file is good place to start<br />
playing with such things.<br />
Because there is less standardization with respect to features than one might suspect,<br />
goodie files provide a mean to define featuresets. We can use such a set in another<br />
definition:<br />
\definefontfeature<br />
[demo-smallcaps]<br />
[goodies=demo,<br />
85<br />
Features