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

  1. Xref: sparky comp.lang.tcl:1188 comp.unix.aix:8786 comp.windows.x:15211
  2. Path: sparky!uunet!stanford.edu!agate!sprite.Berkeley.EDU!ouster
  3. From: ouster@sprite.Berkeley.EDU (John Ousterhout)
  4. Newsgroups: comp.lang.tcl,comp.unix.aix,comp.windows.x
  5. Subject: Re: Font problem in tk2.2 ?
  6. Date: 13 Aug 1992 20:15:38 GMT
  7. Organization: U.C. Berkeley Sprite Project
  8. Lines: 23
  9. Distribution: world
  10. Message-ID: <16eftaINN6el@agate.berkeley.edu>
  11. References: <1992Aug11.200305.15968@rchland.ibm.com> <1992Aug13.103511.25813@axion.bt.co.uk>
  12. NNTP-Posting-Host: tyranny.berkeley.edu
  13. Keywords: tk2.2 font AIX RS/6000 X
  14.  
  15. In article <1992Aug13.103511.25813@axion.bt.co.uk>, nwinton@axion.bt.co.uk (Neil Winton) writes:
  16. |> 
  17. |> I've got this problem on AIX3.2/AIXwindows/tk2.2 as well [the right sides
  18. |> characters not being displayed].  I did post a report to
  19. |> this group some time ago, but didn't see any response (although I may have
  20. |> missed it).
  21. |> 
  22. |> It's a strange problem in that only some Tk widgets suffer from it --
  23. |> for example the menubuttons do, but the menus pulled down from them
  24. |> don't, even if using exactly the same font!  Running Tk to a remote (non-AIX)
  25. |> display does not exhibit the problem so I start to suspect the server ...
  26. |> but on the other hand nothing other than Tk has ever produced this
  27. |> behaviour (tk2.1 did exactly the same). 
  28.  
  29. I checked the Tk code, and the difference between menu buttons and the menus
  30. themselves is that the buttons draw to off-screen pixmaps and the menus draw
  31. directly on the screen.  As I mentioned in my earlier reply (which must have
  32. crossed in the mail with the above message) the problem seems to be with
  33. the IBM server code that draws to off-screen pixmaps:  only the leftmost
  34. 8 bit-columns of each character appear if they're drawn to a pixmap rather
  35. than the screen.  Most applications probably don't double-buffer their
  36. redisplays so they don't show up the problem.  Also, the problem only happens
  37. with some fonts (e.g. Helvetica and Courier, but Times is OK).
  38.