-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config_has_powerline in config.cfg might not have the intended effect #307
Comments
Hey yeah you are right. Well I think the font-patcher probably needs to handle that the same way it is for the 'removeligatures' . The 'gotta patch em all' script seems to only use it for logging out the combinations and assumes 'complete'. It does correctly look for a config.json file and use it if found but then the problem is in the font-patcher to look for that value as I said above. Thanks! |
I always wondered what that was intended for. Only thing I could find was the variants counting thing. Anyhow.
In fact the opposite is true. We determine the 'cell' width and height in a certain way. The powerline glyphs must fill this cell completely (and or overfill for some given percentage). It is undefined if the original-font-powerline symbols would have the same cell size and overlap. If you have a concrete instance where the patched in powerline symbols look worse we can certainly have a look at that font and reconsider (for that font). But as a general change I believe this will not always result in better scaling and makes the patching less reliable. So I would do that only in very exceptional cases. Please reopen if there is a concrete font that really needs it. |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference. |
🎯 Subject of the issue
I think the
config_has_powerline
option in theconfig.cfg
files used in thegotta-patch-em-all-font-patcher!.sh
script might not have the intended effect, as the--complete
flag to the font patcher already includes power line, so simply omitting the power line flag is not enough to get it to avoid patching the powerline glyphs.This can lead to clobbering pre-existing powerline glyphs which are likely better aligned/looking.
The text was updated successfully, but these errors were encountered: