1
2
3
4
5
6
7
8
9
10
11
12
13
14\startmodule[fontsmissing]
15
16\registerctxluafile{sfontsmissing}{}
17
18\installmodulecommandluasingle \showmissingcharacterslegend {moduledata.fonts.missing.showlegend}
19\installmodulecommandluasingle \showmissingcharacters {moduledata.fonts.missing.showcharacters}
20
21\stopmodule
22
23\continueifinputfile{sfontsmissing.mkiv}
24
25
26
27\enabletrackers[fonts.missing=replace]
28
29
30
31\starttext
32
33 \page legend: \blank
34
35 \showmissingcharacterslegend
36
37 \page sample: \blank
38
39 ½ ⅓ ¼ ⅕ ⅙ ⅛ {\bf ½ ⅓ ¼ ⅕ ⅙ ⅛} \blank
40
41 \startluacode
42 for i=1,1000 do
43 local c = characters.data[i]
44 if c then
45 context.char(c.unicodeslot)
46 context.space()
47 end
48 end
49 \stopluacode
50
51 \page characters: \blank
52
53 \showmissingcharacters
54
55\stoptext
56
57 |