unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: Miles Bader <miles@gnu.org>, Emacs-Devel Devel <emacs-devel@gnu.org>
Subject: Re: Antialiased text on X11
Date: Tue, 29 Mar 2005 21:28:30 +0200	[thread overview]
Message-ID: <4249AC5E.3030709@swipnet.se> (raw)
In-Reply-To: <xfepsxizpuw.fsf@dubya.devel.cmedltd.com>

Geoffrey J. Teale wrote:

>Hi,
>
>I've just checked out and built this branch a couple of times (once
>with Gtk once with LUCID).  In both cases I noticed that there were a
>lot of artifacts being left around, in fact it seams that buffers and
>mini-buffer are only being redrawn when I resize the emacs window.  If
>I don't resize the window everything quickly becomes unreadable.
>
>I assume this is just a result of the current, early state of
>development, but just in case I'm the only one experiencing this
>problem I though I'd mention it
>  
>

I don't see that (but other minor redrawing errors).  I suspect your 
version of fontconfig and/or Xrender is different from mine.  I'll test 
this further on older X versions when Emacs has been released.  You can 
try to modify xterm.c here:

#ifdef HAVE_XFT
      if (! (s->for_overlaps_p
             || (s->background_filled_p && s->hl != DRAW_CURSOR)))
        XftDrawRect (s->face->xft_draw,
                     s->hl == DRAW_CURSOR ? &s->face->xft_fg : 
&s->face->xft_bg,
                     s->x,
                     s->y,
                     s->width + s->right_overhang,
                     s->height);

Remove the if-statement so the XftDrawRect is always done.  That should 
improve things, but also slow drawing down somewhat.

Thanks for pointing this out,

    Jan D.

  parent reply	other threads:[~2005-03-29 19:28 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-10 21:45 Antialiased text on X11 James Cloos
2005-03-10 22:25 ` Stefan Monnier
2005-03-10 23:15   ` Han Boetes
2005-03-11  4:58     ` Jan D.
2005-03-18 21:21     ` Ali Ijaz Sheikh
2005-03-18 22:39       ` Drew Adams
2005-03-19 22:45         ` The WHY of Xft [was: Re: Antialiased text on X11] James Cloos
2005-03-19 23:47           ` Miles Bader
2005-03-20 16:49             ` The WHY of Xft James Cloos
2005-03-20 22:30               ` Miles Bader
2005-03-21 14:24                 ` David Hansen
2005-03-21 16:12                 ` James Cloos
2005-03-21  0:32               ` Kenichi Handa
2005-03-19  0:59       ` Antialiased text on X11 Miles Bader
2005-03-19  6:27         ` Jan D.
2005-03-19  7:39           ` Miles Bader
2005-03-19 16:31           ` Stefan Monnier
2005-03-19 16:53             ` Han Boetes
2005-03-20 11:51               ` Jan D.
2005-03-19 21:41             ` Miles Bader
2005-03-20 13:15             ` Jan D.
2005-03-20 22:51             ` Jan D.
2005-03-22 23:44               ` Miles Bader
2005-03-23  2:30                 ` Miles Bader
2005-03-23 17:50                 ` Jan D.
2005-03-25 21:40                   ` Miles Bader
2005-03-26  8:13                     ` Jan D.
2005-03-29 10:52                       ` Geoffrey J. Teale
2005-03-29 11:28                         ` Miles Bader
2005-03-29 12:24                           ` Geoffrey J. Teale
2005-03-29 18:24                           ` Henrik Enberg
2005-03-29 22:50                             ` Miles Bader
2005-03-31  2:42                               ` James Cloos
2005-03-31  4:22                                 ` Miles Bader
2005-03-29 19:28                         ` Jan D. [this message]
2005-04-01  8:15                           ` Miles Bader
2005-04-01 16:09                             ` Jan D.
2005-03-22 12:45           ` Oliver Scholz
2005-03-22 14:21             ` Stefan
2005-03-22 14:29               ` Oliver Scholz
2005-03-22 15:17                 ` David Kastrup
2005-03-10 23:19   ` James Cloos
2005-03-11  9:20     ` Geoffrey J. Teale
2005-03-11 15:13       ` Jan D.

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=4249AC5E.3030709@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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).