summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/meta-fnt.mkiv
blob: c248f752bfaf40bab2a8b4fca9ce50edd2baa009 (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
%D \module
%D   [       file=meta-fnt,
%D        version=2013.09.06,
%D          title=\METAPOST\ Graphics,
%D       subtitle=Fonts,
%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}{MetaPost Graphics / Fonts}

\registerctxluafile{meta-fnt}{}

\unprotect

\unexpanded\def\definemetafont
  {\dotripleempty\meta_font_define}

\def\meta_font_define[#1][#2][#3]%
  {\clf_definemetafont
      fontname {#1}%
      filename {#2}%
      % no #3 settings yet (compose, instances)
   \relax}

% \startluacode
%     metapost.fonts.define { fontname = "bidi-symbols", filename = "bidi-symbols.mp" }
% \stopluacode

% \definemetafont[bidi-symbols][bidi-symbols.mp]

\protect \endinput