From f3ca12a63fa6e40dae98ffb1a03b2e111761286d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 7 May 2020 21:30:15 +0000 Subject: optex in luatex (7may20) git-svn-id: svn://tug.org/texlive/trunk@55062 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/luatex/optex/base/fonts-preload.opm | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Master/texmf-dist/tex/luatex/optex/base/fonts-preload.opm (limited to 'Master/texmf-dist/tex/luatex/optex/base/fonts-preload.opm') diff --git a/Master/texmf-dist/tex/luatex/optex/base/fonts-preload.opm b/Master/texmf-dist/tex/luatex/optex/base/fonts-preload.opm new file mode 100644 index 00000000000..2ab3790f8f1 --- /dev/null +++ b/Master/texmf-dist/tex/luatex/optex/base/fonts-preload.opm @@ -0,0 +1,35 @@ +%% This is part of OpTeX project, see http://petr.olsak.net/optex + +\_codedecl \tenrm {Latin Modern fonts (EC) preloaded <2020-01-23>} % loaded in format + +% Only few text fonts are preloaded: + +\_font\_tenrm=ec-lmr10 % roman text +\_font\_tenbf=ec-lmbx10 % boldface extended +\_font\_tenit=ec-lmri10 % text italic +\_font\_tenbi=ec-lmbxi10 % bold italic +\_font\_tentt=ec-lmtt10 % typewriter +\_tenrm + +\_public \tenrm \tenbf \tenit \tenbi \tentt ; + +\_endcode %--------------------------------------------------- + +Format in lua\TeX/ can download only non-Unicode fonts. Latin Modern EC is +loaded here. These fonts are totally unusable in LuaTeX when languages with out +of ASCII or ISO-8859-1 alphabets are used (for example Czech). We load only +few 8bit fonts here especially for simple testing the format. +But, if the user needs to do a more serious work, he/she can +use `\fontfam` macro in order to load a selected font family of Unicode fonts. + +We have a dilemma: when the Unicode fonts cannot be preloaded in format then basic +font set can be loaded by `\everyjob`. But why to load a set of fonts ta the +beginning of every job when there is highly likely that the user will +load something completely different. Our decision is: there is a basic 8bit +font set and user will load the font at beginning of the document. + +The fonts selectors \`\tenrm`, \`\tenbf`, \`\tenit`, \`\tenbi`, \`\tentt` +are declared as `\public` here but only for backward compatibility. We don't +use them in the Font Selection System. But the protected versions of these +control sequences are used in the Font Selection System. + -- cgit v1.2.3