all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steven Tamm <steventamm@mac.com>
Cc: emacs-devel@gnu.org
Subject: Re: macos.texi updated
Date: Wed, 21 Sep 2005 23:12:43 -0700	[thread overview]
Message-ID: <8C0A68AE-EF12-4D6C-9879-D0FF3B04DE1B@mac.com> (raw)
In-Reply-To: <wlaci6sueq.wl%mituharu@math.s.chiba-u.ac.jp>

To correctly use ATSUI, the way that fonts are cached and handled  
would have to change.  The cost of creating an ATSUStyle structure is  
ridiculously high and a new caching system would have to be added to  
maintain performance.  Furthermore, the calculations of line height  
and character width are more difficult to perform because of  
fractional character widths and the rounding errors was leaving  
artifacts all over the screen.  I was also trying to maintain  
backwards compatibility of old XLFDs, which I'm starting to think was  
unwise.  I've made two attempts at implementing an ATSUI based  
drawing engine, and I couldn't get it to work right.  It would  
probably be easier to graft on the parts of the Aqua (sic) port into  
the font/calculation/drawing portions than to convert from QDText to  
ATSU.  Unless someone has the time or the inclination to implement  
ATSU and pretty much rewrite the font calculation portions of macterm.

-Steven

On Sep 21, 2005, at 1:21 AM, YAMAMOTO Mitsuharu wrote:

> I've updated man/macos.texi.  According to admin/FOR-RELEASE, it is
> subject to proofreading by at least two persons before release.
> Because this is my first time to edit Texinfo files, there may be some
> "texi"cal and grammatical errors.  Corrections of such errors are
> also appreciated.
>
> BTW, there seems to be (sometimes loud) complaints about the use of
> QuickDraw Text and XLFD for Carbon Emacs here and there.  So let me
> say something about their backgrounds.
>
> First, when I started the implementation of Central European and
> Cyrillic display support by QuickDraw Text, I already knew that Steven
> Tamm was working on ATSUI support and he was planning to add it to the
> emacs-unicode-2 branch (actually I suggested that).  As I expected,
> the implementation by QuickDraw Text was completed much earlier than
> ATSUI support (that's natural because most of the parts could be
> reused), and more importantly, displayable characters were increased
> without losing stability.  If it had not been implemented, Carbon
> Emacs could not display characters other than Mac Roman and CJK ones
> still now without installing additional fonts.
>
> Second, I think the evacuation from XLFD for Carbon Emacs is a bad
> idea at least for Emacs 22 for the following reason.  In the Emacs 20
> era, the face support code was window-system dependent: there were
> xfaces.c and w32faces.c, and "Emacs on Aqua" also has nsfaces.m.  The
> evacuation from XLFD for non-X11 ports might be meaningful for this
> version.  However, the situation has changed in Emacs 21.  The face
> support code has been much enhanced (35KB -> 209KB) and become
> window-system independent: we only have xfaces.c and the Carbon port
> as well as the W32 port is using it.  Since XLFD is used throughout
> xfaces.c, introducing another representation for fonts in the Carbon
> port not only increases reimplementation work, but also has danger of
> losing some functionality that is already implemented in other
> systems.  Of course, maintenance of code would also become more
> difficult.  So the use of XLFD is not a detour for Carbon Emacs.
>
>                      YAMAMOTO Mitsuharu
>                 mituharu@math.s.chiba-u.ac.jp
>
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel
>

  reply	other threads:[~2005-09-22  6:12 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-21  8:21 macos.texi updated YAMAMOTO Mitsuharu
2005-09-22  6:12 ` Steven Tamm [this message]
2005-09-22 10:20   ` YAMAMOTO Mitsuharu
2005-09-22 15:22   ` Stefan Monnier
2005-09-25 14:20     ` Adrian Robert
2005-09-28  8:30       ` YAMAMOTO Mitsuharu
2005-10-07 14:53         ` Adrian Robert
2005-10-09 18:16           ` Richard M. Stallman
2005-10-10 19:53             ` Adrian Robert
2005-10-11 14:44               ` Richard M. Stallman
2005-10-11 17:22                 ` David Reitter
2005-10-12 16:24                   ` Richard M. Stallman
2005-10-18 18:29                 ` Adrian Robert
2005-10-20  4:55                   ` Richard M. Stallman
2005-10-24 12:24                     ` Adrian Robert
2005-10-25 15:59                       ` Richard M. Stallman
2005-10-11  1:31           ` Stefan Monnier
2005-10-11  8:01           ` YAMAMOTO Mitsuharu
2005-10-11 17:10             ` Adrian Robert
2005-09-22 20:42 ` Jesper Harder
2005-09-23  4:46   ` YAMAMOTO Mitsuharu
2005-09-23  7:00     ` Cheng Gao
2005-09-25 19:45     ` Jesper Harder
2005-09-23 18:12 ` Richard M. Stallman

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

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

  git send-email \
    --in-reply-to=8C0A68AE-EF12-4D6C-9879-D0FF3B04DE1B@mac.com \
    --to=steventamm@mac.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 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.