From 0c75a2acf592eb4360685375904440f5e6b8125a Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 12 Nov 2019 19:54:50 +0100 Subject: 2019-11-12 18:53:00 --- doc/context/sources/general/manuals/luatex/luatex-fonts.tex | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/context/sources/general/manuals/luatex/luatex-fonts.tex') diff --git a/doc/context/sources/general/manuals/luatex/luatex-fonts.tex b/doc/context/sources/general/manuals/luatex/luatex-fonts.tex index d49c63afe..e5b6e1cb2 100644 --- a/doc/context/sources/general/manuals/luatex/luatex-fonts.tex +++ b/doc/context/sources/general/manuals/luatex/luatex-fonts.tex @@ -43,6 +43,7 @@ the table are as follows: complete control to the loader. \NC \NR \NC \type{fullname} \NC no \NC no \NC yes \NC string \NC output font name, used as a fallback in the \PDF\ output if the \type {psname} is not set \NC \NR +\NC \type{subfont} \NC no \NC no \NC yes \NC number \NC default: 0, index in (\type {ttc}) font with multiple fonts \NC \NR \NC \type{header} \NC yes \NC no \NC no \NC string \NC header comments, if any \NC \NR \NC \type{hyphenchar} \NC no \NC no \NC yes \NC number \NC default: \TEX's \prm {hyphenchar} \NC \NR \NC \type{parameters} \NC no \NC yes \NC yes \NC hash \NC default: 7 parameters, all zero \NC \NR @@ -105,6 +106,11 @@ font in \type {font.fonts}. It is the actual expansion factor (a value between \type {-shrink} and \type {stretch}, with step \type {step}) of a font that was automatically generated by the font expansion algorithm. +The \type {subfont} parameter can be used to specify the subfont in a \type {ttc} +font. When given, it is used instead of the \type {psname} and \type {fullname} +combination. The first subfont has number~1. A zero value signals using the names +as lookup. + Because we store the actual state of expansion with each glyph and don't have special font instances, we can change some font related parameters before lines are constructed, like: -- cgit v1.2.3