Skip to main content

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
4 votes
0 answers
33 views

How to "enlarge" menu items/text

I have become visually impaired, struggling to read "the small print" (of Emacs 29.3). How can I permanently change the size of the icons and text in the meny bar? I have been searching the ...
ArneT12594 's user avatar
2 votes
0 answers
112 views

Font Rendering: Nerd Font icons render incorrectly

The following is how I set my fonts in init.el. (set-face-attribute 'default nil :font "Iosevka Term Nerd Font" :height 130) (set-face-attribute 'fixed-pitch nil :font "Iosevka Term ...
lmkerbey's user avatar
0 votes
0 answers
20 views

How to set the height attribute of a face with a variable? [duplicate]

I mostly use Emacs on GNU/Linux Arch, and here is how I usually set fonts: (use-package cus-face :ensure nil :config (custom-set-faces '(default ((t (:family "Source Code ...
crocefisso's user avatar
  • 1,479
0 votes
0 answers
59 views

Emacs weird font since upgrade to Linux Mint 22

Emacs was working fine for me until I upgraded my OS from Linux Mint 21.3 to 22. I'm not sure what version of Emacs I was using, but now it's 29.3 Here is output from the inxi -b command: (base) ...
Peyrol's user avatar
  • 1
0 votes
1 answer
58 views

Org table fonts

On org tables I had Courier font and that looked very nice. (My general font is Monaco) Today while installing something else, for some reason, Brew installed a new version of Emacs and some of my ...
zeynel's user avatar
  • 407
2 votes
1 answer
118 views

describe-char renders the character, but not the buffer

I put some unicode text in a buffer and it looks like this: But if I move to that box and run M-x describe-char I see it rendered correctly at the bottom, next to "decomposition". So, Emacs ...
Rob N's user avatar
  • 711
0 votes
0 answers
21 views

Avoid contents in M-x term to be shown out of the window

Table of contents The problem The question Appendix: Install and use font 5x7.bdf Appendix: My minimal Emacs configuration NOTE: This post contains many screenshots of the graphical interface of ...
Rodrigo Morales's user avatar
1 vote
1 answer
55 views

How to make all lines in a buffer have equal height?

The context I'm using term in GNU Emacs 29.3. I usually use tmux inside *terminal* (i.e. the buffer that is opened by M-x term) and in my tmux configuration I made the tmux status bar to be displayed ...
Rodrigo Morales's user avatar
0 votes
0 answers
39 views

The `'append` argument for `set-fontset-font` doesn't work

After reading Modifying-Fontsets, I started trying out the fontset fallback mechanism in Emacs 29.3. (set-face-attribute 'default nil :font (font-spec :family "Courier New" :size 24)) (set-...
chansey's user avatar
  • 153
3 votes
1 answer
77 views

How can I override character ranges in 'default font'?

There are two widely used interfaces that can change fonts in Emacs: set-face-attribute set-fontset-font. If I understand correctly set-face-attribute can set main font (or default font) and set-...
chansey's user avatar
  • 153
1 vote
1 answer
237 views

Setting default font to Inconsolata doesn’t work in Emacs 29/macOS

Using macOS Sonoma on M1 Mac Mini and M1 Air. Emacs from https://emacsformacosx.com. I have Inconsolata installed in ~/Library/Fonts/, validated by Font Book. My .emacs calls up .emacs-custom.el, at ...
Simon Wright's user avatar
1 vote
1 answer
93 views

Different fonts for buffer, minibuffer and modeline

I tried set-frame-font but it changes the font for not just the buffer, but also minibuffer and modeline. Is it possible to just change the font for the buffer, but not minibuffer and modeline? i.e. I ...
Microsoft Linux TM's user avatar
1 vote
1 answer
45 views

Cannot rescale frame font

Ubuntu 22.04, Emacs 30-ish. I set my font this way: (when (member "Terminus" (font-family-list)) (set-frame-font "-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-60-iso10646-1") ...
Gauthier's user avatar
  • 511
0 votes
1 answer
67 views

How to change the color of superscripts and subscripts in latex in org mode?

Changing emacs themes, it seems that there is a variable that determines the color of the superscript ^ and subscript _ symbols in latex math environments in org mode (in the source code not the ...
userrandrand's user avatar
0 votes
1 answer
52 views

Weird characters when using emacs on a Mac

I've been recently using a Mac more (usually I use Linux). I've noticed that some special characters look different in emacs when using a Mac and in emacs when using Linux. Here is what it looks like ...
oneself's user avatar
  • 371
0 votes
1 answer
45 views

How can I use Emacs under Linux Mint as a proportional font Evil-mode editor and a proportional-font terminal?

In OS X or X11 terminal emulator supporting proportional fonts Emacs is recommended for proportional font editing and shell use. What can / should I put in a .emacs file so it loads Evil mode and ...
Christos Hayward's user avatar
0 votes
0 answers
142 views

emacs 29.2 /file/new frame shows Gtk error?

Running a bare emacs, no init file. Open emacs, Try new frame, I get (emacs:20034): Gtk-CRITICAL **: 08:39:58.945: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed Resize the (...
Dave P's user avatar
  • 111
0 votes
0 answers
12 views

Weird windows split issue with fonts and toolbar

I found that after a recent upgrade, the window is not working splitting correctly. In some circumstances, the window is always split vertically, no matter how width the window is and even in the ...
Saddle Point's user avatar
1 vote
1 answer
171 views

Picking emoji fonts in Emacs?

How to set the font used for emojis in Emacs? More specifically, how do I set it to Noto Monochrome Emoji Font? https://github.com/googlefonts/noto-emoji/tree/main/fonts https://fonts.google.com/noto/...
01AutoMonkey's user avatar
3 votes
1 answer
258 views

Is there a way to enable OpenType font features (specifically for Monaspace)

I'm currently running Emacs 28.2 on Debian 12 (Doom core v3.0.0-pre, Doom modules v23.12.0-pre). I have checked for harfbuzz support and have ligature.el installed. I recently found Monaspace, and ...
Justin Jung's user avatar
0 votes
0 answers
25 views

Highlighted text not visible on Emacs manuals not visible on HPC

I installed GNU Emacs on a headless High-Performance-Cluster (Ubuntu 18.04). My emacs configuration is: init.el. I installed emacs using conda: conda install -c conda-forge emacs The same ...
Raghav Arora's user avatar
3 votes
1 answer
752 views

How to configure Emacs to display missing Unicode symbols

I am using Emacs 28.2 on Windows ("GNU Emacs 28.2 (build 2, x86_64-w64-mingw32)"). It has Unicode support for many characters, but some seem to be missing. For example the Unicode character “...
AnoE's user avatar
  • 460
0 votes
0 answers
42 views

Broken fonts in new frames

In new frames opened by C-x 5 2, the text appears as rectangles (see the gif below). Possibly, Emacs doesn't respect my font settings. In my init.el file, I have the following lines: (set-face-...
Alex's user avatar
  • 155
2 votes
2 answers
124 views

Nordic characters rendered incorrectly in non-file buffers

I am having trouble with nordic characters (å, ä and ö) not rendering correctly in Emacs. In text files, they render correctly, but in dired and other non-file buffers (like counsel-find-file) they ...
najjt's user avatar
  • 43
0 votes
1 answer
121 views

Unicode displayed incorrectly

I recently discovered set-input-method TeX and really like it! But I noticed that certain characters are displayed incorrectly. For example, ₘ is displayed as a superscript ⊕ to me: To reproduce: ...
jpb's user avatar
  • 101
0 votes
1 answer
69 views

How to make ligatures work for "Fragment Mono" font?

I use Emacs with Tuareg for writing code in OCaml. Also, I write code in documents out of Emacs (not for compilation) and found that some fixed-pitch fonts are pretty good in visualization for some ...
Valentyn Zakharenko's user avatar
0 votes
0 answers
202 views

Erratic font behavior after upgrading from 27.1 to 29.1 related to --no-x-resources

After upgrading Emacs from 27.1 to 29.1 yesterday (both compiled from source without configure settings except for --prefix) I am seeing erratic behavior of the fonts. The issue vanishes, when I start ...
kdb's user avatar
  • 1,591
0 votes
0 answers
120 views

org-emphasis-alist - why italic not work in org mode?

Emacs 27.1 Here my settings of org-emphasis-alist '(org-emphasis-alist '(("*" (bold :foreground "deep sky blue")) ("=" (italic :foreground "...
a_subscriber's user avatar
  • 4,224
1 vote
0 answers
42 views

How to change font-size for a single face in a single buffer

I am trying to change the font size of a single face only within a single buffer. Currently, the face is defined like this: So I thought that all I need to do is evaluate (face-remap-add-relative '...
Nikratio's user avatar
  • 959
0 votes
0 answers
41 views

How can I control the height of the section superstar in org mode?

If I start Emacs (29.1 on macOS Ventura) using the .emacs file (require 'org-superstar) (add-hook 'org-mode-hook (lambda () (org-superstar-mode 1))) ;; (set-face-attribute 'default nil :foundry "...
Sam7919's user avatar
  • 431
1 vote
1 answer
386 views

How to customize the appearance of eglot's inlay hint?

eglot's inlay hints are extremely close to the actual code, it makes the code almost unreadable. For example: The name of field is input, but it looks like inputString! Is it possible to customize ...
Lai Yu-Hsuan's user avatar
3 votes
3 answers
732 views

The mystery of the global font-size change shortcut

The official Emacs documentation says: ...to change the sizes of the fonts globally, type C-x C-M-+, C-x C-M-=, C-x C-M-- or C-x C-M-0,...1 Unfortunately, when I type C-x C-M-+ on my laptop's ...
kjo's user avatar
  • 3,347
0 votes
0 answers
24 views

Multilingual LaTeX pdf export

I have an org mode file with a mix of Bengali and English text, which I got to work using Adib Hasan's solution here: #+LATEX_HEADER: \usepackage[banglamainfont=Kalpurush, banglattfont=Akaash, feature=...
subhacom's user avatar
0 votes
2 answers
61 views

Human-readable font names to/in/from frame parameters?

I can use human-readable names for setting fonts, e.g., with M-x set-frame-font RET DejaVu Sans Mono 12 RET, or via menus. But when I ask for (frame-parameters nil 'font) to find out the current ...
toomas's user avatar
  • 183
1 vote
1 answer
3k views

Strange symbols in doom-modeline

When I first installed doom-modeline I used to get the nice symbols for each mode, for some reason now all I get is: Does anyone know how I can get proper symbols back?
Dave F's user avatar
  • 573
0 votes
1 answer
112 views

find out font used in terminal emacs

M-x describe-font shows fonts when run in mac, but when I run it on iterm2 (emacs -nw), it doesn't give me anything (no output) describe-face says Face: default (sample) (customize this face) ...
eugene's user avatar
  • 529
0 votes
1 answer
322 views

Increase text size permanently

How can I set the text size to be larger all the time, starting from when I open the GUI app? I am specifically referring to the text size for the buffer and modeline. I am moderately visually ...
vnbcs's user avatar
  • 1
1 vote
2 answers
155 views

Nonbreakable space font

I use C-x8space to insert a non-breakable space. In recent Emacs (I'm on 28.2 now), it started being displayed much narrower than in older versions. I use a monospace font called monofur, but the ...
choroba's user avatar
  • 2,160
1 vote
1 answer
79 views

Searching for text fragments by character text properties

The text to be processed has special words marked with a special font. The required text is copied to the clipboard with the mouse (from firefox). The text is pasted into the clipboard emacs("...
uanr81's user avatar
  • 169
0 votes
1 answer
140 views

Android emacs font not available, for resize

I've installed emacs with f-droid and I'm trying to increase the font size, but it says the font is not available no matter what i try. Is there a package that needs to be installed? All in trying to ...
Jason Hunter's user avatar
0 votes
1 answer
111 views

How can we customize the font size of the window-number in `ace-window` mode?

The font face of the window labels in ace window seem to have the same size as that of the text in the buffer, which is in general too small for me to allow for quick visual parsing. I was hoping that ...
loonatick's user avatar
  • 217
2 votes
1 answer
732 views

How to load font for emacs on Arch Linux?

I want to use a custom font for emacs on arch linux. Therefore, I installed the package ttc-iosevka. Then I added the following line to my init.el: (set-frame-font "/usr/share/fonts/TTF/iosevka-...
MySQLInjection's user avatar
0 votes
1 answer
41 views

How to add syntactic elements to modes with colourizing and correct tabulation

I am using literate programming in org mode. It adds a new syntactic construction to the language: <<macro name>>. Unfortunately, it breaks all the colouring and tabulation after it. For ...
user4035's user avatar
  • 1,089
1 vote
3 answers
177 views

Increase font size in mini-buffer (for Japanese Kanji selection)

I'm using Emacs and Xubuntu, and my default input is English, but (in Emacs) I use Japanese input method as well. To enter Kanji (Chinese characters), I type some letters (usually from 2 to about half ...
Chris's user avatar
  • 57
3 votes
1 answer
174 views

Using Uninstalled Fonts

How to get Emacs to use a font that is not installed? Background My USB flash drive has the font that I want to use, but the school's computer room doesn't give students admin permission, so I can't ...
shynur's user avatar
  • 5,900
1 vote
1 answer
937 views

font scaling on multiple monitors with different scalings

I have a 4k laptop display and dual 1920x1200 external monitors, one rotated vertically so emacs can have a million lines in view. Font scaling is set to 200% on the laptop display and 100% on the ...
Joe's user avatar
  • 13
1 vote
0 answers
119 views

Specify the size of a font in a fontset, but let it be scaled by `text-scale-adjust`

I want to use Inconsolata LGC's Greek with Inconsolata (plain Inconsolata has better hinting than Inconsolata LGC). I've set up a fontset (of course these are things you copy from Stack Exchange) (...
Arch Stanton's user avatar
  • 1,777
4 votes
2 answers
347 views

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 ...
Zoli's user avatar
  • 491
0 votes
1 answer
210 views

Monospace font for non-ascii chars

I have some code that uses non-ASCII unicode chars. Here's a simple example that happens to be JS but the problem exists more generally: function replaceFractions(text) { // We're ignoring ⅙⅚⅑⅐⅑⅒ ...
Richard Wheeldon's user avatar
0 votes
2 answers
132 views

Change font size for buffer in a single frame (ideally zoom in/out using key or mousewheel)

In GNU Emacs 27.2 is there a way to change the text font size of a single buffer without changing all open instances of that buffer (in different frames)? In my version of emacs, when I use Ctrl+...
PatS's user avatar
  • 155

1
2 3 4 5
8