tvl-depot/users/sterni
sterni 7069de7857 fix(sterni/emacs): get emacs to use default monospace for unicode
I've recently set JetBrains Mono to be my default monospace font because
it has better Unicode coverage than Bitstream Vera Mono and should
consequently include all BQN symbols.

However when investigating why 𝕊 was weirdly small, I discovered that it
was using GNU FreeSerif for some reason. As it turns out, Emacs uses the
default font (or the system wide default monospace font if unset) for
ASCII only. Beyond ASCII emacs falls back to the random assortment that
is fontset-default. Using (set-fontset-font <fontset> NIL …) doesn't
work – neither for preventing a fallback to fontset-default from
fontset-startup nor for prepending a font to all ranges of
fontset-default. Especially the former seems to contradict the Emacs
documentation.

The only solution I could come up with, is to set the relevant charsets
explicitly in fontset-startup and to never touch the default font face.

Change-Id: I640b3207e3cc3449ecd422db0e2ed93fb7d3521f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12899
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
2024-12-20 23:38:05 +00:00
..
clhs-lookup style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
dot-time-man-pages chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
emacs fix(sterni/emacs): get emacs to use default monospace for unicode 2024-12-20 23:38:05 +00:00
exercises/aoc feat(sterni/exercises/lib): add Diagonals BQN function 2024-12-20 17:39:18 +00:00
external chore(sterni/external/likely-music): update to 2023-02-07 2023-03-01 13:40:55 +00:00
htmlman style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
lv/gopher chore(nix/build): rename to reduce redundancy in attr path 2024-12-07 00:41:20 +00:00
machines chore(sterni/machines/edwin): remove 2024-11-18 12:44:59 +00:00
mblog chore(3p/lisp/closure-*): disable on ECL for now 2024-12-02 23:15:51 +00:00
modules chore(sterni/ingeborg/minecraft): 1.21.1 -> 1.21.3 2024-11-17 16:09:44 +00:00
nix feat(sterni/nix/build): check in toPlainText 2024-12-07 01:06:28 +00:00
nixpkgs-crate-holes chore(3p/sources): Bump channels & overlays 2022-09-28 08:02:31 +00:00
secrets feat(sterni/ingeborg/monitoring): expose netdata via nginx 2024-11-18 11:21:37 +00:00
keys.nix chore(sterni/keys): add ludwig ssh key 2022-10-07 16:17:15 +00:00
OWNERS chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00