home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!ORION.FAC.CS.CMU.EDU!phdye
- From: phdye+@cs.cmu.edu (Philip Dye)
- Newsgroups: comp.graphics,brown.graphics
- Subject: Re: Is there a way to get Greek fonts into ``idraw''?
- Message-ID: <phdye.714211922@ORION.FAC.CS.CMU.EDU>
- Date: 19 Aug 92 08:12:02 GMT
- Article-I.D.: ORION.phdye.714211922
- References: <1992Aug18.215732.26337@cs.brown.edu>
- Sender: news@cs.cmu.edu (Usenet News System)
- Organization: School of Computer Science, Carnegie Mellon
- Lines: 48
- Nntp-Posting-Host: orion.fac.cs.cmu.edu
-
- aba@lems22lems.brown.edu (Alan B. Arehart) writes:
-
- >Does anyone know how Greek characters can be brought into idraw?
- >I am trying to draw figures for a paper and am frustrated by
- >the lack of support for using Greek letters in the figures in
- >the program idraw.
- > -Alan Arehart
- > aba@lems.brown.edu
-
- Idraw (like all x applications) uses the 'X Logical Font Description' for
- specification of screen fonts. Using this specification one includes enough
- information for the X server to locate a font. To get a list of the
- available fonts from a given server use the 'xlsfont' command. So to
- determine a specification for the Adobe Symbol one might use the following:
-
- % xlsfonts | grep -i symbol
-
- -adobe-symbol-medium-r-normal--10-100-75-75-p-61-adobe-fontspecific
- -adobe-symbol-medium-r-normal--11-80-100-100-p-61-adobe-fontspecific
- -adobe-symbol-medium-r-normal--12-120-75-75-p-74-adobe-fontspecific
- -adobe-symbol-medium-r-normal--14-100-100-100-p-85-adobe-fontspecific
- -adobe-symbol-medium-r-normal--14-140-75-75-p-85-adobe-fontspecific
- -adobe-symbol-medium-r-normal--17-120-100-100-p-95-adobe-fontspecific
- -adobe-symbol-medium-r-normal--18-180-75-75-p-107-adobe-fontspecific
- -adobe-symbol-medium-r-normal--20-140-100-100-p-107-adobe-fontspecific
- -adobe-symbol-medium-r-normal--24-240-75-75-p-142-adobe-fontspecific
- -adobe-symbol-medium-r-normal--25-180-100-100-p-142-adobe-fontspecific
- -adobe-symbol-medium-r-normal--34-240-100-100-p-191-adobe-fontspecific
- -adobe-symbol-medium-r-normal--8-80-75-75-p-51-adobe-fontspecific
-
- Each of the above specifies a specific X11 screen font. As much of the
- information is common, a simpler specification will still result in precise
- match. For example, '*-symbol-medium-*-240-*' uniquely identifies a font.
- If the given pattern does not uniquely identify a font, the first available
- font, as listed by the xlsfonts program, is used.
-
- In addition, idraw requires that one specify a postscript font and point
- size to associate with the screen font.
-
- Adding the following to your X11 defaults (or resources) will enable for
- symbol font items in idraw.
-
- idraw*font12: *-symbol-medium-r-*-100-* Symbol 10
- idraw*font13: *-symbol-medium-r-*-120-* Symbol 12
- idraw*font14: *-symbol-medium-r-*-140-* Symbol 14
- idraw*font15: *-symbol-medium-r-*-240-* Symbol 24
-
- Philip
-