home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!ALW.NIH.GOV!Bob_Dew
- From: Bob_Dew@ALW.NIH.GOV
- Newsgroups: comp.soft-sys.andrew
- Subject: Re: Is there any reason *not* to install OW fonts in "X11fonts"?
- Message-ID: <MePP=0K0ts4jA3Ls41@alw.nih.gov>
- Date: 22 Jul 92 19:10:56 GMT
- References: <IePLzcW00Vs=0=YeJY@andrew.cmu.edu>
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 52
-
- > There are a couple reasons not to put different types of fonts in one dir...
-
- > 1. If both formats require a fonts.dir, which one do you use? Will it
- > be compatible with the other?
-
- They don't, though--by design. OW uses a different name for fonts.alias
- and fonts.dir (Families.list & Synonyms.list), so as not to confuse the
- two font types. I believe this was done intentionally so that the two
- formats could not be confused.
-
- 2. Some mkfontdir implementations get confused by extraneous files.
-
- Don't know about this, except that we've never encountered a problem
- building OW and MIT fonts in the same directory. If mkfontdir can't
- distinguish font extinsions, its buggy.
-
- > 3. Sometimes different formats have the same extensions. (For example
- > as near as I can tell MIT R5 pcf fonts work with DEC R4 servers, but not
- > vice-versa. Both use a .pcf extension)
-
-
- This is an odd-ball case, though. Certainly you'd want to keep
- incompatible versions of the same font in different places. But a
- general-purpose Andrew preferences setting wouldn't help here, in any
- event. I think this kind of situation should be viewed as a
- site-specific X-server version-skew problem, rather than an Andrew
- implementation issue.
-
- The pertinent question, I think, is whether the user should be made
- responsible for determining what type of X server is running, or whether
- such low-level details should be handled by the application. I don't
- think one can reasonably expect users to edit a preferences file
- whenever they switch window managers, and I know you can't expect casual
- users to have the savvy to tend to such problems intuitively.
-
- From the implementor's viewpoint, its easy to make an application find
- the appropriate fonts: either you define multiple font paths, or you
- include all fonts in a common area.
-
- The current problem with Andrew, regarding font selection, is that it
- recognizes only a single font path pointing to a single font type--this
- causes obvious problems for user environments which use a mix of window
- managers, but which share a common Andrew DEST area.
-
- A better Andrew would be one in which xim.c handles multiple font paths,
- or one where OW and MIT fonts are intermixed. The latter is easier to
- carry out, and I believe quite acceptable as an X-server design
- implementation.
-
- -Bob
-
-
-