0

I'm using Inconsolata font in emacs. The setting looks like

(set-face-attribute
   'default nil
   :font (font-spec :name "-*-Inconsolata-bold-italic-normal-*-*-*-*-*-m-0-iso10646-1"
                    :weight 'normal
                    :slant 'normal
                    :size 12.0))

But the wave style underline has some issue like

enter image description here

The bottom of the underline is strip by the next line. Using Iosevka everything is just fine

enter image description here

How can I fixed this without changing to another font? Changing the font size doesn't help. Thanks.

2
  • Looks fine to me. What's the “issue”? – db48x Mar 13 at 14:16
  • @db48xThe bottom of the underline is strip by the next line. – stackunderflow Mar 13 at 14:24
0

This is not really a problem with Emacs. All that is happening is that the font metrics for the font you've chosen don't leave quite enough room for the wavy underlines (the descenders are not quite as tall as the wavy underline). You could increase the line spacing of the face to compensate. I suppose it would be a little nicer if Emacs drew the wavy underline in a second pass after it had drawn all of the text, but that's a lot of complications for a very minor graphical difference.

1
  • Please consider adding info about how to increase the line spacing to your answer. – Drew Mar 14 at 3:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.