Stack Exchange Network

Stack Exchange network consists of 174 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

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

0
votes
1answer
31 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
0
votes
0answers
56 views

Why is emacs extremy slow when working with source-code-pro and unicode-characters (on windows)?

i have a strange performance problem. I installed the Source-Code-Pro-Font on my windows machine to use it in emacs (V25.1.1, not spacemacs). To load the font i put following lisp code into my init.el:...
1
vote
2answers
71 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
23 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
28 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
24 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
17 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
65 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
73 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
70 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 ...
0
votes
0answers
16 views

Problem with Emacs 24.5.1 with font and Cyrillic

I'm a sort of basic level Linux user. I have managed to install Ubuntu 16.04 on a laptop, overwriting Ubuntu 9.04. I also have a Ubuntu 14.04 machine on which I have Emacs 2.3.1 which works fine for ...
-1
votes
0answers
10 views

Scale arabic font and latin space 0x20

I write arabic script and have scaled arabic with (set-fontset-font "fontset-default" (cons (decode-char 'ucs #x0600) (decode-char 'ucs #x06ff)) "-*-Scheherazade-...
-1
votes
0answers
24 views

How to set line height to the tallest fonts height in buffer with multiple fonts

I have setup spacemacs to use operator mono for keywords and comments but otherwise use fira code for source code. (set-face-attribute 'font-lock-keyword-face nil :slant 'italic :font "-H&...
5
votes
2answers
67 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
25 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 ...
3
votes
1answer
145 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
41 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
26 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 ...
0
votes
0answers
23 views

How can i change org-mode headline fonts using in-buffer code blocks

I tried using code below, but it only works for default fonts and not for org headlines: ;; Local Variables: ;; eval: (face-remap-add-relative 'org-level-1 :font "Calibri" :height 1.75) ;; End:
3
votes
1answer
118 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
22 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
62 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
47 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
102 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
38 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 --...
1
vote
1answer
44 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
56 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 ...
0
votes
0answers
84 views

Changing font size in emacs-nox

This question comes out of the answer I posted to my previous question. Setting the font size to 10 in a terminal's preference solved the issue of the last row being black. But it introduces this ...
0
votes
0answers
78 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
556 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
106 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
32 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
25 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
98 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 ...
1
vote
0answers
305 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
119 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, ...
0
votes
0answers
103 views

Why am I getting this error: “Default face height not absolute and positive”?

I am trying to set a default font using the 'Options' menu in Emacs 23.1 and I am getting this error after I save the options and reopen Emacs. Warning (initialization): An error occurred while ...
2
votes
0answers
27 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
114 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
39 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
62 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?
0
votes
0answers
21 views

PT Mono bad Greek glyphs

I use PT Mono in Emacs. Many of the Greek glyphs show up as symbols of some Eastern script (could not identify what). The Greek glyphs of other fonts I tried (Droid Sans Mono, Inconsolata, Hack, ...
3
votes
0answers
30 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
301 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
79 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
30 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
0answers
122 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
68 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 ...
0
votes
0answers
42 views

Font size is bigger than the setting

I set font by using the following code ; some other codes (when (member "Source Code Pro" (font-family-list)) ;; in fact it is 16 in Linux (add-to-list 'initial-frame-alist '(font . "Source ...
0
votes
1answer
70 views

Is there a way to use google api fonts in Emacs directly?

It is a long journey to switch and change fonts in Emacs: download a package of fonts, unpack it, install those fonts in my computer, use commands to find the names of the fonts, and then write ...