Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fonts]

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

0
votes
0answers
14 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
12 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
40 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
19 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
21 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
18 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
87 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
56 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
27 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
36 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
47 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
393 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
37 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
48 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
27 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 ...
0
votes
1answer
36 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
144 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
79 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
132 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 ...
5
votes
2answers
105 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
29 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 ...
4
votes
1answer
218 views

Is there a way to use spacemacs with emacs 24.3 version?

I am working in a cluster environment, where the default emacs version is 24.3. Unfortunately spacemacs support only from >24.4. Administrators refuse to update the version. They asked me install my ...
0
votes
1answer
61 views

Why are code blocks and code literals displaying with large face in markdown

In markdown mode, all of the fenced code blocks and inline code literal strings are displaying with this very large font. The size is large, and also I'm pretty sure it isn't the same font as the ...
0
votes
1answer
27 views

Re-align text after a bigger symbol

I'd like to customize a bit mu4e in order to display nice utf-8 chars (or still better, colored emojis). However, the problem is that the utf8 chars does not have the good width (even in the mono ...
3
votes
1answer
135 views

Fixed width font in Latex

I can't figure out how to have every character have the same fixed width in Latex. In this example: I would like the characters {i \in \math to have the same width as the others.
0
votes
1answer
29 views

Can not set font family in init file in Windows

In my .emacs file I have the following: (setq default_font "Office Code Pro D") (when (member default_font (font-family-list)) (set-face-attribute 'default nil :family ...
4
votes
2answers
77 views

Forbidding variable font sizes

In LaTeX mode, the content of \frametitle{...} gets a bigger font size. How can I prevent that from happening? And is there a general to prevent /all/ variation in font size? (I wish emacs would ...
0
votes
0answers
68 views

How to make new windows use the current font size?

When making a new window (using make-frame-command), how can I use the current font scale for new windows? Note: reported a bug, since it seems this might be good default behavior.
0
votes
1answer
163 views

Font on emacs (Windows 10) appears cut off

How can I improve the appearance of the emacs (25.2.1) font on Windows 10 (1703)? Currently, text appears blurred and cut off (especially lines on the bottom):
0
votes
0answers
54 views

How to see the difference when compiling Emacs with or without m17n-flt?

I need to build Emacs from source (the Emacs installed in the system at work is ancient, and the admins won't upgrade it). The documentation for the configure option --without-m17n-flt says --...
2
votes
1answer
65 views

Unable to set font-family from a variable

The below line works correctly: (custom-set-faces '(default ((t (:family "Liberation Mono"))))) but when I try to retrieve the font-face from a variable, it fails (setq font-family-default "...
0
votes
1answer
61 views

Highlight (and increase font) for specific words in the buffer when it's opened

I'm looking for functionality that will allow me to highlight specific words of text when I open the buffer in specific mode, like it should work if you're in js2-mode web-mode vue-mode and the ...
1
vote
0answers
108 views

How can I enlarge the font of tooltips?

I want to enlarge the text in tooltips displayed via https://www.emacswiki.org/emacs/PosTip . What can I do?
1
vote
4answers
834 views

Configure Hack as default font in .emacs.d/init.el

I would like to configure the default Emacs font in my init.el (as opposed to using M-x customize that a lot of other questions here on Emacs Stack Exchange has already explained). I have tried the ...
1
vote
0answers
138 views

Symbols display on Windows

I have been struggling with the following issue on Windows for the last couple of years. For some reason, certain symbols are not displayed properly: Everything displayed is those ? symbols. If I ...
1
vote
1answer
39 views

Switch back to default font on widening

Running emacs 25.2.2 on Kubuntu 17.10. I have an Org mode file that is mostly in English but certain headlines contain text in Devanagari. From Options -> Set Default Font, I have chosen Hack 13 ...
0
votes
0answers
37 views

hebrew fonts have squares around them..how does one fix this?

After a recent updates hebrew fonts have started to appear with squares around them Anyone know how to fix this? i tried changing to various fonts with no sucsess this is my current font setup: ...
1
vote
0answers
132 views

Disabling antialiasing for all letters including Greek

(On Arch Linux) run emacs -q and evaluate (set-face-font 'default ":antialias=false"). Your font should now not be smooth any more. But type something with Greek letters (οἷον ταῦτα): they will still ...
2
votes
0answers
414 views

How To Adjust Default Fontawesome Font Size?

I'm unable to adjust the font size for the font family Font Awesome 5 Pro. It appears that any buffer prints the FA characters 95pt high by default. I'd like to change that too, but it also seems that ...
1
vote
0answers
165 views

ubuntu mono font hanging emacs?

I think this may be as much a problem with the fonts as with emacs. I've been using Ubuntu's mono font for emacs, and activating with: (set-face-attribute 'default nil :font "Ubuntu Mono") However, ...
2
votes
0answers
29 views

Fonts for particular languages

I have Sanskrit and English in the same buffer, and I'm wondering if it's possible to have one font for Sanskrit and another for English. Is this possible? How would I do it?
0
votes
1answer
160 views

export TODO / DONE with different font face

When I export TODO / DONE to pdf, it gets exported as large, bold font. I would like to export using regular font. (10 pts). Is it possible ? Kindly help.
1
vote
0answers
53 views

Dynamically change cursor color to indicate input script

I'd like to use the cursor color to provide visual feedback on the alphabet I am currently in (I sometimes have to switch rapidly between, say, Latin and Cyrillic, and find myself typing in the wrong ...
2
votes
0answers
76 views

How to understand the font specification in Emacs?

I can find the font specification of a character in Emacs as something like mac-ct:-*-Source Code Pro-normal-normal-normal-*-20-*-*-*-m-0-iso10646-1 (#x30) What do the different parts of it mean?
3
votes
0answers
35 views

Some ligatures of the 'Devanagari Script' are not displayed correctly

I want to enter the following line in Devanagari script. In Emacs, I set the input mode to "Devanagari Inscript" and typed it in. And this is what is displayed: The font in the above example is Noto ...
3
votes
1answer
370 views

Opening emacsclient -n -c opens a small frame with small fonts

I had set up a emacs --daemon at the OS startup and whenever I try to open emacsclient -n -c emacs opens a small window (possibly the minimum size possible) and with unreadable fonts (they are too ...
2
votes
0answers
119 views

No unicode glyphs

I am experiencing trouble displaying unicode glyphs overall in emacs. All unicode glyphs are displayed as boxes with the number for the unicode glyph inside. To best show what I mean, the M-x list-...
0
votes
0answers
32 views

Synchronizing the units in which horizontal scrolling is measured with buffer columns

The problem I am trying to solve is determining how many columns of the current buffer are hidden due to horizontal scrolling. The documentation states: The horizontal scroll position is measured ...
1
vote
1answer
159 views

set default fonts for Aquamacs in .emacs

I am running Aquamacs 3.3 under macOS Sierra (10.12.6). The default fonts are way too small. How can I do the equivalent of the following tedious procedure via code in my .emacs? Options Menu -> ...
1
vote
0answers
91 views

font size problems

I just set up a new Linux workstation, and I'm having some problems with fonts in Emacs. Evaluating this works: (set-face-attribute 'default nil :family "Terminus") ...but the size of the face is ...