Path: utzoo!attcan!uunet!ginosko!ctrsol!cica!iuvax!rutgers!mit-eddie!bloom-beacon!TUB.BITNET!net From: net@TUB.BITNET (Oliver Laumann) Newsgroups: comp.windows.x Subject: Re: Problem with non-ascii letters in XTextWidth. Message-ID: <8907251002.AA19702@tub.UUCP> Date: 25 Jul 89 10:02:42 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 10 > When trying to use characters with ASCII codes greater than 127, > XTextWidth returns zero. The function GetCS() in lib/X/XTextExt.c is broken. I have already reported this some months ago. You can easily write your own text width function by adding the widths found in the XCharStructs of the font you are using. -- Oliver Laumann net@TUB.BITNET net@tub.UUCP