unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: (re)display problems after font backend merge
Date: Fri, 16 May 2008 12:22:56 +0200	[thread overview]
Message-ID: <87fxsiczun.fsf@escher.local.home> (raw)
In-Reply-To: E1JwoGU-0003CK-QW@etlken.m17n.org

On Fri, 16 May 2008 09:57:42 +0900 Kenichi Handa <handa@m17n.org> wrote:

> In article <87fxsjmmo2.fsf@escher.local.home>, Stephen Berman <Stephen.Berman@gmx.net> writes:
>
>> Since Kenichi Handa's font backend merge yesterday I see different, and
>> at least partly buggy, display and redisplay effects.  This shows up
>> clearly in some of my customizations, in particular of the mode line and
>> the Gnus Summary buffer.  The following screen shots show the
>> differences; the top image is post-merge, the bottom pre-merge:
>
>> [2 Post-merge display <image/png (base64)>]
>
>> [3 Pre-merge display <image/png (base64)>]
>
>> [4  <text/plain (7bit)>]
>
>> Here is a description of the differences I see:
>
>> - In the post-merge image, the underlining I use in the mode line is
>> broken, as is the underlining of the current article in the Gnus Summary
>> buffer, and the latter underlining touches the bottom of the characters
>> in the post-merge image, while there is a (IMO more pleasing) space in
>> the pre-merge display.
>
> Please show me how you customize Gnus, 

(setq gnus-summary-line-format "%U%R%z%((%4L) %-20,20f \x2502 %*%B%s%)\n"
      gnus-sum-thread-tree-root "\x25b6 "
      gnus-sum-thread-tree-false-root "\x25b7 "
      gnus-sum-thread-tree-vertical "\x2502 "
      gnus-sum-thread-tree-leaf-with-other "\x251c\x2500\x25b8 ..."
      gnus-sum-thread-tree-single-leaf "\x2570\x2500\x25b8 ...")

>                                        and exactly which
> font is used in the Gnus summary buffer by C-u C-x =.

For ascii:

-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso8859-1

For the non-ascii characters:

-gnu-unifont-medium-r-normal--16-160-75-75-p-80-iso10646-1

This is post-merge, in the pre-merge buffer, the corresponding line of
the character description for both ascii and non-ascii characters is
this:

dejavu sans mono:pixelsize=12:foundry=unknown:weight=medium:slant=r:width=normal

>> - The fringe arrow in the Summary buffer is redisplayed in the mode
>> line.
>
> This is very strange.  The font-backend merge should not
> touch fringe displaying.

I cannot reproduce this; maybe it was a random redisplay glitch, which I
just happened to catch in the screen shot.  (In contrast, the broken
underlining persists.)

>> - The character size in the mode line is larger in the post-merge image
>> than in the pre-merge image (in both it is font family Helvetica).
>
>> - The appearance of the non-ascii characters I use for threading and
>> separation in the Summary buffer differs; in particular, the separator
>> forms a broken vertical line in the post-merge buffer, while it is a
>> continuous vertical line in the pre-merge buffer (except for the line
>> containing the Indic characters, which is also misaligned in both
>> images).
>
> Please do C-u C-x = on that vertical line to see which font
> is used in both version.

post-merge:

        character: │ (9474, #o22402, #x2502)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x2502
           syntax: _ 	which means: symbol
         category: c:Chinese h:Korean j:Japanese
      buffer code: #xE2 #x94 #x82
        file code: #xE2 #x94 #x82 (encoded by coding system utf-8-unix)
          display: by this font (glyph code)
     -gnu-unifont-medium-r-normal--16-160-75-75-p-80-iso10646-1 (#x2502)

pre-merge:

        character: │ (9474, #o22402, #x2502)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x2502
           syntax: _ 	which means: symbol
         category: c:Chinese h:Korean j:Japanese
      buffer code: #xE2 #x94 #x82
        file code: #xE2 #x94 #x82 (encoded by coding system utf-8-unix)
          display: by this font (glyph code)
     dejavu sans mono:pixelsize=12:foundry=unknown:weight=medium:slant=r:width=normal (#x858)


Steve Berman





  reply	other threads:[~2008-05-16 10:22 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-15 18:45 (re)display problems after font backend merge Stephen Berman
2008-05-16  0:57 ` Kenichi Handa
2008-05-16 10:22   ` Stephen Berman [this message]
2008-05-17  3:19     ` David De La Harpe Golden
2008-05-17 12:30       ` Stephen Berman
2008-05-17 14:02         ` David De La Harpe Golden
2008-05-17 18:37           ` Stephen Berman
2008-05-18  3:30             ` David De La Harpe Golden
2008-05-18 18:19               ` Stephen Berman
2008-05-22 20:36                 ` Stephen Berman
2008-05-23  4:16                   ` David De La Harpe Golden
2008-05-23 12:28                     ` Stephen Berman
2008-05-23 16:10                       ` David De La Harpe Golden
2008-05-23 17:03                         ` Stephen Berman
2008-05-23 17:37                           ` David De La Harpe Golden
2008-05-23 19:42                             ` James Cloos
2008-05-23 20:41                             ` Stephen Berman
2008-05-23 21:57                               ` David De La Harpe Golden
2008-05-24  1:16                                 ` James Cloos
2008-05-24 23:01                                 ` Stephen Berman
2008-05-27 13:17                   ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fxsiczun.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).