Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I have the arrow (⇒) it takes up more vertical space in Emacs. So lines with this symbol have a different line height then the rest of my code. This really annoys me :).

I have the following font setting in my init.el (set-face-attribute 'default nil :family "Anonymous Pro" :height 110 :weight 'normal)

I'm using Emacs 24.2 on OS X (package from

Is there a way to make all my lines the same height?

share|improve this question

That SO answer shows how to define a font to render a character. In short

(set-face-attribute 'default nil :family "Consolas")
(set-fontset-font "fontset-default" '(#x6d4b . #x6d4c)
              "Microsoft YaHei" nil 'prepend)

And that other SO answer I made shows how to define which font to associate to a whole character set :


(setq default-frame-alist '((width . 100) 
   (height . 44) 
   (top . 50) ;pixels
   (left . 50) ;pixels
   (font . "fontset-consolas")
share|improve this answer

I think it is a problem of Your font. You can try using a different font. For example in DejaVu Sans Mono -- char has the same width and height as any ascii char.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .