Difference between revisions of "Command/setupfontexpansion"

From Wiki
Jump to navigation Jump to search
(new)
(No difference)

Revision as of 08:30, 14 May 2023


\setupfontexpansion

Summary

The command \setupfontexpansion is used to define a set of font expansion (hz) parameters

Settings

\setupfontexpansion[...][...=...,...]
[...]name
vectorname
factornumber
stretchnumber
shrinknumber
stepnumber

OptionExplanation
vector
always "quality", a combination of "alpha" and "punctuation", see font-imp-quality.lua

Description

According to the manual, there are two presets, "preset" and "quality".


name vector step factor stretch shrink - preset 0.50 1.00 2 2 - quality default 0.50 1.00 2 2


“The smaller the step, the more instances of a font we get, the better it looks, and the larger the files become. It’s best not to use too many stretch and shrink steps. A stretch of 2 and shrink of 2 and step of .25 results in up to 8 instances plus the regular sized one.”

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: