diff options
Diffstat (limited to 'macros/luatex/optex/base/fonts-preload.opm')
-rw-r--r-- | macros/luatex/optex/base/fonts-preload.opm | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/macros/luatex/optex/base/fonts-preload.opm b/macros/luatex/optex/base/fonts-preload.opm index 2ab3790f8f..712730436c 100644 --- a/macros/luatex/optex/base/fonts-preload.opm +++ b/macros/luatex/optex/base/fonts-preload.opm @@ -1,4 +1,4 @@ -%% This is part of OpTeX project, see http://petr.olsak.net/optex +%% This is part of the OpTeX project, see http://petr.olsak.net/optex \_codedecl \tenrm {Latin Modern fonts (EC) preloaded <2020-01-23>} % loaded in format @@ -11,22 +11,23 @@ \_font\_tentt=ec-lmtt10 % typewriter \_tenrm -\_public \tenrm \tenbf \tenit \tenbi \tentt ; +\_public \tenrm \tenbf \tenit \tenbi \tentt ; \_endcode %--------------------------------------------------- -Format in lua\TeX/ can download only non-Unicode fonts. Latin Modern EC is +The 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. +a few 8bit fonts here especially for simple testing the format. +But, if the user needs to do more serious work, he/she can +use `\fontfam` macro 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 +We have a dilemma: when the Unicode fonts cannot be preloaded in the format then the basic +font set can be loaded by `\everyjob`. But why to load a set of fonts at the +beginning of every job when it 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. +font set in the format (for testing purposes only) and the user should load +a Unicode font family 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 |