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
1 answer
43 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
25 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
  • 509
0 votes
1 answer
30 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
34 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
  • 341
0 votes
1 answer
26 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
35 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
11 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
54 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
0 votes
0 answers
65 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
21 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
196 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
  • 408
0 votes
0 answers
37 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
75 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
  • 33
0 votes
1 answer
79 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
0 answers
165 views

Set default face (font) with use-package ':custom-face'

What do I need to tell 'use-package' so that it will set the default font for all frames on Emacs startup? With 'use-package' now installed as part of Emacs, I want to specify faces with its :custom-...
bignose's user avatar
  • 639
0 votes
1 answer
45 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
107 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,561
0 votes
0 answers
64 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,074
1 vote
0 answers
35 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
  • 939
0 votes
0 answers
13 views

define a special org-link face inside of org-table, different from outside?

I'd like to define a special org-link face inside of org tables, such as to set link to fixed fonts within a table, and to variable fonts outside. I tried to play with custom-theme-set-faces in ...
Laurent Jacques's user avatar
0 votes
0 answers
35 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
  • 369
0 votes
0 answers
16 views

Select font for buffer via [Gtk] GUI font selection tool

From the menu-bar selecting: Option -> Set Default Font... pops up a (Gtk?) font selection tool: Is there a nice way to select font for the current (or specific) buffer without configuration ...
Yotam's user avatar
  • 101
0 votes
1 answer
164 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
0 votes
0 answers
26 views

resize font in ivy-posframe

i'm tryinng to set the font in ivy-posframe and no result. i have try code adapt to another cases, like: (defun text-scale-twice ()(interactive)(progn(text-scale-adjust 0)(text-scale-decrease 2))) (...
Levo's user avatar
  • 47
0 votes
0 answers
143 views

how do i customize font faces and sizes in neotree buffer

I am trying to find a good folder view package to work alongside projectile and magit, I tried treemacs for a while and did not find it to my liking, I am now trying neotree. Neotree seems to be ...
Ajaneesh Rajashekharaiah's user avatar
1 vote
3 answers
141 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,247
0 votes
0 answers
19 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
45 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
2k 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
74 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
  • 489
0 votes
1 answer
124 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
0 votes
0 answers
28 views

Font fallback breaks fixed-pitched grid

I'm looking for a way to achieve strict monospace alignment in Emacs, even when font fallback happens. There are various fallback fonts available for displaying icons in terminals, for example https://...
Zoltan's user avatar
  • 251
1 vote
2 answers
102 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,045
1 vote
1 answer
70 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
89 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
58 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
437 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
38 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,059
1 vote
3 answers
140 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
157 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,288
1 vote
1 answer
639 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
103 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,657
2 votes
2 answers
258 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
  • 421
0 votes
1 answer
123 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
65 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
2 votes
1 answer
610 views

How to set the font in an Org-mode buffer?

Is there a simple way to set the font used when viewing an .org file, so that it applies to that file every time you open it? I'm imagining something with the properties, like the imagined example ...
Rob N's user avatar
  • 639
0 votes
1 answer
85 views

Accents not rendering properly over greek letters in GUI mode

I noticed that (at the moment) accents are not properly positioned over Greek letters, for example the greek Letter pi (Unicode 03C0) with a combining circumflex accent (Unicode 0302) (used a lot in ...
swhalemwo's user avatar
1 vote
1 answer
181 views

Setting the Default Zoom of An Emacs Frame (Without Stutter)?

When launching emacs, I've been manually calling (dotimes (i (or arg 15)) (spacemacs/zoom-frm-in)) to zoom the frame in 15 times over. I actually added this to a script so that it happens every ...
George's user avatar
  • 919
1 vote
1 answer
501 views

Change org mode's heading font size (like logseq) in respect of properties

I want my org file can be used in Emacs and logseq interchangeably (in pc Emacs, in mobile logseq) What I want is like logseq to have other properties for the heading text, like :PROPERTIES: :heading: ...
justakidd's user avatar
0 votes
1 answer
152 views

My text is not aligned, what is causing this?

I noticed recently that across all my files, each line is slightly misaligned. As you can see, depending on the line number, the text is off a bit. I tried changing fonts with no luck. Which setting ...
Vinn's user avatar
  • 293

1
2 3 4 5
8