0

cartograph

This is what happened when I set my default font to a new font I bought called Cartograph. Looks cool, but I'm not sure I could get used to it. Anyone know what might have happened? It's an otf font. Looks normal in LibreWrite and gedit, BTW. Here's the init entry

'(default 
    ((t (:inherit nil 
         :stipple nil 
         :inverse-video nil 
         :box nil 
         :strike-through nil 
         :overline nil 
         :underline nil 
         :slant normal 
         :weight normal 
         :height 143 
         :width normal 
         :foundry "UKWN" 
         :family "Cartograph CF"))))
6
  • just a guess, but what does it look like if you only specify the font, and none of the other details (weight, height etc)? If the spacing is ok with that, you'll know something in your detailed settings is causing the problem – Tyler Dec 14 '20 at 1:27
  • Didn't help. I took out everything but :family "Cartograph CF. – 147pm Dec 14 '20 at 2:39
  • 1
    This looks similar to github.com/googlefonts/Inconsolata/issues/42. Are you using a version of Emacs older than 27.1? – Arch Stanton Dec 14 '20 at 7:38
  • I'm on 27.1. Would it make a difference to recompile --with-cairo? – 147pm Dec 14 '20 at 21:11
  • Before trying to recompile you may check the output of M-x set-variable RET eval-expression-print-length RET nil RET M-: (font-info (font-at 1)) RET on a non empty buffer. There should be an array of numbers somewhere. The last two values should be in the surroundings of your font size, 14. If it's much larger than that, then it's more likely that your issue is related to the one with Inconsolata and that compiling with Cairo support will solve it. – Arch Stanton Dec 16 '20 at 9:05
0

Reading through this and following the advice of Arch Stanton in the above comments -- although I didn't understand his instructions

There should be an array of numbers somewhere. The last two values should be in the surroundings of your font size, 14.

I did recompile Emacs 27.1 with cairo

./configure --with-cairo

and the problem is solved.

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.