diff options
author | Norbert Preining <norbert@preining.info> | 2022-03-12 03:00:45 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-03-12 03:00:45 +0000 |
commit | 0c73359c915c22297090c6c23c5ac23a8ec9603e (patch) | |
tree | 71530d469eba822bbed05346a76335bd276a602d /macros/optex/base/f-heros.opm | |
parent | dc086771e418d7c66a541d2831b468375c5f7090 (diff) |
CTAN sync 202203120300
Diffstat (limited to 'macros/optex/base/f-heros.opm')
-rw-r--r-- | macros/optex/base/f-heros.opm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/optex/base/f-heros.opm b/macros/optex/base/f-heros.opm index 2195774b88..e7055d84f8 100644 --- a/macros/optex/base/f-heros.opm +++ b/macros/optex/base/f-heros.opm @@ -237,6 +237,15 @@ See the font family file `f-lmfonts.opm` or `f-poltawski.opm` where you can find the example of the optical sizes declaration including documentation about it. +Several fonts don't switch to the font features if the features are +specified directly as documented above. You must add the `script=latn;` +specification to the features string when using these fonts, see +`f-baskerville.opm` for example. The reason: these fonts don't follow the +OpenType specification and they don't set the `DFLT` script but only scripts +with given names like `latn`. And the tables implementing all font features +are included here. You can check the internals of the font by FontForge: +View / Show~ATT / OpenType Tables / GSUB. Do you see the `DFLT` script here? + If you need to create a font family file with a non-Unicode font, you can do it. The `\_fontnamegen` must expand to the name of TFM file in this case. But we don't prefer such font family files, because they are usable only with |