all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: "Arthur G.P. Schuster" <arthurschuster@eircom.net>, emacs-devel@gnu.org
Subject: Re: Patch for Mac OS X Text Drawing
Date: Mon, 17 Jan 2005 20:21:06 +0900	[thread overview]
Message-ID: <wl1xckl2sd.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <14A8EE9A-6849-11D9-9ECE-000D93B67DC4@mac.com>

>>>>> On Sun, 16 Jan 2005 21:31:47 -0800, Steven Tamm <steventamm@mac.com> 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
				mituharu@math.s.chiba-u.ac.jp

  reply	other threads:[~2005-01-17 11:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-14 20:39 Patch for Mac OS X Text Drawing Arthur G.P. Schuster
2005-01-16  0:39 ` Steven Tamm
2005-01-16  8:04   ` Arthur G.P. Schuster
2005-01-17  3:18   ` YAMAMOTO Mitsuharu
2005-01-17  5:31     ` Steven Tamm
2005-01-17 11:21       ` YAMAMOTO Mitsuharu [this message]
2005-01-18 15:40   ` Piet van Oostrum
2005-01-19 11:48     ` YAMAMOTO Mitsuharu
2005-01-21  7:57       ` YAMAMOTO Mitsuharu
2005-01-22  2:52         ` Richard Stallman
2005-01-22  3:47           ` YAMAMOTO Mitsuharu
2005-01-22  4:55             ` Kenichi Handa
2005-01-22  5:49               ` YAMAMOTO Mitsuharu
     [not found]         ` <200501210353.j0L3rbj16707@church.math.s.chiba-u.ac.jp>
2005-01-24  9:36           ` YAMAMOTO Mitsuharu
2005-01-24 10:08             ` Kim F. Storm
2005-01-24 11:15               ` YAMAMOTO Mitsuharu
2005-01-24 18:00                 ` Steven Tamm

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=wl1xckl2sd.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=arthurschuster@eircom.net \
    --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.