home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13054 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  4.3 KB

  1. Path: sparky!uunet!ulowell!news.bbn.com!olivea!sgigate!odin!news
  2. From: ib@ivan.esd.sgi.com (Ivan Bach)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: xwsh can't find the right fonts
  5. Message-ID: <1992Aug30.164612.15109@odin.corp.sgi.com>
  6. Date: 30 Aug 92 16:46:12 GMT
  7. Sender: news@odin.corp.sgi.com (Net News)
  8. Followup-To: <32262@adm.brl.mil>
  9. Organization: Silicon Graphics, Inc., Mountain View, CA
  10. Lines: 83
  11. Nntp-Posting-Host: ivan.esd.sgi.com
  12.  
  13. In <32262@adm.brl.mil>, John Fwu (john@erin.jsc.nasa.gov) writes:
  14. > In our case, the "xwsh" window can't found the right fonts.  It end up using
  15. > a font with diff size.  Users found this by aware the window size changed
  16. > after we upgraded to IRIX 4.0.5.
  17. > Hope SGI aware this is a problem, not a user mistake.
  18.  
  19. Yes, we are aware of this problem.  Here is what happened.  Many people
  20. complained that they could not find a fixed-width font that would be easy to
  21. read on the screen of a video monitor, and would not cause eye strain.  Rob
  22. Myers from SGI designed Screen and Screen Bold fonts that were easier to
  23. read than, for example, corresponding Courier fonts.
  24.  
  25. The default font for xwsh is Screen15, because that is what is specified in
  26. the file:
  27.  
  28.     /usr/lib/X11/app-defaults/XWsh
  29.  
  30. If you look at the file fonts.alias in the directory:
  31.  
  32.     /usr/lib/X11/fonts/misc/fonts.alias
  33.  
  34. on a 4.0.1 system, you will see that all Screen and Screen Bold fonts use
  35. the ASCII character set.
  36.  
  37. As part of the internationalization of SGI software products, we decided that
  38. all default text fonts should be extended to the full ISO 8859-1 character
  39. set.  We need additional characters to support the keyboards for foreign
  40. countries.  We asked Rob Myers to extend his Screen and Screen Bold fonts to
  41. the ISO 8859-1 character set.  That required a lot of time and effort.  Rob
  42. had enough time to extend only some of his fonts for 4.0.5.  If you look at
  43. the file misc/fonts.alias in IRIX 4.0.5, you will see that some of his Screen
  44. fonts were extended to ISO 8859-1.
  45.  
  46. We could have specified a wild card (*) for the character encoding in all 
  47. alias specifications for the Screen fonts, but that would have given us a 
  48. font with the ASCII or ISO 8859-1 character set, depending on the resolution
  49. of a video monitor.  Therefore, we intentionally specified the character 
  50. encoding in the font name aliases for Screen fonts.  Since only some of the 
  51. Screen fonts were extended, that effectively reduced the number of default 
  52. bitmap fonts for xwsh windows.  As soon as we extend all Screen and Screen 
  53. Bold fonts to ISO 8859-1, this problem will go away.
  54.  
  55. I would like to emphasize that we have not removed any of the Screen or 
  56. Screen Bold fonts which were shipped in 4.0.1.  There are several ways to
  57. give you the font that was used for xwsh and winterm (winterm is just a
  58. script that calls xwsh) windows in 4.0.1:
  59.  
  60.     1. You can select a font for an xwsh or winterm window by using the
  61.        "Font..." option on the XWsh pop-up menu that appears when you put
  62.        a cursor in that window, and press the right mouse button.  Notice
  63.        that the xwsh font browser distinguishes between the extended and
  64.        non-extended Screen fonts.  You can select whichever font you like,
  65.        and apply it to that window.  This change will affect only that
  66.        window.
  67.  
  68.     2. If you want to make a permanent font change for xwsh and winterm
  69.        windows, you should note the 14-part font name displayed in the
  70.        "Font Name" field in the xwsh font browser window, and use it to
  71.        replace Screen15 in the file:
  72.  
  73.            /usr/lib/X11/app-defaults/XWsh
  74.  
  75.        You have to login as root to make this change.
  76.  
  77.     3. If you need just ASCII characters, you can login as root, go to the 
  78.        directory /usr/lib/X11/fonts/misc, save the current version of the 
  79.        file fonts.alias in some other directory, and then edit the alias 
  80.        specifications for Screen fonts.  You should replace the character 
  81.        string '-ascii' with '*-*', and the character string 'iso8859-1' 
  82.        with '*-*' in the lines for screen7 through screen18.  All those
  83.        lines should end with 'm-*-*-*'.
  84.  
  85.        Then enter the command:
  86.  
  87.            xset fp rehash
  88.  
  89.        on a UNIX prompt.  This tells the X Window System that a change was
  90.        made to font files, and that it should refresh its list of available
  91.        fonts.
  92.  
  93. Sorry for the inconvenience.  We will fix this problem as soon as we can.
  94.  
  95. Ivan Bach, ib@sgi.com
  96.