all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adrian Robert <arobert@cogsci.ucsd.edu>
Subject: Re: macos.texi updated
Date: 25 Sep 2005 10:20:31 -0400	[thread overview]
Message-ID: <m14q89tej4.fsf@mouse.local> (raw)
In-Reply-To: 87r7bhw2o8.fsf-monnier+emacs@gnu.org


> > 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

> Regarding this, I think it would be good for people working on
> Emacs.app, w32, and Xft to get together and try to figure out what to
> do with the font-naming problem.  It seems like the current use of
> XLFD may benefit from an overhaul to adjust to the currently popular
> font technologies.

Even in X11, while XLFD is needed at the lowest level to interact with
the windowing system, is it really necessary to expose the user to it?
In the old days when emacs-X11 was first developed, X11 users were used
to specifying fonts in ...-*-*-*-*-... fashion.  Nowadays, most apps
shield them from this.  Thus, maybe it's reasonable to develop a new
emacs font specification style that's simpler, and use this even in the
face code until the lowest level where interaction w/the window system
takes place?

In most applications, users specify a font this way:

string:	family
float:	point size
bool:   bold
bool:   italic

One question is how to deal with systems that allow more user control.
For example, on OS X, some fonts have "semi-bold", "light", "condensed",
and other versions.  On X11, you can specify the DPI screen resolution
the font is optimized for, and font pixel size instead of point size.
The former situation could be handled using a fontspec like this:

("family-name" point-size (list-of-attributes))

Standard emacs faces would use just "bold" and "italic" as attributes,
but users could use others specific to their systems, which the window
system code would recognize.  Unrecognized attributes are ignored or
warned about.

This approach might also handle X11 things like DPI resolution.  For
example, one attribute might be "75-dpi".

Finally, a mechanism for ensuring some font family names are
cross-platform would be needed.  One approach here would be the
time-honored "map standard postscript names to system-specific ones":
each system would have a list of its equivalent families for "courier",
"times", and so on.  Another approach would be the web method of using
generic names like 'sans', 'serif', and 'fixed' in all emacs standard
faces.

  reply	other threads:[~2005-09-25 14:20 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
2005-09-22 10:20   ` YAMAMOTO Mitsuharu
2005-09-22 15:22   ` Stefan Monnier
2005-09-25 14:20     ` Adrian Robert [this message]
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=m14q89tej4.fsf@mouse.local \
    --to=arobert@cogsci.ucsd.edu \
    /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.