home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.tcl:1182 comp.unix.aix:8766 comp.windows.x:15184
- Path: sparky!uunet!mcsun!uknet!axion!nwinton
- From: nwinton@axion.bt.co.uk (Neil Winton)
- Newsgroups: comp.lang.tcl,comp.unix.aix,comp.windows.x
- Subject: Re: Font problem in tk2.2 ?
- Keywords: tk2.2 font AIX RS/6000 X
- Message-ID: <1992Aug13.103511.25813@axion.bt.co.uk>
- Date: 13 Aug 92 10:35:11 GMT
- References: <1992Aug11.200305.15968@rchland.ibm.com>
- Sender: news@axion.bt.co.uk
- Organization: BT Laboratories
- Lines: 47
-
- (I'm cross-posting to comp.unix.aix and comp.windows.x in case any of the experts
- there can shed any light on this)
-
- In article <1992Aug11.200305.15968@rchland.ibm.com>, shmdgljd@rchland.vnet.ibm.com (Jay Schmidgall) writes:
- |> I've noticed a font problem w/tk2.2 on a 6000 running AIX 3.2/x11r4.
- |> Seems that the trailing portions of various letters are being truncated.
- |> In particular, when I select Text:Display styles in the widget demo, the
- |> word `large' has the rightmost edges of the `a', `g' and `e' truncated.
- |> It almost looks like it is trying to fit the characters in the same amount
- |> of space as the smaller font. Unfortunately, this happens in other places
- |> where the font size is all the same, such as Text:Command bindings; the
- |> first sentence has various `m' and `s' characters truncated; again this
- |> could be because those characters are bold.
- |>
- |> Anyways, is this likely just a problem with my server, and has anyone else
- |> seen this?
-
- I've got this problem on AIX3.2/AIXwindows/tk2.2 as well. I did post a report to
- this group some time agao, 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've tried various things, including fiddling with graphics context values, but
- the weird thing is that the calls to XDrawString that succeed and those that foul
- up look identical ...
-
- Oh, there is one more thing, not really related to this problem, but just to be
- nit-picking. It would be nice if the font names coded into Tk and the various
- library files instead of being `*-times-*' or `*-helevetica-*' were specified as
- `*-adobe-times-*' and `*-adobe-helvetica-*' and so on. IBM deliver various
- others (linotype-helvetica, urw-courier etc.) and these get picked up in
- preference.
-
- I really would like to use Tk on the RS/6000, it's a great package (thanks,
- John!) but this font problem is really annoying ...
-
- Neil
-
- * Neil Winton 306, SSFT, BT Labs, Martlesham Heath *
- * nwinton@axion.bt.co.uk IPSWICH IP5, 7RE (Tel +44 473 646079) *
- * The works of the Lord are great, sought out of all them that have *
- * pleasure therein. Psalm 111 v 2 *
- * (Found at the entrance to the Cavendish Labs, Cambridge.) *
-