Since the Emacs version upgrade to version 28 org-mode tables have become very small in size. Their font size has been reduced. Is there a way to tell Emacs to use the default font for the tables?
Minimal example that reproduces my issue:
* The quick brown fox jumps over the lazy dog (123 456 7890)
The quick brown fox jumps over the lazy dog (123 456 7890)
| A | B |
|----+------------------------------------------------------------|
| 10 | The quick brown fox jumps over the lazy dog (123 456 7890) |
| 20 | The quick brown fox jumps over the lazy dog (123 456 7890) |
| 30 | The quick brown fox jumps over the lazy dog (123 456 7890) |
How it looks on my Emacs (emacs -q
):
Org-mode normal text has this font:
mac-ct:-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x51)
But org-mode table has this font:
mac-ct:-*-Courier-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x10)
Here is the C-u C-x =
output of the normal text above the table:
position: 88 of 473 (18%), column: 25
character: p (displayed as p) (codepoint 112, #o160, #x70)
charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x70
script: latin
syntax: w which means: word
category: .:Base, L:Strong L2R, a:ASCII, l:Latin, r:Roman
to input: type "C-x 8 RET 70" or "C-x 8 RET LATIN SMALL LETTER P"
buffer code: #x70
file code: #x70 (encoded by coding system utf-8-unix)
display: by this font (glyph code):
mac-ct:-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x53)
Character code properties: customize what to show
name: LATIN SMALL LETTER P
general-category: Ll (Letter, Lowercase)
decomposition: (112) ('p')
There are text properties here:
fontified t
Here is the C-u C-x =
output of the text in the table:
position: 361 of 473 (76%), column: 26
character: o (displayed as o) (codepoint 111, #o157, #x6f)
charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x6F
script: latin
syntax: w which means: word
category: .:Base, L:Strong L2R, a:ASCII, l:Latin, r:Roman
to input: type "C-x 8 RET 6f" or "C-x 8 RET LATIN SMALL LETTER O"
buffer code: #x6F
file code: #x6F (encoded by coding system utf-8-unix)
display: by this font (glyph code):
mac-ct:-*-Courier-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x52)
Character code properties: customize what to show
name: LATIN SMALL LETTER O
general-category: Ll (Letter, Lowercase)
decomposition: (111) ('o')
There are text properties here:
face org-table
fontified t
Output of M-x describe-face RET org-table RET
:
Face: org-table (sample) (customize this face)
Documentation:
Face used for tables.
Defined in ‘org-faces.el’.
Family: unspecified
Foundry: unspecified
Width: unspecified
Height: unspecified
Weight: unspecified
Slant: unspecified
Foreground: LightSkyBlue
DistantForeground: unspecified
Background: unspecified
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Extend: unspecified
Inherit: fixed-pitch
How can I make org-mode table use the same font as normal text?
default
,org-level-1
andorg-table
). Solarized Dark theme, Emacs 28.1, Org 9.5.4, Manjaro.C-u C-x =
on a character in the table and add all the results (not just the font) to your question.emacs -q
? You mentioned Solarized Dark theme so I am not sure if you tried to reproduce the issue withemacs -q
like I did or did you try to reproduce the issue with Solarized Dark theme and your other extensions enabled which may produce a different behavior than mine.C-u C-x =
for both normal text and table text in the question.emacs -q
I again get all three faces displaying the same typeface, size and weight, differing only in color. The un-themed typeface and colors are different from my normal themed ones, of course. Again, it seems certain that whatever issue you have encountered it is specific to your configuration, not an artefact of an upgrade (or not an upgrade alone, anyway).