commit 5b1dece2f7c8ff3bc3145ea456ef9934cb8846ae parent 577a1ca0695ea24e92f44ed486387095f4a68dda Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Sat, 24 Sep 2022 14:01:15 +0200 Jot down some notes about Emacs's low-level font management Diffstat:
| M | itches/emacs/tracker.org | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git 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: