diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-11 22:04:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-11 22:04:34 +0000 |
commit | 8d161690f66c7e1f55f5519a5940be2fcbd7995d (patch) | |
tree | ad60daab8bb20c9afbb597cbe5271d8aff10331e /Master/texmf-dist/tex/optex/base/fonts-preload.opm | |
parent | f7047aebf5fc4b143b53cb23f9d9ea3c3eddf3be (diff) |
optex (11mar22)
git-svn-id: svn://tug.org/texlive/trunk@62640 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/optex/base/fonts-preload.opm')
-rw-r--r-- | Master/texmf-dist/tex/optex/base/fonts-preload.opm | 39 |
1 files changed, 29 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/optex/base/fonts-preload.opm b/Master/texmf-dist/tex/optex/base/fonts-preload.opm index d56d5c0a78a..8562da786c6 100644 --- a/Master/texmf-dist/tex/optex/base/fonts-preload.opm +++ b/Master/texmf-dist/tex/optex/base/fonts-preload.opm @@ -1,24 +1,32 @@ %% This is part of the OpTeX project, see http://petr.olsak.net/optex -\_codedecl \tenrm {Latin Modern fonts (EC) preloaded <2020-01-23>} % preloaded in format +\_codedecl \tenrm {Latin Modern fonts (EC) preloaded <2022-02-12>} % preloaded in format + +\_ifx\fontspreload\_relax + \_let\_tenrm=\_nullfont \_let\_tenbf=\_nullfont \_let\_tenit=\_nullfont + \_let\_tenbi=\_nullfont \_let\_tentt=\_nullfont +\_else + % Only few text fonts are preloaded: + % allow missing fonts during format generation + \_suppressfontnotfounderror=1 + \_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 + \_suppressfontnotfounderror=0 +\_fi -% 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 %--------------------------------------------------- -The 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 -a few 8bit fonts here especially for simple testing the format. +a few 8bit fonts here especially for simple testing of 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. @@ -34,3 +42,14 @@ 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. +If the `*.tfm` files are missing during format generation then the format is +succesfully generated without any pre-loaded fonts. It doesn't matter if each +document processed by \OpTeX/ declares Unicode fonts. You can create such +fonts-less format anyway if you set \`\fontspreload` to `\relax` before +`\input optex.ini`, i.e.: +`luatex -ini '\let\fontspreload=\relax \input optex.ini'` + +\_endinput + +2022-02-12: \fontspreload added +2020-01-23: released |