We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [fonts]

specifying fonts and font enhancements, and in Emacs, fonts are closely associated with `face` and `font-lock` features.

Filter by
Sorted by
Tagged with
1
vote
1answer
13 views

How to set font-height for all future frames?

I've set the font-family and font-size in a few different ways before, one of which was: (custom-set-faces '(default ((t (:family "Liberation Mono" :height 150))))) However, I learned that if you ...
1
vote
0answers
32 views

Emacs via X: how to use higher resolution fonts?

I have attached a screenshot of Emacs 24.5 running in X-Quartz in a Debian VM. Does anyone know how to configure Emacs to use higher resolution fonts? For instance, like the ones Mac Terminal.app is ...
1
vote
1answer
21 views

Reach to the extreme of font size in one step

Usually to view the org or code in a bird view, I will decrease the font size to the extreme of minimal with M-x decrease, C-x z, z, z, z until reach the extreme. Is it possible to reach the ...
2
votes
1answer
63 views

What exactly is the difference between `font-family` and `font-foundry`?

What is the historical context of these two terms? Why are they distinct? And why are they needed? What pragmatic utility is there in knowing how these two terms differ? In terms of Emacs/Emacs Lisp, ...
1
vote
3answers
39 views

Emacs displays some characters as squares

For example this: 𝔱𝔢𝔰𝔱 Emacs displays it like this: I have noticed this just after a Windows update this morning (now version is 1903). I remember it was working well a few days ago. I tried ...
0
votes
1answer
21 views

Fixed width font for sending mails - notmuch + gmailieer + emacs - How?

I have recently set-up my personal mail(gmail) for use through emacs, notmuch and gmailieer. For sending mails, I am relying on the inbuilt smtp mail package and the Message mode. Earlier, when ...
0
votes
0answers
33 views

Segmentation fault when creating new frames

I am reproducibly experiencing segmentation faults on Emacs 26.3 under Debian Buster when creating a new frame, which seems to be related to setting fonts for new frames. In order to illustrate I ...
0
votes
2answers
34 views

How can I make emacs monochrome in no-window-system mode?

I prefer to run emacs as a console application, and I would prefer that it be monochrome. I currently have (global-font-lock-mode 0) set in my init file, which works as I want it to on my mac. However,...
1
vote
2answers
76 views

Can Emacs render family emojis? (Emoji ZWJ Sequences)

For example (explained on Emojipedia): 👨‍👩‍👧‍👦
2
votes
0answers
44 views

How can someone set Emacs / Spacemacs to prefer OTF font over TTF font when both are available?

Recently the nixos fira-code package added both the otf and ttf fonts and Emacs/Spacemacs isn't quite happy with the ttf ones. How could I tell spacemacs to prefer OTF over TTF when both are ...
2
votes
0answers
44 views

Display one character in an alternative font family

I want to change the appearance of my lozenge character. I have tried running the following: (set-fontset-font "fontset-default" ?◊ (font-spec :family "PragmataPro")) However, if I type ◊ and ask ...
0
votes
0answers
109 views

Fontconfig Error in Snap version of Emacs

I installed Emacs 26.3 using Snap in my Debian Buster. After I launch it, it gives me the following errors: Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules" Fontconfig ...
0
votes
1answer
56 views

In gui, font looks thicker than usual

I started using Emacs a few days ago and facing the problem. I use "M+ 1mn" for programming so I set this for Emacs. But It looks thicker than usual.(in Geany, VSCode, Xfce Terminal ...) How do I fix ...
1
vote
0answers
44 views

Set font family for comments

In coq mode I have ligatures being used: instead of "fun", it shows λ in the programming code. But in the comments lambda transformed into a character I can't even copy, so I'll attach a screenshot: ...
3
votes
3answers
49 views

How to change the font face of the current buffer?

I am using tex-mode in Aquamacs and would like to temporarily change the font for the current buffer. What is the way to do it? I tried: (set-face-attribute "American Typewriter" nil :height 150) ...
0
votes
0answers
37 views

Emacs Windows10 ragged font

I'm having issues with ragged or cutoff fonts in emacs with windows10. It's especially noticeable when looking at the bullets in org-mode bullets which seem pixelated and off center. Specs: Display ...
0
votes
1answer
28 views

Setting mode-line font size and Magit diff colours

I'd like to adjust the background colour of the part of the diffs displayed by Magit. In particular, the background colour of the text 1st, 2nd, and 3rd in the image. I'd like to increase the contrast ...
0
votes
1answer
31 views

Elisp to increase font-size in indirect buffer

I use org-mode for writing and frequently use a two pane setup, similar to the one described here: Org-mode 2-pane writing setup using indirect buffers (or display-buffer-alist. I have an outline on ...
1
vote
0answers
89 views

emacs: cannot open terminfo database file

I've created a new terminfo entry to enable italics in my terminal, as described here. The new terminfo entry looks like: xterm-256color-italic|xterm with 256 colors and italic, sitm=\E[em, ritm=\E[...
1
vote
1answer
37 views

How to save font alterations?

Let's say I have this in the buffer: 'BE BOLD' I select it and type Alt-o b. It is now displayed as 'BE BOLD' I Save, quit, reopen: The font change is lost. How to keep the font change, please?
2
votes
2answers
91 views

How to change emacs font size on the fly from commandline?

Using 1autorandr for multimonitor detection, the script below is runned each time I dock my machine. In order to use spacemacs on the 4k monitor I curently must hit M-x zoom-frm-in. What command ...
0
votes
0answers
57 views

Emacs default font change in Ubuntu 19.04

I upgrades Ubuntu to 19.04, and it appears that the default font in Emacs has changed. Is it just me, or is it an Ubuntu/Debian change? Or has there been a change upsteram? Also, what is the name of ...
1
vote
1answer
121 views

Why can't Emacs get a font that it can list among the fonts?

When I list the fonts in my Emacs using the following code: (dolist (font-name (x-list-fonts "*")) (let ((str font-name)) (newline) (prin1 str))) One of the fonts I get is: "-outline-...
1
vote
1answer
107 views

Is there a better way in Emacs Lisp to print the list of monospace fonts in a separate buffer?

Is there a better way in Emacs Lisp to print the list of monospace fonts in a separate buffer? I found out the following Emacs Lips code in a gist on Github: (defun font-is-mono-p (font-family) ;; ...
0
votes
1answer
154 views

How do I set up all the fonts in my GUI Emacs

I have the following in my init.el: (add-to-list 'default-frame-alist '(font . "Monaco-10")) The above does the job, but Emacs uses some other fonts when displaying headlines in org ...
1
vote
0answers
51 views

Problem with the behavior of org-fontify-done-headline

I want entries with the DONE status to be greyed out, so in my init file I have (setq org-fontify-done-headline t) and I have added '(org-headline-done ((((class color) (min-colors 16) (...
0
votes
1answer
75 views

Changing font size of a region or single characters

Is it possible in Emacs to change the font size of a single character or region, without affecting the whole Emacs window?
1
vote
1answer
77 views

detect unprintable glyph (aka “no font available”) programmatically

Sometimes a font or a font at a special fontsize does not support a unicode glyph. Then a placeholder (box with character number) is printed, see screenshot with selected line: How can I ...
1
vote
1answer
59 views

How to change font size only for the buffer *Org Export Dispatcher*?

I'm using emacs with a large font, however I do not need the font to be too large on certain buffers and/or modes. For example, when I use neotree I use a different font and a smaller size, I do that ...
0
votes
0answers
30 views

Emacsclient uses new instance, weird font

When I open Emacs normally (using runemacs.exe), everything appears fine, including the font. However, when I try opening a file in Emacs using the client, while getting the client to start the server ...
1
vote
1answer
33 views

right click for menu with choices (to change font size)?

I am using emacs 26.1 under macos. when I right-click with the mouse, emacs seems to want to select the region. alas, I would prefer to see a popup menu where I can select a few choices that I would ...
0
votes
0answers
64 views

How to set/scale font to get 80 column width on emacs

How can I make it so that I can see 80 characters in my emacs window? For example, I connect my laptop to an external monitor somewhere, start emacs, and maximize it to the full screen. I want a font ...
1
vote
0answers
21 views

When/how does font initialization occur? Changes at init time seem to only have partial effect

I have been experimenting with variable-pitch for some buffers. I have the following snippet in my emacs init: (set-face-attribute 'variable-pitch nil :family "Bookman Old Style" ...
0
votes
0answers
39 views

Installing font package only once via command in file

I have a package that install the all-the-icons-package automatically namely (use-package zerodark-theme :ensure t :init (load-theme 'zerodark t) (zerodark-setup-modeline-format)) all-the-icons ...
0
votes
0answers
40 views

Increase minubuffer font size for quail mode completion

I am trying to increase the font size of the text overlay displayed in the minibuffer when using quail completion without success so far. Does anyone have any idea how to achieve this? EDIT: I was ...
0
votes
1answer
234 views

Org mode bullets

I am using org-bullets package but the rendering of unicode bullets doesn't seem correct to me. I tried changing the to different fonts without any success. Also I can't find anything related to ...
1
vote
1answer
288 views

error "Font 'tty' is not defined

I am running on Ubuntu 18.10 and emacs 25.2, I changed the default font to (set-default-font "Monaco 14") but get error report as: Debugger entered--Lisp error: (error "Font ‘tty’ is not defined"...
0
votes
0answers
35 views

Two different fonts for different languages for org latex export

I am trying to use Garamond for English and Arial Unicode MS for Hindi for exporting my bilingual documents created using .org mode and exported using xelatex in windows. Can you please help setting ...
0
votes
1answer
108 views

How to change the font color of popup in haskell layer

I am not good at emacs because using spacemacs only for haskell coding. I want to change the font color of popup from white to black. White text on yellow popup is too hard to read. It's solarized ...
0
votes
1answer
106 views

Setting font facename for emacs and xterm under linux

How can I set the font name and size for Arabic letters in both emacs and xterm? Thanks
3
votes
2answers
1k views

Setting Default Font in Emacs 26.1

I want to set a default font in my Emacs (version 26.1, running on Arch, using Xmonad). I have tried various options in my init.el file (under .emacs.d). None seemed to work or persist when I ...
1
vote
0answers
65 views

Adjusting to screen resolution changes on GNU/Linux/ubuntu/gnome

I'm running emacs 26.1 on ubuntu 18.04 on a Dell laptop with a high-resolution display. It works very well in that configuration. It also works very well when the laptop is plugged into a lower-...
3
votes
1answer
90 views

How should I disable variable font sizes globally

I'm aware of several answers regarding font sizes for org or auctex. However, is there a way to require all faces have the default font size for all modes? I'm new to emacs and currently using ...
2
votes
1answer
33 views

unreadable characters in buffer and bars

I have installed emacs 24.3 from source on CentOS 6.9. I configured, compiled and installed it with: ./configure --prefix=$HOME/install --with-xpm=no --with-gif=no --with-tiff=no make make install ...
1
vote
1answer
120 views

daemon startup, new frame configuration, and display-pixel-width

I have a snippet that I use to determine what font size to set based on the resolution of the display, for when my laptop has an external monitor set or not: (defconst prefs/font-size ...
1
vote
1answer
307 views

Change permanently font size in Aquamacs

I have been looking on the web to the existing answers to this question, but non of them works for me. I would like to change the default font size for all frames in Aquamacs 3.3 GNU Emacs 25.1.1 (...
3
votes
1answer
92 views

Why doesn't the same Windows font look the same when migrating to emacs 26.1?

I'm trying to migrate from emacs 24.5 to emacs 26.1. I installed 26.1 and running both with the same config files. I took several tries and fixing small things in the config, for emacs 26.1 to start ...
2
votes
1answer
195 views

How can I have same font and font-size everywhere?

I'm tired of the weird (seemingly) unpredictable font behavior not just in org-mode but also anywhere I use some unicode symbols. My setup is spacemacs and I'm looking for function that I can run on ...
7
votes
1answer
155 views

Combining diacritics not combining visually

The first two characters in the left buffer are LATIN SMALL LETTER A and COMBINING CIRCUMFLEX ACCENT. Together they should display as â, just like LATIN SMALL LETTER A WITH CIRCUMFLEX, â. However, ...
0
votes
0answers
33 views

Disabling boxy appearance of info bar

I've disabled my mode-line's boxy appearance with (set-face-attribute 'mode-line nil :box nil) (set-face-attribute 'mode-line-inactive nil :box nil)) Is it possible to do the same for the ...