GNU bug report logs -
#57555
29.0.50; variable-pitch font issue with medium weight default font
Previous Next
Reported by: Amin Bandali <bandali <at> gnu.org>
Date: Sat, 3 Sep 2022 01:36:01 UTC
Severity: normal
Found in version 29.0.50
Done: Gregory Heytings <gregory <at> heytings.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Amin Bandali <bandali <at> gnu.org>
> Cc: 57555 <at> debbugs.gnu.org
> Date: Mon, 05 Sep 2022 11:08:10 -0400
>
> (when (display-graphic-p)
> (set-fontset-font t 'arabic "Vazir"))
>
> And further down:
>
> (when (display-graphic-p)
> (with-eval-after-load 'faces
> (let ((grey "#e7e7e7"))
> (set-face-attribute 'fixed-pitch nil :family "Source Code Pro")
> (set-face-attribute 'mode-line nil
> :background grey
> :inherit 'fixed-pitch))))
Does it change anything if you remove the customization of fixed-pitch
face?
> > Can't you customize the variable-pitch face to specify the FreeSans
> > family, or even to specify the exact font you want Emacs to use? That
> > should allow you to override any built-in heuristics that Emacs uses
> > when it has no other restrictions.
> >
>
> This indeed doesn't seem to work anymore. With the following,
>
> (set-face-attribute 'variable-pitch nil :family "FreeSans")
>
> Emacs picks/uses Source Code Pro medium for variable-pitch (confirmed
> visually and with describe-char), even though describe-face for
> variable-pitch shows the family set as "FreeSans". This used to work
> before, but not anymore.
Even if you set the face's font explicitly by its full XLFD name, not
implicitly via :family?
This bug report was last modified 2 years and 162 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.