[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for Mac OS X Text Drawing
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Patch for Mac OS X Text Drawing |
Date: |
Mon, 17 Jan 2005 12:18:18 +0900 |
User-agent: |
Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Sat, 15 Jan 2005 16:39:19 -0800, Steven Tamm <address@hidden> said:
> I've checked in a change that allows for anti-aliasing, but makes it
> optional (personally I only use it for large fonts). I added the
> variable: mac-allow-anti-aliasing
I'd prefer specifying kQDUseCGTextMetrics as in
http://lists.gnu.org/archive/html/emacs-devel/2003-08/msg00139.html
http://lists.gnu.org/archive/html/bug-gnu-emacs/2004-07/msg00095.html
(Emulations of the srcCopy text transfer mode in them are no longer
needed because a recent change obviated the use of this mode.)
because that makes bold faces have the same width as their normal
ones. But that requires additional modifications because the metrics
are no longer compatible between two kinds of rendering engines:
QuickDraw and Quartz 2D. One way to do such modification would be
devising XLFD foundry names as "-apple quartz2d-..." or "-apple
cg-..." (or whatever).
Maybe we need to determine the followings:
* What do we choose?
- Kind of rendering engines?
- Use of anti-aliasing?
- Or both?
* How do we choose?
- By compilation option?
- By XLFD?
- By specifying the maximum font size by a lisp variable?
- ...
And its customization should not be too complicated.
I'd suggest two candidates:
1. Choose the kind of rendering engines by XLFD.
I already have a prototype for this strategy.
2. Fix the kind of rendering engines at a compilation time (Quartz
2D by default for >= 10.2), and control only the use of
anti-aliasing by a lisp variable. The variable is a list of
pairs of a regexp and a font size. And it overrides the system
provided setting of the maximum font size that uses
non-anti-aliased fonts for those that match the regexp.
I've been thinking about the former, but now I'm inclined to push the
latter.
YAMAMOTO Mitsuharu
address@hidden
- Patch for Mac OS X Text Drawing, Arthur G.P. Schuster, 2005/01/14
- Re: Patch for Mac OS X Text Drawing, Steven Tamm, 2005/01/15
- Re: Patch for Mac OS X Text Drawing, Piet van Oostrum, 2005/01/18
- Re: Patch for Mac OS X Text Drawing, YAMAMOTO Mitsuharu, 2005/01/19
- Re: Patch for Mac OS X Text Drawing, YAMAMOTO Mitsuharu, 2005/01/21
- Re: Patch for Mac OS X Text Drawing, Richard Stallman, 2005/01/21
- Re: Patch for Mac OS X Text Drawing, YAMAMOTO Mitsuharu, 2005/01/21
- Re: Patch for Mac OS X Text Drawing, Kenichi Handa, 2005/01/22
- Re: Patch for Mac OS X Text Drawing, YAMAMOTO Mitsuharu, 2005/01/22
- Message not available
- Re: Patch for Mac OS X Text Drawing, YAMAMOTO Mitsuharu, 2005/01/24