all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bad looking font after update
@ 2020-08-14 11:57 Peter Münster
  2020-08-14 13:18 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Münster @ 2020-08-14 11:57 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

After updating from 26.3 to 27.1 the fonts are looking pixelated and
unpleasant. How could I get back nice looking fonts please?
Example screenshots are here: http://pmrb.free.fr/tmp/emacs/

TIA for any help,
-- 
           Peter




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

* Re: bad looking font after update
  2020-08-14 11:57 bad looking font after update Peter Münster
@ 2020-08-14 13:18 ` Eli Zaretskii
  2020-08-14 13:58   ` Peter Münster
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2020-08-14 13:18 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Peter Münster <pm@a16n.net>
> Date: Fri, 14 Aug 2020 13:57:02 +0200
> 
> After updating from 26.3 to 27.1 the fonts are looking pixelated and
> unpleasant. How could I get back nice looking fonts please?
> Example screenshots are here: http://pmrb.free.fr/tmp/emacs/

Please show the value of system-configuration-features in both builds.



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

* Re: bad looking font after update
  2020-08-14 13:18 ` Eli Zaretskii
@ 2020-08-14 13:58   ` Peter Münster
  2020-08-14 14:17     ` Eli Zaretskii
  2020-08-14 14:23     ` Robert Pluim
  0 siblings, 2 replies; 10+ messages in thread
From: Peter Münster @ 2020-08-14 13:58 UTC (permalink / raw)
  To: help-gnu-emacs

On Fri, Aug 14 2020, Eli Zaretskii wrote:

> Please show the value of system-configuration-features in both builds.

26.3:
"XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD"

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

-- 
           Peter




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

* Re: bad looking font after update
  2020-08-14 13:58   ` Peter Münster
@ 2020-08-14 14:17     ` Eli Zaretskii
  2020-08-16 12:29       ` Peter Münster
  2020-08-14 14:23     ` Robert Pluim
  1 sibling, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2020-08-14 14:17 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Peter Münster <pm@a16n.net>
> Date: Fri, 14 Aug 2020 15:58:22 +0200
> 
> On Fri, Aug 14 2020, Eli Zaretskii wrote:
> 
> > Please show the value of system-configuration-features in both builds.
> 
> 26.3:
> "XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY
> ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
> TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
> LIBSYSTEMD"
> 
> 27.1:
> "XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY
> INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
> ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
> LIBSYSTEMD JSON PDUMPER LCMS2 GMP"

Could be because you are now using Cairo?  Maybe you need to set up
fonts for Cairo?



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

* Re: bad looking font after update
  2020-08-14 13:58   ` Peter Münster
  2020-08-14 14:17     ` Eli Zaretskii
@ 2020-08-14 14:23     ` Robert Pluim
  2020-08-16 12:28       ` Peter Münster
  1 sibling, 1 reply; 10+ messages in thread
From: Robert Pluim @ 2020-08-14 14:23 UTC (permalink / raw)
  To: Peter Münster; +Cc: help-gnu-emacs

>>>>> On Fri, 14 Aug 2020 15:58:22 +0200, Peter Münster <pm@a16n.net> said:

    Peter> On Fri, Aug 14 2020, Eli Zaretskii wrote:
    >> Please show the value of system-configuration-features in both builds.

    Peter> 26.3:
    Peter> "XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY
    Peter> ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
    Peter> TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
    Peter> LIBSYSTEMD"

    Peter> 27.1:
    Peter> "XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY
    Peter> INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
    Peter> ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
    Peter> LIBSYSTEMD JSON PDUMPER LCMS2 GMP"

Since you've built 27.1 --with-cairo, I guess youʼre picking up
different fonts (or your previous fonts were bitmapped ones, which
Cairo no longer supports, or youʼre now using the X font backend for
some reason).

'C-u C-x =' output from both builds would help confirm that.

Do you have any 'font-backend' settings in your .emacs, or .Xdefaults?

Robert



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

* Re: bad looking font after update
  2020-08-14 14:23     ` Robert Pluim
@ 2020-08-16 12:28       ` Peter Münster
  2020-08-17 13:58         ` Robert Pluim
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Münster @ 2020-08-16 12:28 UTC (permalink / raw)
  To: help-gnu-emacs

On Fri, Aug 14 2020, Robert Pluim wrote:

> I guess youʼre picking up different fonts

Yes, it seems so (whole output is in http://pmrb.free.fr/tmp/emacs/):

26.3:
xft:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-21-*-*-*-m-0-iso10646-1 (#x0D)

27.1.:
x:-misc-dejavu sans mono-medium-r-normal--21-152-100-100-m-130-iso8859-1 (#x2A)


> Do you have any 'font-backend' settings in your .emacs, or .Xdefaults?

Yes:
(set-face-attribute 'default nil :family "DejaVu Sans Mono" :height 160)

-- 
           Peter




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

* Re: bad looking font after update
  2020-08-14 14:17     ` Eli Zaretskii
@ 2020-08-16 12:29       ` Peter Münster
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Münster @ 2020-08-16 12:29 UTC (permalink / raw)
  To: help-gnu-emacs

On Fri, Aug 14 2020, Eli Zaretskii wrote:

> Could be because you are now using Cairo?  Maybe you need to set up
> fonts for Cairo?

Unfortunately I don't know...

-- 
           Peter




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

* Re: bad looking font after update
  2020-08-16 12:28       ` Peter Münster
@ 2020-08-17 13:58         ` Robert Pluim
  2020-08-17 15:13           ` Peter Münster
  0 siblings, 1 reply; 10+ messages in thread
From: Robert Pluim @ 2020-08-17 13:58 UTC (permalink / raw)
  To: Peter Münster; +Cc: help-gnu-emacs

>>>>> On Sun, 16 Aug 2020 14:28:47 +0200, Peter Münster <pm@a16n.net> said:

    Peter> On Fri, Aug 14 2020, Robert Pluim wrote:
    >> I guess youʼre picking up different fonts

    Peter> Yes, it seems so (whole output is in http://pmrb.free.fr/tmp/emacs/):

    Peter> 26.3:
    Peter> xft:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-21-*-*-*-m-0-iso10646-1 (#x0D)

    Peter> 27.1.:
    Peter> x:-misc-dejavu sans mono-medium-r-normal--21-152-100-100-m-130-iso8859-1 (#x2A)

Right, youʼre selecting the 'x' font backend, rather than the 'ftcr'
or 'ftcrhb' backend (which both use cairo), so youʼre not seeing nice
modern smoothed fonts.

    >> Do you have any 'font-backend' settings in your .emacs, or .Xdefaults?

    Peter> Yes:
    Peter> (set-face-attribute 'default nil :family "DejaVu Sans Mono" :height 160)

Thatʼs not a font-backend setting :-)

Iʼm talking about something setting the font-backend frame parameter,
either in .emacs, or .Xdefaults or perhaps your .emacs.desktop file.

Does it behave the same if you do:

emacs -Q

Robert



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

* Re: bad looking font after update
  2020-08-17 13:58         ` Robert Pluim
@ 2020-08-17 15:13           ` Peter Münster
  2020-08-17 15:58             ` Robert Pluim
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Münster @ 2020-08-17 15:13 UTC (permalink / raw)
  To: help-gnu-emacs

On Mon, Aug 17 2020, Robert Pluim wrote:

>     Peter> (set-face-attribute 'default nil :family "DejaVu Sans Mono" :height 160)
>
> Thatʼs not a font-backend setting :-)

Indeed. Sorry...


> Iʼm talking about something setting the font-backend frame parameter,
> either in .emacs, or .Xdefaults or perhaps your .emacs.desktop file.

The "set-face-attribute" is the only font related thing in my setups...


> emacs -Q

Thanks for this hint! I've found the reason for the problem.
In the file /usr/share/X11/app-defaults/Emacs there is this line:
"Emacs.FontBackend:      xft,x"

After removing the whole file, it works well (ftcrhb is used).

It seems, that this file has been added by the package maintainer, so I
will contact him (openSUSE).

Kind regards,
-- 
           Peter




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

* Re: bad looking font after update
  2020-08-17 15:13           ` Peter Münster
@ 2020-08-17 15:58             ` Robert Pluim
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Pluim @ 2020-08-17 15:58 UTC (permalink / raw)
  To: Peter Münster; +Cc: help-gnu-emacs

>>>>> On Mon, 17 Aug 2020 17:13:56 +0200, Peter Münster <pm@a16n.net> said:
    >> emacs -Q

    Peter> Thanks for this hint! I've found the reason for the problem.
    Peter> In the file /usr/share/X11/app-defaults/Emacs there is this line:
    Peter> "Emacs.FontBackend:      xft,x"

<sigh> That value is the default anyway for emacs-26, so thereʼs no
need to set it, especially for the system packaged version of emacs
which has complete control over what features to enable.

    Peter> After removing the whole file, it works well (ftcrhb is used).

    Peter> It seems, that this file has been added by the package maintainer, so I
    Peter> will contact him (openSUSE).

Thanks, glad you got it working.

Robert



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

end of thread, other threads:[~2020-08-17 15:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-14 11:57 bad looking font after update Peter Münster
2020-08-14 13:18 ` Eli Zaretskii
2020-08-14 13:58   ` Peter Münster
2020-08-14 14:17     ` Eli Zaretskii
2020-08-16 12:29       ` Peter Münster
2020-08-14 14:23     ` Robert Pluim
2020-08-16 12:28       ` Peter Münster
2020-08-17 13:58         ` Robert Pluim
2020-08-17 15:13           ` Peter Münster
2020-08-17 15:58             ` Robert Pluim

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.