home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 21048 < prev    next >
Encoding:
Text File  |  1993-01-12  |  2.3 KB  |  69 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!hpscit.sc.hp.com!cupnews0.cup.hp.com!hppad.waterloo.hp.com!mistry
  3. From: mistry@waterloo.hp.com (Mohan Mistry)
  4. Subject: IBM RS/6000 /usr/lib/X11/fonts/fonts.dir
  5. Sender: news@waterloo.hp.com (NetNews)
  6. Message-ID: <C0qxJ5.2LA@waterloo.hp.com>
  7. Date: Tue, 12 Jan 1993 14:57:04 GMT
  8. Organization: HP Panacom Div Waterloo ON Canada
  9. X-Newsreader: TIN [version 1.1.4 PL6]
  10. Lines: 57
  11.  
  12. We have a RS/6000 Runnung AIX 2.3. The fonts under /usr/lib/X11/fonts which 
  13. has IBM specific fonts have incorrect specifications. 
  14.  
  15. sample of fonts.dir file:
  16.  
  17. Bld17.snf.Z               -ibm--bold-r-block--23-16-100-100-c-110-ibm-850
  18. Bld17.iso1.snf.Z          -ibm--bold-r-block--23-16-100-100-c-110-iso8859-1
  19. Bld17.iso2.snf.Z          -ibm--bold-r-block--23-16-100-100-c-110-iso8859-2
  20. Bld17.iso3.snf.Z          -ibm--bold-r-block--23-16-100-100-c-110-iso8859-3
  21. Bld17.iso4.snf.Z          -ibm--bold-r-block--23-16-100-100-c-110-iso8859-4
  22. Bld17.iso5.snf.Z          -ibm--bold-r-block--23-16-100-100-c-110-iso8859-5
  23. Bld17.iso7.snf.Z          -ibm--bold-r-block--23-16-100-100-c-110-iso8859-7
  24. Bld17.iso9.snf.Z          -ibm--bold-r-block--23-16-100-100-c-110-iso8859-9
  25.                            ^  ^
  26.                            |  |
  27.                   pixels-------+  +-------- Points
  28.  
  29. The points field does not really match the fonts in associated snf file.
  30. Usually this field is in the order x10. The font properties are not correctly 
  31. set. 
  32.  
  33. Either the utility which generated the SNF OR these fonts were not originally 
  34. BDF.
  35.  
  36. This really screws up bitmap font scalars (X11R5)  which looks at points field 
  37. to scale up/down. 
  38.  
  39. Question:  Is this fixed in their latest release ? Could someone verify this 
  40.        on their systems ... please. 
  41.  
  42. ------------ aixterm use of fonts---------------------------------------
  43.  
  44. aixterm does a xlistfonts() using the following pattern:
  45.  
  46.  "-*-*-medium-r-*-*-20-*-*-*-c-*-IBM-850"
  47.  
  48.  
  49.  This is not a good practice since one should match by point not by pixel!
  50.  
  51.  See  O'Reilly's Xlib programming Manual Vol 1 3rd Edition 
  52.     Section A.1.2 pages 558-559 
  53.  
  54.  
  55. Symptom: The bitmap Font scalar will create a huge font .
  56.  
  57. -------------------------------------------------------------------------
  58.  
  59. Hopefully someone from AIX team can be informed about this.
  60. Already posted in comp.unix.aix.
  61.  
  62.  
  63. mohan
  64. mistry@waterloo.hp.com
  65.  
  66.  
  67.  
  68.  
  69.