Correct xavgchatwidth explanation

Fini 2023-10-16 10:54:30 +02:00
parent 3b2a505df4
commit e79708d81c

@ -333,10 +333,11 @@ ligatures.
<code> --xavgcharwidth [N] </code><i>Adjust xAvgCharWidth (optional: concrete value)</i>
</summary>
In some very rare cases the <code>xAvgCharWidth</code> is important to keep. Patching in wider icons changes this value.
<br/>
Just specifying the option without number will use the 'old' western-centric algorithm to calculate the
average x width (which ignores our added icons). But you can also specify a concrete number.
<br>
<ul>
<li>If just the option is specified (without numbger) the <code>xAvgCharWidth</code> is copied over from the source</li>
<li>If a number is added that number is used as <code>xAvgCharWidth</code></li>
<li>If the number added is zero we will calculate the old style <code>xAvgCharWidth</code>, which ignores our added icons</li>
</ul>
See for example <a href="https://github.com/ryanoasis/nerd-fonts/issues/522">Issue 522</a>.
</details>