unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: Ali Ijaz Sheikh <ali@binish.com>, emacs-devel@gnu.org
Subject: Re: Antialiased text on X11
Date: Sat, 19 Mar 2005 07:27:38 +0100	[thread overview]
Message-ID: <cc42926ee4e09c17fb4a5ed5caf2a37f@swipnet.se> (raw)
In-Reply-To: <fc339e4a05031816594e6bff8f@mail.gmail.com>

> [The question of whether to support just xft or try to go for an
> entire new rendering layer like Cairo is interesting -- my impression
> is that porting to a new rendering layer is actually fairly
> straight-forward; it might be the easier task than figuring out the
> convoluted Emacs font-selection machinery (required in either case I
> guess -- but it means that "xft only" might not be any easier
> really)!]

I have started on Xft support, but it is really something for the 
release after the next, so I don't spend much time on it yet.  I can 
confirm your reasoning, the Emacs font-selection machinery is indeed 
the most tricky part, I have not done that fully, so I can't change 
font yet.  But part of the problem is that the Xft font selection is 
entirely new compared to the old X font selection.

The rendering was not that difficult, it was more finding the right 
font metrics that required some thought.  Finally, the rendering (i.e. 
the actual drawing of text) is trivial in comparison.  To use Cairo 
would not have helped a bit, rather the opposite.  I'd would requre we 
dump most of the redisplay engine and let Cairo take care of it for 
Cairo to give any extra value.

I am doing an Xft solution, I did not find the talked about Xft branch, 
so I started from scratch.  The main reason for doing this is that I 
wanted to use the GTK file selection dialog, but since that dialog 
displays all fonts, including antialiased, Emacs can currently not use 
it.

	Jan D.

  reply	other threads:[~2005-03-19  6:27 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. [this message]
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.
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=cc42926ee4e09c17fb4a5ed5caf2a37f@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=ali@binish.com \
    --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).