home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / tcl / 1182 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  3.0 KB

  1. Xref: sparky comp.lang.tcl:1182 comp.unix.aix:8766 comp.windows.x:15184
  2. Path: sparky!uunet!mcsun!uknet!axion!nwinton
  3. From: nwinton@axion.bt.co.uk (Neil Winton)
  4. Newsgroups: comp.lang.tcl,comp.unix.aix,comp.windows.x
  5. Subject: Re: Font problem in tk2.2 ?
  6. Keywords: tk2.2 font AIX RS/6000 X
  7. Message-ID: <1992Aug13.103511.25813@axion.bt.co.uk>
  8. Date: 13 Aug 92 10:35:11 GMT
  9. References: <1992Aug11.200305.15968@rchland.ibm.com>
  10. Sender: news@axion.bt.co.uk
  11. Organization: BT Laboratories
  12. Lines: 47
  13.  
  14. (I'm cross-posting to comp.unix.aix and comp.windows.x in case any of the experts
  15. there can shed any light on this)
  16.  
  17. In article <1992Aug11.200305.15968@rchland.ibm.com>, shmdgljd@rchland.vnet.ibm.com (Jay Schmidgall) writes:
  18. |> I've noticed a font problem w/tk2.2 on a 6000 running AIX 3.2/x11r4.
  19. |> Seems that the trailing portions of various letters are being truncated.
  20. |> In particular, when I select Text:Display styles in the widget demo, the
  21. |> word `large' has the rightmost edges of the `a', `g' and `e' truncated.
  22. |> It almost looks like it is trying to fit the characters in the same amount
  23. |> of space as the smaller font.  Unfortunately, this happens in other places
  24. |> where the font size is all the same, such as Text:Command bindings; the
  25. |> first sentence has various `m' and `s' characters truncated; again this
  26. |> could be because those characters are bold.
  27. |> 
  28. |> Anyways, is this likely just a problem with my server, and has anyone else
  29. |> seen this?
  30.  
  31. I've got this problem on AIX3.2/AIXwindows/tk2.2 as well.  I did post a report to
  32. this group some time agao, but didn't see any response (although I may have
  33. missed it).
  34.  
  35. It's a strange problem in that only some Tk widgets suffer from it -- for example
  36. the menubuttons do, but the menus pulled down from them don't, even if using
  37. exactly the same font!  Running Tk to a remote (non-AIX) display does not exhibit
  38. the problem so I start to suspect the server ... but on the other hand nothing
  39. other than Tk has ever produced this behaviour (tk2.1 did exactly the same). 
  40. I've tried various things, including fiddling with graphics context values, but
  41. the weird thing is that the calls to XDrawString that succeed and those that foul
  42. up look identical ...
  43.  
  44. Oh, there is one more thing, not really related to this problem, but just to be
  45. nit-picking.  It would be nice if the font names coded into Tk and the various
  46. library files instead of being `*-times-*' or `*-helevetica-*' were specified as
  47. `*-adobe-times-*' and `*-adobe-helvetica-*' and so on.  IBM deliver various
  48. others (linotype-helvetica, urw-courier etc.) and these get picked up in
  49. preference.
  50.  
  51. I really would like to use Tk on the RS/6000, it's a great package (thanks,
  52. John!) but this font problem is really annoying ...
  53.  
  54.     Neil
  55.  
  56. *   Neil Winton            306, SSFT, BT Labs, Martlesham Heath    *
  57. *   nwinton@axion.bt.co.uk    IPSWICH IP5, 7RE   (Tel +44 473 646079) *
  58. *   The works of the Lord are great, sought out of all them that have   *
  59. *   pleasure therein.                    Psalm 111 v 2   *
  60. *       (Found at the entrance to the Cavendish Labs, Cambridge.)       *
  61.