unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53550: 29.0.50; bitmap fonts
@ 2022-01-26 14:36 Roland Winkler
  2022-01-26 14:39 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Roland Winkler @ 2022-01-26 14:36 UTC (permalink / raw)
  To: 53550


Run

emacs -Q -fn "-misc-fixed-medium-r-normal-*-20-*-*-75-*-*-*-*"

This works as expected (using the selected font) with older verions of
emacs including 28.0.91, but it selects a weird font with emacs from git.


In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0)
 of 2022-01-21 built on regnitz
Repository revision: adf00298b60e87f76c64b1ba68c0424df55982e1
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Fundamental





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#53550: 29.0.50; bitmap fonts
  2022-01-26 14:36 bug#53550: 29.0.50; bitmap fonts Roland Winkler
@ 2022-01-26 14:39 ` Lars Ingebrigtsen
  2022-01-26 15:10   ` Roland Winkler
  0 siblings, 1 reply; 9+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-26 14:39 UTC (permalink / raw)
  To: Roland Winkler; +Cc: 53550

"Roland Winkler" <winkler@gnu.org> writes:

> emacs -Q -fn "-misc-fixed-medium-r-normal-*-20-*-*-75-*-*-*-*"
>
> This works as expected (using the selected font) with older verions of
> emacs including 28.0.91, but it selects a weird font with emacs from git.

I'm unable to reproduce this on Debian/bookworm -- Emacs 27.1 and the
current trunk seem to select the same font.

Can you post the output from `C-u C-x =' on some text, and also include
a screenshot?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#53550: 29.0.50; bitmap fonts
  2022-01-26 14:39 ` Lars Ingebrigtsen
@ 2022-01-26 15:10   ` Roland Winkler
  2022-01-26 15:23     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Roland Winkler @ 2022-01-26 15:10 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Roland Winkler, 53550

[-- Attachment #1: Type: text/plain, Size: 2578 bytes --]

On Wed, Jan 26 2022, Lars Ingebrigtsen wrote:
> I'm unable to reproduce this on Debian/bookworm -- Emacs 27.1 and the
> current trunk seem to select the same font.
>
> Can you post the output from `C-u C-x =' on some text, and also include
> a screenshot?

Emacs from trunk gives me:
(my xfontsel cannot make use of the font name displayed here, it says
"no names match")

             position: 4 of 145 (2%), column: 3
            character: T (displayed as T) (codepoint 84, #o124, #x54)
              charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x54
               script: latin
               syntax: w 	which means: word
             category: .:Base, L:Strong L2R, a:ASCII, l:Latin, r:Roman
             to input: type "C-x 8 RET 54" or "C-x 8 RET LATIN CAPITAL LETTER T"
          buffer code: #x54
            file code: #x54 (encoded by coding system utf-8-unix)
              display: by this font (glyph code):
    ftcrhb:-Misc-Fixed-medium-normal-normal-ko-18-*-*-*-c-180-iso10646-1 (#x36)

Character code properties: customize what to show
  name: LATIN CAPITAL LETTER T
  general-category: Lu (Letter, Uppercase)
  decomposition: (84) ('T')

There are text properties here:
  face                 font-lock-comment-face
  fontified            nil

--------------------------------------------------------------------------
Emacs 28.0.91 gives me

             position: 4 of 145 (2%), column: 3
            character: T (displayed as T) (codepoint 84, #o124, #x54)
              charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x54
               script: latin
               syntax: w 	which means: word
             category: .:Base, L:Strong L2R, a:ASCII, l:Latin, r:Roman
             to input: type "C-x 8 RET 54" or "C-x 8 RET LATIN CAPITAL LETTER T"
          buffer code: #x54
            file code: #x54 (encoded by coding system utf-8-unix)
              display: by this font (glyph code):
    ftcrhb:-Misc-Fixed-normal-normal-normal-*-20-*-*-*-c-100-iso10646-1 (#x36)

Character code properties: customize what to show
  name: LATIN CAPITAL LETTER T
  general-category: Lu (Letter, Uppercase)
  decomposition: (84) ('T')

There are text properties here:
  face                 font-lock-comment-face
  fontified            nil

--------------------------------------------------------------------------
Screenshots are attached.  I do not know why the *About Emacs* buffer
with 29.0.50 uses no fancy layout at all, but only the dull layout
visible in the screenshot.  Emacs 29.0.50 uses the same font for all
other buffers.


[-- Attachment #2: emacs-29.0.50.png --]
[-- Type: image/png, Size: 44612 bytes --]

[-- Attachment #3: emacs-28.0.91.png --]
[-- Type: image/png, Size: 37288 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#53550: 29.0.50; bitmap fonts
  2022-01-26 15:10   ` Roland Winkler
@ 2022-01-26 15:23     ` Lars Ingebrigtsen
  2022-01-26 15:33       ` Roland Winkler
  2022-01-26 16:56       ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-26 15:23 UTC (permalink / raw)
  To: Roland Winkler; +Cc: 53550

"Roland Winkler" <winkler@gnu.org> writes:

>     ftcrhb:-Misc-Fixed-medium-normal-normal-ko-18-*-*-*-c-180-iso10646-1 (#x36
[...]

>     ftcrhb:-Misc-Fixed-normal-normal-normal-*-20-*-*-*-c-100-iso10646-1 (#x36)

So Emacs 29 is choosing a "ko" variant for the font?  I guess that's a
Russian font?  It sounds like a variation on the other font selection
problems we've been seeing on the trunk, which we're still debugging, I
think.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#53550: 29.0.50; bitmap fonts
  2022-01-26 15:23     ` Lars Ingebrigtsen
@ 2022-01-26 15:33       ` Roland Winkler
  2022-01-26 16:12         ` Andreas Schwab
  2022-01-26 16:56       ` Eli Zaretskii
  1 sibling, 1 reply; 9+ messages in thread
From: Roland Winkler @ 2022-01-26 15:33 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 53550

On Wed, Jan 26 2022, Lars Ingebrigtsen wrote:
> "Roland Winkler" <winkler@gnu.org> writes:
>
>>     ftcrhb:-Misc-Fixed-medium-normal-normal-ko-18-*-*-*-c-180-iso10646-1 (#x36
> [...]
>
>>     ftcrhb:-Misc-Fixed-normal-normal-normal-*-20-*-*-*-c-100-iso10646-1 (#x36)
>
> So Emacs 29 is choosing a "ko" variant for the font?  I guess that's a
> Russian font?  It sounds like a variation on the other font selection
> problems we've been seeing on the trunk, which we're still debugging, I
> think.

I am not sure which font emacs 29 is using.  With the above "ko"
variant, xfontsel gives me "no names match".





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#53550: 29.0.50; bitmap fonts
  2022-01-26 15:33       ` Roland Winkler
@ 2022-01-26 16:12         ` Andreas Schwab
  2022-01-26 16:59           ` Roland Winkler
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Schwab @ 2022-01-26 16:12 UTC (permalink / raw)
  To: Roland Winkler; +Cc: Lars Ingebrigtsen, 53550

On Jan 26 2022, Roland Winkler wrote:

> I am not sure which font emacs 29 is using.  With the above "ko"
> variant, xfontsel gives me "no names match".

Try replacing the first -normal- by -r-.

$ xlsfonts -fn -misc-fixed-medium-r-normal-ko-18-*-*-*-c-180-iso10646-1
-misc-fixed-medium-r-normal-ko-18-120-100-100-c-180-iso10646-1

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#53550: 29.0.50; bitmap fonts
  2022-01-26 15:23     ` Lars Ingebrigtsen
  2022-01-26 15:33       ` Roland Winkler
@ 2022-01-26 16:56       ` Eli Zaretskii
  2022-01-26 19:53         ` Roland Winkler
  1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2022-01-26 16:56 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: winkler, 53550

> Resent-From: Lars Ingebrigtsen <larsi@gnus.org>
> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
> Resent-CC: bug-gnu-emacs@gnu.org
> Resent-Sender: help-debbugs@gnu.org
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Wed, 26 Jan 2022 16:23:40 +0100
> Cc: 53550@debbugs.gnu.org
> 
> "Roland Winkler" <winkler@gnu.org> writes:
> 
> >     ftcrhb:-Misc-Fixed-medium-normal-normal-ko-18-*-*-*-c-180-iso10646-1 (#x36
> [...]
> 
> >     ftcrhb:-Misc-Fixed-normal-normal-normal-*-20-*-*-*-c-100-iso10646-1 (#x36)
> 
> So Emacs 29 is choosing a "ko" variant for the font?  I guess that's a
> Russian font?  It sounds like a variation on the other font selection
> problems we've been seeing on the trunk, which we're still debugging, I
> think.

Perhaps some side effect of changing the default font from medium to
regular weight?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#53550: 29.0.50; bitmap fonts
  2022-01-26 16:12         ` Andreas Schwab
@ 2022-01-26 16:59           ` Roland Winkler
  0 siblings, 0 replies; 9+ messages in thread
From: Roland Winkler @ 2022-01-26 16:59 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Lars Ingebrigtsen, 53550

On Wed, Jan 26 2022, Andreas Schwab wrote:
> Try replacing the first -normal- by -r-.
>
> $ xlsfonts -fn -misc-fixed-medium-r-normal-ko-18-*-*-*-c-180-iso10646-1
> -misc-fixed-medium-r-normal-ko-18-120-100-100-c-180-iso10646-1

Yes, that seems to be the font that emacs is using.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#53550: 29.0.50; bitmap fonts
  2022-01-26 16:56       ` Eli Zaretskii
@ 2022-01-26 19:53         ` Roland Winkler
  0 siblings, 0 replies; 9+ messages in thread
From: Roland Winkler @ 2022-01-26 19:53 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Lars Ingebrigtsen, winkler, 53550

On Wed, Jan 26 2022, Eli Zaretskii wrote:
>> From: Lars Ingebrigtsen <larsi@gnus.org>
>> So Emacs 29 is choosing a "ko" variant for the font?  I guess that's a
>> Russian font?  It sounds like a variation on the other font selection
>> problems we've been seeing on the trunk, which we're still debugging, I
>> think.
>
> Perhaps some side effect of changing the default font from medium to
> regular weight?

All this is not my area of expertise.  For the longest time I have used

  -misc-fixed-medium-r-normal-*-20-*-*-75-*-*-*-*

and it gave me the font I wanted not only with emacs, but also with a
good number of other applications.  (I cannot go back anymore to the old
system that motivated me to pick this.)  Now using debian 10, I have
changed this to

  -misc-fixed-*-*-*-*-20-*-*-*-*-*-*-*

and it seems to work not only with older versions of emacs and other
applications (I need to check this more carefully!), but also Emacs 29
is then picking the font I want.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-01-26 19:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 14:36 bug#53550: 29.0.50; bitmap fonts Roland Winkler
2022-01-26 14:39 ` Lars Ingebrigtsen
2022-01-26 15:10   ` Roland Winkler
2022-01-26 15:23     ` Lars Ingebrigtsen
2022-01-26 15:33       ` Roland Winkler
2022-01-26 16:12         ` Andreas Schwab
2022-01-26 16:59           ` Roland Winkler
2022-01-26 16:56       ` Eli Zaretskii
2022-01-26 19:53         ` Roland Winkler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).