mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-09-19 09:51:48 +02:00
Correct xavgchatwidth explanation
parent
3b2a505df4
commit
e79708d81c
1 changed files with 5 additions and 4 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue