blob: 34d6764827064c1672b494c22bd512051fb5bbff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
%D \module
%D [ file=font-chk,
%D version=2009.01.02, % moved from font-tra
%D title=\CONTEXT\ Font Macros,
%D subtitle=Checking,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
\writestatus{loading}{ConTeXt Font Macros / Checking}
\registerctxluafile{font-chk}{autosuffix}
\tracinglostchars\zerocount
% Use this instead:
%
% \definefontfeature[default][default][missing=yes]
% \enabletrackers[fonts.missing=replace]
\permanent\protected\def\checkmissingcharacters {\enabletrackers[fonts.missing]}
\permanent\protected\def\removemissingcharacters {\enabletrackers[fonts.missing=remove]}
\permanent\protected\def\replacemissingcharacters{\enabletrackers[fonts.missing=replace]}
\permanent\protected\def\handlemissingcharacters {\enabletrackers[fonts.missing={decompose,replace}]}
% \enableexperiments[fonts.compact]
%D \starttyping
%D \replacemissingcharacters
%D
%D \startbuffer
%D \startlines[before=,after=]
%D \strut {\tf test \char 12345\ test \char 12346\ test}
%D \strut {\bf test \char 12345\ test \char 12346\ test}
%D \strut {\it test \char 12345\ test \char 12346\ test}
%D \strut {\bi test \char 12345\ test \char 12346\ test}
%D \strut {test ὀ ρ φ α ν ῖ ο ς test}
%D \stoplines
%D \stopbuffer
%D
%D \starttext
%D \startTEXpage[offset=2pt,strut=no]
%D \getbuffer
%D \switchtobodyfont[pagella]
%D \getbuffer
%D \switchtobodyfont[dejavu]
%D \getbuffer
%D \stopTEXpage
%D \stoptext
%D \stoptyping
\endinput
|