Questions tagged [variable-pitch]

refers to the pitch of a `font` or a `face` in Emacs. It is specified as the number of characters printed per inch. For fixed width fonts, the pitch is constant. For variable fonts, the pitch varies. Font size and pitch size are two independent settings. A large font with lower pitch squishes text. A small font with higher pitch widens text.

10 questions
9
votes
1 answer

Changing the Variable Pitch Font

Is there a way to change the font associated with the variable-pitch-mode? On my emacs installation enabling variable-pitch-mode changes the font to a sans-serif font; I would like to use a serif font instead.
user13413
6
votes
0 answers

Proportional font breaks company overlays

When I use a proportional font with buffer-face-mode, it breaks company's overlay, because company obviously counts offset from the left margin, as well as pads suggestions on the right in character positions, expecting it to be same width always.…
Alaks
  • 61
  • 2
5
votes
0 answers

Org-indent with variable-pitch-mode and visual-line-mode indenting lines after the first too far on windows

On my windows machine, org-indent or visual-line-mode seems to be indenting wrapped lines further than it should. It almost seems like it is double-indenting them, as the extra indentation seems to get bigger with the indentation level the text is…
2
votes
1 answer

Changing text size doesn't work on all fonts in org-mode

I have the following in my config: ;; set a non programming font for text (when (member "Lucida Sans Unicode" (font-family-list)) (set-face-attribute 'variable-pitch nil :font "Lucida Sans Unicode")) ;; set a default font (when (member…
Percee
  • 143
  • 6
1
vote
2 answers

List items don't align properly when using a variable pitch font in Org mode

I'm using the "Charis SIL Compact" font for Org mode and everything looks fine except the second, third lines of list items that span multiple lines don't align properly. When using a variable pitch font some elements don't align properly such as…
Zoli
  • 381
  • 1
  • 7
1
vote
1 answer

Correct alignment of in-buffer settings (and properties) when using variable-width font in org-mode

on the left side I'm using a variable-pitch font "Charis SIL Compact" and on the right side a fixed-pitch monospace font "Hack Regular." As expected, the monospace "Hack" font aligns the items properly in the front matter, see the right side. I…
Zoli
  • 381
  • 1
  • 7
1
vote
1 answer

scale text in eww with proportional fonts enabled

when i use eww, which is v often, coz i love reading the web by just text in a format i choose, i can scale the text (with C-x +/-) until i enable "proportional fonts" with F. it changes my display text to be the same as my settings for…
user27075
  • 488
  • 3
  • 11
1
vote
0 answers

How can I print a buffer exactly as it looks on the screen?

How can I print a buffer exactly as it looks on screen, including the use of variable-pitch fonts? (I'm also curious why htmlfontify-buffer ignores variable-pitch-mode.) I am using org-mode and use variable-pitch fonts. However, the latter are…
Harmeling
  • 111
  • 2
0
votes
1 answer

Custom function to activate variable pitch mode in Org mode

I have this face definition that applies globally: (set-face-attribute 'variable-pitch nil :family "Charis SIL Compact" :height 180) The problem is that Elfeed and Mu4e also use the variable pitch mode and I don't want that. I would like to create…
Zoli
  • 381
  • 1
  • 7
0
votes
0 answers

org-mode: How to change cursor type for variable-pitch mode?

I have the following block of lisp codes in my .emacs config to enable variable-pitch mode for Org-mode. It is working fine however the cursor has changed from the default block to a thin line. Could someone please advise how or what I can add into…
Mishka
  • 21
  • 2