contour
contour copied to clipboard
Incorrect letter spacing when using SF Mono
trafficstars
Contour Terminal version
0.4.0-master-616315cc
Installer source
Github: source code cloned
Operating System
Arch Linux as of approx a week ago
Architecture
x86-64
Other Software
SF Mono font, installed from aur as otf-san-francisco-mono
bsdtar, installed from libarchive
Steps to reproduce
man bsdtar
Expected Behavior
No response
Actual Behavior
Spacing of letters is not correct. See screen shot. Looks OK using the same font in RoxTerm, but also using Contour with the LiberationMono font.
Contour:
RoxTerm:
Additional notes
@christianparpart already knows the cause and the fix...I can't explain it though!
As discussed locally. This shows two problems.
SF Monofont probably does not expose the correct metrics to shift the pen to the right. It looks like it's always 0. This goes in line with the other Apple's font for emoji, where we already auto-center in case of zero-metrics.- the underline is too bold for small grid cell heights (IIRC, @cqexbesd is using 12pt size on a standard 96dpi screen)
The underline issue i told you about last year as well when i was on my imac