help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird font problem


From: Eli Zaretskii
Subject: Re: Weird font problem
Date: Sat, 15 Jun 2024 11:26:43 +0300

> From: Joost Kremers <joostkremers@fastmail.fm>
> Cc: help-gnu-emacs@gnu.org
> Date: Thu, 06 Jun 2024 13:12:25 +0200
> 
> The culprit seems to be the orderless package.
> 
> Starting Emacs with:
> 
> ```
> emacs -Q -L .emacs.d/elpa/compat-29.1.4.5 -L 
> .emacs.d/elpa/vertico-20240511.2047/ -L .emacs.d/elpa/orderless-20240401.959/
> ```
> 
> Then in e.g., *ielm*, execute the following Lisp code reproduces the problem 
> for
> me:
> 
> ```
> ELISP> (require 'vertico)
> 
> ELISP> (vertico-mode)
> 
> ELISP> (setq completion-styles '(orderless basic))
> 
> ELISP> (setq completion-category-defaults nil)
> 
> ELISP> (require 'orderless)
> ```
> 
> At this point, when I do 'C-x 8 RET' and type 'docu', I see the effect: the
> highlighted candidate has the hex box, the other candidates show the correct
> glyph.
> 
> Orderless does define some faces, but I don't have time right now to dig
> further. Loading orderless without vertico doesn't seem to exhibit the 
> problem,
> though. (That is, 'C-x 8 RET docu TAB' shows five candidates, but all are
> displayed as hex boxes.)

I suspect it's the fact that orderless defines all faces to have the
'bold' weight, and the font you are using for these characters has
only the bold weight and doesn't have the "regular" weight.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]