のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

intermediatestart tuple

This helper function computes the applicability region for
	variation tuples whose INTERMEDIATE_REGION flag is not set in the
	TupleVariationHeader structure.  Variation tuples apply only to
	certain regions of the variation space; outside that region, the
	tuple has no effect.  To make the binary encoding more compact,
	TupleVariationHeaders can omit the intermediateStartTuple and
	intermediateEndTuple fields.

このヘルパー関数は、TupleVariationHeader構造体にINTERMEDIATE_REGIONフラグが設定されていないバリエーションタプルの適用範囲領域を計算します。
バリエーションタプルは、バリエーション空間の特定の領域にのみ適用されます。
その領域の外側では、タプルは効果を持ちません。
バイナリエンコーディングをよりコンパクトにするために、TupleVariationHeadersはintermediateStartTupleおよびintermediateEndTupleフィールドを省略できます。

fonttools/TupleVariation.py at master · fonttools/fonttools · GitHub