summaryrefslogtreecommitdiff
path: root/itches/emacs
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2022-09-24 14:01:15 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2022-09-24 14:02:50 +0200
commit5b1dece2f7c8ff3bc3145ea456ef9934cb8846ae (patch)
tree8b1bce9744d3711f20b3ba8443619aa0a4b012a5 /itches/emacs
parent577a1ca0695ea24e92f44ed486387095f4a68dda (diff)
downloadmemory-leaks-5b1dece2f7c8ff3bc3145ea456ef9934cb8846ae.tar.xz
Jot down some notes about Emacs's low-level font management
Diffstat (limited to 'itches/emacs')
-rw-r--r--itches/emacs/tracker.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/itches/emacs/tracker.org b/itches/emacs/tracker.org
index 0c1ec57..2e57fe6 100644
--- a/itches/emacs/tracker.org
+++ b/itches/emacs/tracker.org
@@ -43,6 +43,18 @@ Fixed by Yamamoto Mitsuharu.
:Role: author
:END:
Fixed by Yamamoto Mitsuharu.
+**** Fonts
+***** TODO Rank candidate fonts consistently wrt. their version field
+I sometimes have two versions of a font installed, e.g. the
+distro-provided one, plus an upstream one tucked in =~/.local=.
+
+Emacs seems to not use the same heuristics as fontconfig's ~fc-match~,
+and sometimes picks the older version.
+
+No bug filed yet; discussed first on [[https://lists.gnu.org/archive/html/help-gnu-emacs/2022-01/msg00042.html][help-gnu-emacs]] and [[https://lists.gnu.org/archive/html/emacs-devel/2022-01/msg00725.html][emacs-devel]],
+then brought up on the [[https://lists.freedesktop.org/archives/fontconfig/2022-January/006859.html][fontconfig mailing list]]. Tentative conclusion:
+fontconfig's ~fc-match~ seems to take =FC_FONTVERSION= into account
+when ranking fonts; it'd be nice if Emacs's ~find-font~ did so too.
**** "Pure GTK" port
***** DONE [[https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg01845.html][emacs-devel:<87wnk0wyi7.fsf@gmail.com>]] Let =--with-webp= work with =--with-pgtk=
:PROPERTIES: