Changes

Jump to navigation Jump to search
more details
<cd:arguments>
<cd:keywords ordinal="1">
<cd:keywordsdoc>name of an expansion preset</cd:keywordsdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:parameter name="vector">
<cd:paramdoc>set of affected characters; always "default"="quality", a combination of "alpha" and "punctuation", see {{src|font-imp-quality.lua}}</cd:paramdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:parameter>
<cd:parameter name="factor">
<cd:paramdoc>(default = 1)</cd:paramdoc>
<cd:constant type="cd:number"></cd:constant>
</cd:parameter>
<cd:parameter name="stretch">
<cd:paramdoc>amount of stretching (default = 2)</cd:paramdoc>
<cd:constant type="cd:number"></cd:constant>
</cd:parameter>
<cd:parameter name="shrink">
<cd:paramdoc>amount of shrinking (default = 2)</cd:paramdoc>
<cd:constant type="cd:number"></cd:constant>
</cd:parameter>
<cd:parameter name="step">
<cd:paramdoc>granularity (default = 0.5)</cd:paramdoc>
<cd:constant type="cd:number"></cd:constant>
</cd:parameter>
<cd: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
<cd:source file="hand-ini.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Fonts"></cd:wikipage>
<cd:manual pdf="fonts-mkiv.pdf"></cd:manual>
<cd:source file="font-imp-quality.lua"></cd:source>
<cd:commandref name="definefontfeature"></cd:commandref>
<cd:manual pdfcommandref name="fonts-mkiv.pdfshowfontexpansion">for debugging</cd:manualcommandref><cd:source filecommandref name="font-imp-quality.luanoexpansion">disable expansion locally</cd:sourcecommandref></cd:seealso>
</cd:commandgroup>

Navigation menu