all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31131: 26.1; menu-set-font not setting font properly and artefacts on bold face
@ 2018-04-11 21:41 Benjamin Andresen
  2018-04-12 11:23 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Benjamin Andresen @ 2018-04-11 21:41 UTC (permalink / raw)
  To: 31131

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

Starting from 'emacs -Q':

Inside *scratch* buffer:

  M-x load-theme RET tango-dark RET (More visible on dark 
  backgrounds.)
  M-x describe-face RET font-lock-comment-face RET

I use the custom interface to set `weight` to `bold` and [Apply] 
for this session.

  M-x menu-set-font RET

I select "Noto Mono Regular" (although it occurs with other fonts 
too)
at for example value 20. The font size does not change much.

Now I navigate to the first line, hovering on the "T" of "This 
buffer is
for ..."

Hold down C-f while most characters change their color after they 
are
left behind. I've recorded a video of this here:
https://streamable.com/0fald

Please note that this is the minimal reproducible scenario. I have 
this
issue on my main config in lots of places where bold fonts are 
used even
if the cursor isn't on them. This is the most reliable way to 
trigger
this behavior.

The issue also occurs with `cursor-type' set to 'bar'

In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.22.28)
 of 2018-04-10 built on localhost
Windowing system distributor 'The X.Org Foundation', version 
11.0.11906000
Recent messages:
Resetting customization items...done
Creating customization setup...done
Quit
Buffer-Face mode enabled
funcall-interactively: End of buffer [3 times]
Making completion list...
Quit [4 times]
Making completion list...
Quit [3 times]
ESC M-x is undefined

Configured using:
 'configure
 --prefix=/nix/store/0csw4dps56l5ribm71llr4jxcqly2z07-emacs-26.1-rc1
 --with-modules --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-Ofast
 -momit-leaf-frame-pointer''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS 
GTK3 X11
MODULES THREADS LCMS2

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  buffer-face-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
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv dired dired-loaddefs format-spec 
rfc822 mml
mml-sec password-cache epa derived epg epg-config gnus-util rmail
rmail-loaddefs 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 cus-edit cus-start 
cus-load
wid-edit help-fns radix-tree help-mode easymenu cl-loaddefs cl-lib 
crm
thingatpt tango-dark-theme elec-pair time-date mule-util 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 menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame 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 minibuffer 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 dbusbind inotify lcms2 dynamic-setting 
system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 121153 14922)
 (symbols 48 22144 1)
 (miscs 40 268 603)
 (strings 32 32878 1222)
 (string-bytes 1 876080)
 (vectors 16 15921)
 (vector-slots 8 509080 19012)
 (floats 8 64 106)
 (intervals 56 485 2)
 (buffers 992 15))

-- 
Best regards,
Benny
                                0x9EC76EA52B8F32A1
6315 887D 6E46 6967 7AC0  3E76 9EC7 6EA5 2B8F 32A1

[-- Attachment #2.1: Type: text/html, Size: 5231 bytes --]

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

* bug#31131: 26.1; menu-set-font not setting font properly and artefacts on bold face
  2018-04-11 21:41 bug#31131: 26.1; menu-set-font not setting font properly and artefacts on bold face Benjamin Andresen
@ 2018-04-12 11:23 ` Eli Zaretskii
  2018-04-12 18:45   ` Benjamin Andresen
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2018-04-12 11:23 UTC (permalink / raw)
  To: Benjamin Andresen; +Cc: 31131

> From: Benjamin Andresen <benny@in-ulm.de>
> Date: Wed, 11 Apr 2018 23:41:03 +0200
> 
> Starting from 'emacs -Q':
> 
> Inside *scratch* buffer:
> 
>   M-x load-theme RET tango-dark RET (More visible on dark 
>   backgrounds.)
>   M-x describe-face RET font-lock-comment-face RET
> 
> I use the custom interface to set `weight` to `bold` and [Apply] 
> for this session.
> 
>   M-x menu-set-font RET
> 
> I select "Noto Mono Regular" (although it occurs with other fonts 
> too)
> at for example value 20. The font size does not change much.
> 
> Now I navigate to the first line, hovering on the "T" of "This 
> buffer is
> for ..."
> 
> Hold down C-f while most characters change their color after they 
> are
> left behind. I've recorded a video of this here:
> https://streamable.com/0fald

I cannot reproduce anything like that.  I don't have Noto Mono
Regular, but I tried many fonts and they all behave correctly.

> Configured features:
> XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
> LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS 
> GTK3 X11
> MODULES THREADS LCMS2

This seems to indicate your Emacs is built without libotf.  Is that on
purpose?  Can you try building with it?





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

* bug#31131: 26.1; menu-set-font not setting font properly and artefacts on bold face
  2018-04-12 11:23 ` Eli Zaretskii
@ 2018-04-12 18:45   ` Benjamin Andresen
  2018-04-12 18:58     ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Benjamin Andresen @ 2018-04-12 18:45 UTC (permalink / raw)
  To: 31131

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


Eli Zaretskii <eliz@gnu.org> writes:

>> Configured features:
>> XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS 
>> NOTIFY
>> LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS 
>> GTK3 X11
>> MODULES THREADS LCMS2
>
> This seems to indicate your Emacs is built without libotf.  Is 
> that on
> purpose?  Can you try building with it?

It was not on purpose. I build emacs with libotf now and it's 
showing up in the configured features.
Unfortunately I still have the same behavior as before.

[-- Attachment #2.1: Type: text/html, Size: 670 bytes --]

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

* bug#31131: 26.1; menu-set-font not setting font properly and artefacts on bold face
  2018-04-12 18:45   ` Benjamin Andresen
@ 2018-04-12 18:58     ` Eli Zaretskii
  2018-04-12 20:00       ` Benjamin Andresen
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2018-04-12 18:58 UTC (permalink / raw)
  To: Benjamin Andresen; +Cc: 31131

> From: Benjamin Andresen <benny@in-ulm.de>
> Date: Thu, 12 Apr 2018 20:45:31 +0200
> 
> > This seems to indicate your Emacs is built without libotf.  Is 
> > that on purpose?  Can you try building with it?
> 
> It was not on purpose. I build emacs with libotf now and it's 
> showing up in the configured features.
> Unfortunately I still have the same behavior as before.

Then please send snapshots of the problematic display, maybe it will
give a clue.  Because I couldn't see the video you posted.





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

* bug#31131: 26.1; menu-set-font not setting font properly and artefacts on bold face
  2018-04-12 18:58     ` Eli Zaretskii
@ 2018-04-12 20:00       ` Benjamin Andresen
  2018-04-13 13:57         ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Benjamin Andresen @ 2018-04-12 20:00 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 31131

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


Eli Zaretskii <eliz@gnu.org> writes:
> Then please send snapshots of the problematic display, maybe it 
> will
> give a clue.  Because I couldn't see the video you posted.

I've uploaded an imgur.com album with 1 frame per second.
https://imgur.com/a/03JUB
(Not sure if attachments work on debbugs.)

Thanks!

-- 
Best Regards,
Benny
                                0x9EC76EA52B8F32A1
6315 887D 6E46 6967 7AC0  3E76 9EC7 6EA5 2B8F 32A1

[-- Attachment #2.1: Type: text/html, Size: 598 bytes --]

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

* bug#31131: 26.1; menu-set-font not setting font properly and artefacts on bold face
  2018-04-12 20:00       ` Benjamin Andresen
@ 2018-04-13 13:57         ` Eli Zaretskii
  2018-04-13 18:04           ` Benjamin Andresen
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2018-04-13 13:57 UTC (permalink / raw)
  To: Benjamin Andresen; +Cc: 31131

> From: Benjamin Andresen <benny@in-ulm.de>
> Cc: 31131@debbugs.gnu.org
> Date: Thu, 12 Apr 2018 22:00:23 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> > Then please send snapshots of the problematic display, maybe it 
> > will
> > give a clue.  Because I couldn't see the video you posted.
> 
> I've uploaded an imgur.com album with 1 frame per second.
> https://imgur.com/a/03JUB

You mean, the slightly yellowish color of some of the text where the
cursor was moved?  I'm quite sure this is something local to your
system, like some problem with your video driver.  If the driver
software has some "acceleration" or "advanced" features, try turning
them off.

> (Not sure if attachments work on debbugs.)

They certainly do, and doing so is the preferred way of showing
images, because this way the images get filed by the bug tracker and
will be available regardless of what imgur does with their cleanup
policies.

Thanks.





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

* bug#31131: 26.1; menu-set-font not setting font properly and artefacts on bold face
  2018-04-13 13:57         ` Eli Zaretskii
@ 2018-04-13 18:04           ` Benjamin Andresen
  2018-04-13 19:01             ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Benjamin Andresen @ 2018-04-13 18:04 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 31131

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


Eli Zaretskii <eliz@gnu.org> writes:

> You mean, the slightly yellowish color of some of the text where 
> the
> cursor was moved?  I'm quite sure this is something local to 
> your
> system, like some problem with your video driver.  If the driver
> software has some "acceleration" or "advanced" features, try 
> turning
> them off.

Thank you. That was it.

Because the font selection in Emacs behaved strange and didn't 
apply my the font
size (which I guess is still a bug?) I thought it may be Emacs 
related as it was
the only application I saw this kind of error in.

For future reference by others:
I switched from the Xorg video "intel" driver to the built-in 
"modesetting"
driver.

>> (Not sure if attachments work on debbugs.)
>
> They certainly do, and doing so is the preferred way of showing
> images, because this way the images get filed by the bug tracker 
> and
> will be available regardless of what imgur does with their 
> cleanup
> policies.

For reference I will include two screenshots in case it may be 
useful for someone else down the road.

Thanks again!


[-- Attachment #2: file1.png --]
[-- Type: image/png, Size: 36366 bytes --]

[-- Attachment #3: file5.png --]
[-- Type: image/png, Size: 38895 bytes --]

[-- Attachment #4: file9.png --]
[-- Type: image/png, Size: 40401 bytes --]

[-- Attachment #5.1: Type: text/html, Size: 1674 bytes --]

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

* bug#31131: 26.1; menu-set-font not setting font properly and artefacts on bold face
  2018-04-13 18:04           ` Benjamin Andresen
@ 2018-04-13 19:01             ` Eli Zaretskii
  0 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2018-04-13 19:01 UTC (permalink / raw)
  To: Benjamin Andresen; +Cc: 31131-done

> From: Benjamin Andresen <benny@in-ulm.de>
> Cc: 31131@debbugs.gnu.org
> Date: Fri, 13 Apr 2018 20:04:11 +0200
> 
> > You mean, the slightly yellowish color of some of the text where 
> > the
> > cursor was moved?  I'm quite sure this is something local to 
> > your
> > system, like some problem with your video driver.  If the driver
> > software has some "acceleration" or "advanced" features, try 
> > turning
> > them off.
> 
> Thank you. That was it.

Thanks, I will therefore close this bug.

> Because the font selection in Emacs behaved strange and didn't apply
> my the font size (which I guess is still a bug?)

It could be a bug, please file a separate report with the details, and
let's take it from there.

> For reference I will include two screenshots in case it may be 
> useful for someone else down the road.

Thanks.





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

end of thread, other threads:[~2018-04-13 19:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-11 21:41 bug#31131: 26.1; menu-set-font not setting font properly and artefacts on bold face Benjamin Andresen
2018-04-12 11:23 ` Eli Zaretskii
2018-04-12 18:45   ` Benjamin Andresen
2018-04-12 18:58     ` Eli Zaretskii
2018-04-12 20:00       ` Benjamin Andresen
2018-04-13 13:57         ` Eli Zaretskii
2018-04-13 18:04           ` Benjamin Andresen
2018-04-13 19:01             ` Eli Zaretskii

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.