Superfluous additional Line Gap
Hello,
while experimenting with "powerline" fonts, I noticed a problem, where there is a small gap at the top of each line, that shouldn't be there which throws off the alignment (yes, I know, that the builtin Powerline Glyphs work better, but I just report it, because for a Zero Linegap font, there shouldn't be a line gap nevertheless).
- iTerm2 version: 3.3.9
- OS version: 10.14.6 (18G2022)
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)
com.googlecode.iterm2.plist.xml1
PowerlineSymbolTestc-Regular-ZeroLineGap.otf
PowerlineSymbolTestf-Regular.otf
Detailed steps to reproduce the problem:
- Make a simple profile with the attached fonts c (=Zero Linegap). Linespacing and character spacing both set to 100, text size about 17
- In a shell, have multiple lines starting with a full height character, like [ or ]
- iTerm displays a gap between those lines
- Do the same with the font version f with 1000 em units Linegap Setting.
- iTerm displays the same additional gap at the top of the line.
What happened: A line gap is displayed
What should have happened: For Font "c" there should not be a line gap. For font "f" there should be exactly on line height gap between those lines, but it is more.
Background: I wanted to track down, why many of the "patched Nerd Fonts" with powerline symbols are incorrectly displayed. After careful analyis of the existing fonts, many have lots of problems in their glyphs and settings, so the fonts behaved very inconsistently across applications.
I therefore decided to make a minimalist font, that could just exhibit the problem with iTerm.
The problem can be seen in those screenshots. In the standard "Textedit" app on a Mac and in a special Font Previewing app, the font is displayed as designed, with no linegap or double line height, whereas in iTerm, there is always a small visible gap at the top of each line.
This issue is obviously not important. I just wanted to report that and provide all the tools necessary to reproduce the issue.
Thank you for iTerm!
Michael.