1
2
3
4
5
6
7
8
9
10
11
12
13
14\writestatus{loading}{MetaPost Graphics Blobs}
15
16\registerctxluafile{metablb}{}
17
18\unprotect
19
20\unexpanded\def\MPLIBgetblobscaledcm#1#2#3#4#5#6#7#8#9
21 {\clf_mpgetblob\MPtextbox#1\relax
22 \setbox\MPbox\hpack\bgroup
23 \dotransformnextbox{#2}{#3}{#4}{#5}{#6}{#7}
24 \vpack to \zeropoint\bgroup
25 \vss
26 \hpack to \zeropoint \bgroup
27
28 \fastsxsy{#8}{#9}{\box\MPtextbox}
29 \hss
30 \egroup
31 \egroup
32 \egroup
33 \smashbox\MPbox
34 \box\MPbox}
35
36
37
38\definefontfeature[followtext][liga=no]
39
40\unexpanded\def\MPLIBfollowtext#1#2
41 {\begingroup
42 \scratchcounter#1\relax
43 \setbox\scratchbox\hbox{\addff{followtext}#2}
44 \clf_MPLIBconvertfollowtext\scratchcounter\scratchbox
45 \endgroup}
46
47
48
49
50
51
52\newtoks\mpblobtext
53
54\mpblobtext{\global\setbox\mptextbox\vbox{\clf_mpblobtext}}
55
56\protect \endinput
57 |