GNU bug report logs -
#53866
face-attribute giving bold for ultra-bold attribute
Previous Next
Reported by: goncholden <goncholden <at> protonmail.com>
Date: Tue, 8 Feb 2022 03:25:01 UTC
Severity: normal
Tags: moreinfo, notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53866 in the body.
You can then email your comments to 53866 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Tue, 08 Feb 2022 03:25:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
goncholden <goncholden <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 08 Feb 2022 03:25:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I have called in my init file
(set-face-attribute 'default nil :height 160 :weight 'ultra-bold)
But (princ (face-attribute 'default :weight)) gives bold.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Tue, 08 Feb 2022 05:55:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 53866 <at> debbugs.gnu.org (full text, mbox):
goncholden <goncholden <at> protonmail.com> writes:
> I have called in my init file
>
> (set-face-attribute 'default nil :height 160 :weight 'ultra-bold)
>
> But (princ (face-attribute 'default :weight)) gives bold.
Please use `M-x report-emacs-bug' when reporting bugs so that we can see
the information about your Emacs build and OS.
Does the font you use have an ultra-bold variation? Very few fonts have
that weight (but many have the "black" weight, which is heavier).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 08 Feb 2022 05:55:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Tue, 08 Feb 2022 06:31:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 53866 <at> debbugs.gnu.org (full text, mbox):
------- Original Message -------
On Tuesday, February 8th, 2022 at 5:54 AM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> goncholden goncholden <at> protonmail.com writes:
>
> > I have called in my init file
> > (set-face-attribute 'default nil :height 160 :weight 'ultra-bold)
> > But (princ (face-attribute 'default :weight)) gives bold.
>
> Please use `M-x report-emacs-bug' when reporting bugs so that we can see
> the information about your Emacs build and OS.
>
> Does the font you use have an ultra-bold variation? Very few fonts have
> that weight (but many have the "black" weight, which is heavier).
Now that you mention it, I do not know exactly what font emacs is using.
I have modus-themes activated. Are there monospace fonts which go to
ultra-bold? I do not know whether emacs should report about whether
a weight setup fails for the font being used.
In GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32) of
2021-09-28 built on fuckup Windowing system distributor 'The X.Org Foundation',
version 11.0.11906000 System Description: Trisquel GNU/Linux Etiona (9.0)
Configured features:
XPM JPEG TIFF GIF PNG SOUND GSETTINGS GLIB NOTIFY INOTIFY GNUTLS
FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 XDBE XIM MODULES
THREADS PDUMPER GMP
Important settings:
value of $LC_MONETARY: en_GB.UTF-8
value of $LC_NUMERIC: en_GB.UTF-8
value of $LC_TIME: en_GB.UTF-8
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
global-company-mode: t
company-mode: t
shell-dirtrack-mode: t
outline-minor-mode: t
icomplete-vertical-mode: t
icomplete-mode: t
richerenkov-minor-mode: t
save-place-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
auto-fill-function: do-auto-fill
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa
epg epg-config gnus-util rmail rmail-loaddefs text-property-search
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils face-remap company-dabbrev-code company-dabbrev company
flight-guidance flight daphne rx faddeev-texi persepolis-fort
volterra-elisp foramifer-shell org-tempo tempo ob-C ob-latex ob-awk
ob-shell shell ob-calc calc-store calc-trail calc-ext calc calc-loaddefs
calc-macs ob-lisp ob-fortran cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs ob-org matryoshka cl org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src
ob-comint org-pcomplete pcomplete org-list org-faces org-entities
time-date org-version ob-emacs-lisp ob-core ob-eval org-table ol
org-keys org-compat org-macs org-loaddefs format-spec find-func cal-menu
calendar cal-loaddefs pachamama-org noutline outline shell-outliner
texi-outliner texinfo fort-outliner fortran f90 cus-edit cus-start
cus-load wid-edit elisp-outliner pterosaur-outliner ziggurat-protowrit
toromona-recluder checkdoc lisp-mnt thingatpt counsel xdg advice xref
project dired dired-loaddefs compile comint ansi-color swiper cl-extra
help-mode ivy derived delsel ring ivy-faces ivy-overlay colir color
orderless icomplete-vertical icomplete contrib teleport richerenkov
easy-mmode diamer marshall saveplace speedbar sb-image ezimage dframe
modus-vivendi-theme modus-operandi-theme modus-themes typex edmacro
kmacro pcase package easymenu browse-url url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)
Memory information:
((conses 16 374514 14523)
(symbols 48 38891 2)
(strings 32 129711 4054)
(string-bytes 1 3645382)
(vectors 16 30391)
(vector-slots 8 754256 22764)
(floats 8 329 86)
(intervals 56 436 0)
(buffers 1000 14))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Tue, 08 Feb 2022 06:43:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 53866 <at> debbugs.gnu.org (full text, mbox):
goncholden <goncholden <at> protonmail.com> writes:
> Now that you mention it, I do not know exactly what font emacs is using.
> I have modus-themes activated. Are there monospace fonts which go to
> ultra-bold?
I have no such fonts. But Sauce Code Pro, for instance, has a Black
variation, which is heavier than ultra-bold.
`C-u C-x =' will tell you what font you're using.
> I do not know whether emacs should report about whether
> a weight setup fails for the font being used.
Emacs chooses the nearest variation it can find -- it's very common to
not have exactly the variety requested installed, so if Emacs were to
complain about this, it'd be a lot of noise.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Tue, 08 Feb 2022 06:57:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 53866 <at> debbugs.gnu.org (full text, mbox):
------- Original Message -------
On Tuesday, February 8th, 2022 at 6:42 AM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> goncholden goncholden <at> protonmail.com writes:
> > Now that you mention it, I do not know exactly what font emacs is using.
> > I have modus-themes activated. Are there monospace fonts which go to
> > ultra-bold?
> I have no such fonts. But Sauce Code Pro, for instance, has a Black
> variation, which is heavier than ultra-bold.
Is there an easy way to find a font supporting some weight attribute. Currently,
it is quite difficult to know what font one can use.
> `C-u C-x =' will tell you what font you're using.
I just get "point=146 of 145 (EOB) column=0"
> > I do not know whether emacs should report about whether
> > a weight setup fails for the font being used.
> Emacs chooses the nearest variation it can find -- it's very common to
> not have exactly the variety requested installed, so if Emacs were to
> complain about this, it'd be a lot of noise.
Ok
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Tue, 08 Feb 2022 08:27:02 GMT)
Full text and
rfc822 format available.
Message #22 received at submit <at> debbugs.gnu.org (full text, mbox):
On Tue, 08 Feb 2022 06:56:12 +0000 goncholden via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org> wrote:
> ------- Original Message -------
> On Tuesday, February 8th, 2022 at 6:42 AM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>> goncholden goncholden <at> protonmail.com writes:
>
> Is there an easy way to find a font supporting some weight attribute. Currently,
> it is quite difficult to know what font one can use.
>
>> `C-u C-x =' will tell you what font you're using.
>
> I just get "point=146 of 145 (EOB) column=0"
Point has to "see" a character for that command to give information
about it, so execute it with point not at the end of the buffer
(including an empty buffer).
Steve Berman
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Tue, 08 Feb 2022 08:27:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Tue, 08 Feb 2022 17:01:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 53866 <at> debbugs.gnu.org (full text, mbox):
Sent with ProtonMail Secure Email.
------- Original Message -------
On Tuesday, February 8th, 2022 at 8:26 AM, Stephen Berman <stephen.berman <at> gmx.net> wrote:
> On Tue, 08 Feb 2022 06:56:12 +0000 goncholden via "Bug reports for GNU Emacs, the Swiss army knife of text editors" bug-gnu-emacs <at> gnu.org wrote:
>
> > ------- Original Message -------
> >
> > On Tuesday, February 8th, 2022 at 6:42 AM, Lars Ingebrigtsen larsi <at> gnus.org wrote:
> >
> > > goncholden goncholden <at> protonmail.com writes:
> >
> > Is there an easy way to find a font supporting some weight attribute. Currently,
> >
> > it is quite difficult to know what font one can use.
> >
> > > `C-u C-x =' will tell you what font you're using.
> >
> > I just get "point=146 of 145 (EOB) column=0"
>
> Point has to "see" a character for that command to give information
>
> about it, so execute it with point not at the end of the buffer
>
> (including an empty buffer).
>
> Steve Berman
It is very confusing. I loaded a random elisp file and run the command in the middle of the buffer
to get
---------
Type C-x 1 to delete the help window, C-M-v to scroll help.
Char: C-j (10, #o12, #xa) point=11866 of 22678 (52%) column=0
End of buffer
position: 11866 of 22678 (52%), column: 0
character: C-j (displayed as C-j) (codepoint 10, #o12, #xa)
charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x0A
script: latin
syntax: > which means: endcomment
to input: type "C-x 8 RET a" or "C-x 8 RET LINE FEED (LF)"
buffer code: #x0A
file code: #x0A (encoded by coding system prefer-utf-8-unix)
display: no font available
Character code properties: customize what to show
old-name: LINE FEED (LF)
general-category: Cc (Other, Control)
There are text properties here:
fontified nil
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Tue, 08 Feb 2022 19:40:01 GMT)
Full text and
rfc822 format available.
Message #31 received at 53866 <at> debbugs.gnu.org (full text, mbox):
> Cc: larsi <at> gnus.org, 53866 <at> debbugs.gnu.org
> Date: Tue, 08 Feb 2022 17:00:38 +0000
> From: goncholden via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> It is very confusing. I loaded a random elisp file and run the command in the middle of the buffer
> to get
>
> ---------
>
> Type C-x 1 to delete the help window, C-M-v to scroll help.
> Char: C-j (10, #o12, #xa) point=11866 of 22678 (52%) column=0
> End of buffer
>
> position: 11866 of 22678 (52%), column: 0
> character: C-j (displayed as C-j) (codepoint 10, #o12, #xa)
> charset: ascii (ASCII (ISO646 IRV))
> code point in charset: 0x0A
> script: latin
> syntax: > which means: endcomment
> to input: type "C-x 8 RET a" or "C-x 8 RET LINE FEED (LF)"
> buffer code: #x0A
> file code: #x0A (encoded by coding system prefer-utf-8-unix)
> display: no font available
Put the cursor on a character that has a visible glyph. You have put
it on a newline, which leaves no trace on display, so you get "no
font" for that.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Tue, 08 Feb 2022 22:35:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 53866 <at> debbugs.gnu.org (full text, mbox):
------- Original Message -------
On Tuesday, February 8th, 2022 at 7:38 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> Cc: larsi <at> gnus.org, 53866 <at> debbugs.gnu.org
> Date: Tue, 08 Feb 2022 17:00:38 +0000
> From: goncholden via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" bug-gnu-emacs <at> gnu.org
>
> It is very confusing. I loaded a random elisp file and run the command in the middle of the buffer
>
> to get
>
> Type C-x 1 to delete the help window, C-M-v to scroll help.
>
> Char: C-j (10, #o12, #xa) point=11866 of 22678 (52%) column=0
>
> End of buffer
>
> position: 11866 of 22678 (52%), column: 0
> character: C-j (displayed as C-j) (codepoint 10, #o12, #xa)
> charset: ascii (ASCII (ISO646 IRV))
>
>
> code point in charset: 0x0A
> script: latin
> syntax: > which means: endcomment
> to input: type "C-x 8 RET a" or "C-x 8 RET LINE FEED (LF)"
> buffer code: #x0A
> file code: #x0A (encoded by coding system prefer-utf-8-unix)
> display: no font available
Put the cursor on a character that has a visible glyph. You have put
it on a newline, which leaves no trace on display, so you get "no
font" for that.
Now I understand what I have to do. I went on a word and I get the
font name when I execute the command C-u C-x =
Is there a way emacs can list fonts that closely match some attribute
like ultra-bold. Deos emacs know the list of fonts one could use?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Wed, 09 Feb 2022 03:32:01 GMT)
Full text and
rfc822 format available.
Message #37 received at 53866 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 08 Feb 2022 22:34:39 +0000
> From: goncholden <goncholden <at> protonmail.com>
> Cc: larsi <at> gnus.org, stephen.berman <at> gmx.net, 53866 <at> debbugs.gnu.org
>
> Is there a way emacs can list fonts that closely match some attribute
> like ultra-bold.
We don't have such a command, but it could be written if needed.
However, you should really use the dedicated font tools for exploring
the fonts on your system, and Emacs is not such a tool.
> Deos emacs know the list of fonts one could use?
It does, but only in general.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Wed, 09 Feb 2022 03:45:02 GMT)
Full text and
rfc822 format available.
Message #40 received at 53866 <at> debbugs.gnu.org (full text, mbox):
------- Original Message -------
On Wednesday, February 9th, 2022 at 3:30 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> Date: Tue, 08 Feb 2022 22:34:39 +0000
> From: goncholden goncholden <at> protonmail.com
> Cc: larsi <at> gnus.org, stephen.berman <at> gmx.net, 53866 <at> debbugs.gnu.org
>
> Is there a way emacs can list fonts that closely match some attribute
> like ultra-bold.
We don't have such a command, but it could be written if needed.
However, you should really use the dedicated font tools for exploring
the fonts on your system, and Emacs is not such a tool.
> Does emacs know the list of fonts one could use?
It does, but only in general.
Could emacs describe (with a few examples) some good tools to help users define
the font they would want to use.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53866
; Package
emacs
.
(Wed, 09 Feb 2022 07:57:02 GMT)
Full text and
rfc822 format available.
Message #43 received at 53866 <at> debbugs.gnu.org (full text, mbox):
So this doesn't seem to be a bug in Emacs, and I'm therefore closing
this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) notabug.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 09 Feb 2022 07:57:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
53866 <at> debbugs.gnu.org and goncholden <goncholden <at> protonmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 09 Feb 2022 07:57:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 09 Mar 2022 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 100 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.