Hagen - Pragma ADE

Hagen - Pragma ADE Hagen - Pragma ADE

context.aanhet.net
from context.aanhet.net More from this publisher
13.07.2013 Views

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

\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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!