[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 20:21:06 +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 Sun, 16 Jan 2005 21:31:47 -0800, Steven Tamm <address@hidden> said:
> With reflection it should be a frame property; that'll make the use
> of CGTextMetrics practical.
We need different XFontStruct (MacFontStruct) structures for the fonts
that have different metrics. And the correspondence between a font
name and an XFontStruct structure is currently not frame-dependent
(although it is display-dependent on X11).
I don't know whether users want to use different kinds of rendering
engines per frame.
> It seems odd to specify a regexp that includes font, including font
> size, and then also specify a minimum font size. Perhaps relying on
> the system preferences (or on Silk) would be enough?
My intention was to enable users to use information in XLFD such as
family or registry for specifying the limit of anti-aliasing. It was
also an analogy from the variable face-font-rescale-alist.
But anyway, it turned out that my plan had a defect. I thought about
calling SetAntiAliasedTextEnabled within every text drawing call. But
it did not always work when Quartz 2D rendering was enabled: it worked
with "Monaco", but not with "Lucida sans typewriter".
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
- Re: Patch for Mac OS X Text Drawing, Kim F. Storm, 2005/01/24
- Re: Patch for Mac OS X Text Drawing, YAMAMOTO Mitsuharu, 2005/01/24