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