GNU bug report logs - #24528
24.5; XLFD font specification ignore empty style preference.

Previous Next

Package: emacs;

Reported by: Oleksandr Gavenko <gavenkoa <at> gmail.com>

Date: Sat, 24 Sep 2016 17:39:01 UTC

Severity: normal

Tags: moreinfo

Found in version 24.5

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefan <at> marxist.se>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24528: closed (24.5; XLFD font specification ignore empty
 style preference.)
Date: Mon, 04 May 2020 12:10:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 04 May 2020 14:08:41 +0200
with message-id <87sggfykae.fsf <at> stefankangas.se>
and subject line Re: bug#24528: 24.5; XLFD font specification ignore empty style preference.
has caused the debbugs.gnu.org bug report #24528,
regarding 24.5; XLFD font specification ignore empty style preference.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24528: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24528
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Oleksandr Gavenko <gavenkoa <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; XLFD font specification ignore empty style preference.
Date: Sat, 24 Sep 2016 20:37:08 +0300
I have 2 server side fonts:

  -misc-fixed-medium-r-normal--13-120-75-75-c-120-iso10646-1
  -misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1

When I run:

  (set-frame-font "-misc-*-*-*-*--13-*-*-*-*-*-*-*")

unfortunately next font selected:

  -misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1

  /usr/share/fonts/X11/misc/12x13ja.pcf.gz

which looks very ugly.

In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.21.5)
 of 2016-09-05 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11803000
System Description:	Debian GNU/Linux testing (stretch)

Configured using:
 `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs24-24.5+1=. -fstack-protector-strong -Wformat
 -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
 LDFLAGS=-Wl,-z,relro'

-- 
http://defun.work/


[Message part 3 (message/rfc822, inline)]
From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 24528-done <at> debbugs.gnu.org, Oleksandr Gavenko <gavenkoa <at> gmail.com>
Subject: Re: bug#24528: 24.5; XLFD font specification ignore empty style
 preference.
Date: Mon, 04 May 2020 14:08:41 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Oleksandr Gavenko <gavenkoa <at> gmail.com> writes:
>
>> I have 2 server side fonts:
>>
>>   -misc-fixed-medium-r-normal--13-120-75-75-c-120-iso10646-1
>>   -misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1
>>
>> When I run:
>>
>>   (set-frame-font "-misc-*-*-*-*--13-*-*-*-*-*-*-*")
>>
>> unfortunately next font selected:
>>
>>   -misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1
>>
>>   /usr/share/fonts/X11/misc/12x13ja.pcf.gz
>>
>> which looks very ugly.
>
> (This bug report unfortunately got no feedback at the time.)
>
> If I (on this Debian system) tries
>
> (set-frame-font "-misc-*-*-*-*--13-*-*-*-*-*-*-*")
>
> I get
>
>     x:-misc-fixed-medium-r-normal--13-120-75-75-c-80-koi8-r (#x2D)
>
> If I say
>
> (set-frame-font "-misc-*-*-*-*-ja-13-*-*-*-*-*-*-*")
>
> I get
>
>     x:-misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1 (#x2A)
>
> So I don't seem to be able to reproduce this error, but that may be
> because I don't have the same fonts installed as you have.  On the other
> hand, there's been some changes in the font handling in Emacs since the
> bug was reported.
>
> Are you still seeing this problem in Emacs 27?

More information was requested, but none was given within 6 months, so
I'm closing this bug.

If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas


This bug report was last modified 5 years and 19 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.