Re: Examining font properties under Windows
"Stephen J. Turnbull" <[email protected]>
| Newsgroups | gmane.emacs.xemacs.design |
|---|---|
| Organization | The XEmacs Project |
| Message-ID | <[email protected]> |
>>>>> "Hrvoje" == Hrvoje Niksic <[email protected]> writes: Hrvoje> Good points, all. I'd still feel safer if that kind of Hrvoje> work were done by someone who actually understood both the Hrvoje> 1993 incantations *and* the modern ones. Well, I'm gonna take a hack at it ... I don't know if I qualify on "understand", but Jamie ain't gonna do it :-) The jwz stuff, actually, I understand. What I don't get is the jv/bw set-font-to-bold-forcibly-or-ill-beat-yer-brains-out stuff. >> I think all we really have to do is to turn the "font" property >> of a face into a cache for user specs given as XLFD or MSFT >> font names, and separate out all the other properties. Hrvoje> FSF sets `font' automatically based on family, etc., so Hrvoje> the code that examines it keeps working. We could do the Hrvoje> same. Setting `font' directly to XLFD is obsolete, but it Hrvoje> can and should be respected. You mean to the extent that the XLFD can be parsed into a set of properties, right? Note that where we're going users (including Lisp programmers) will never see font instances except when debugging. I think that's the right direction. Hrvoje> for example by standardizing on `face-property' (like FSF Hrvoje> standardized on face-attribute) and declaring `face-*' and Hrvoje> `set-face-*' obsolete or semi-obsolete. Why not `face-attribute'? Do you really expect semantics to be sufficiently different? Hrvoje> Also note that FSF supports putting color and font Hrvoje> specifications directly in extents, e.g.: Actually, I like that API. If the face is temporary, I don't see why it needs to be explicit or have a name. I've toyed with the idea that there should be an "extent" specifier locale. I can't get it to actually work, unfortunately (you might have guessed), but it has interesting merits, too. -- Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.