|
From: | Thomas Dickey |
Subject: | Re: [Lynx-dev] Problem with selected link display in 2.8.6dev11/12 under OS X 10.4.1 |
Date: | Fri, 3 Jun 2005 17:17:36 -0400 (EDT) |
On Fri, 3 Jun 2005 address@hidden wrote:
Ulike the previously reported message, dev12 did compile for me under OS X, but when I use lynx the selected link is offset by a few characters.
yes - I have seen this with some older versions of ncurses, and in a few special cases with current ncurses.
For example, when I visit apple's page, one link line looks like: JusJust one of Mac OS X Tiger's 200+ innovative new features that will change the way you use your Mac. In stores now. with the link beginning on the second Jus. Somehow, the link is offset a character or 2 or 3 from where it started. No idea why this is happening since lynx works otherwise. I also recompiled dev11 under 10.4.1 and the same thing happens (it didn't under Panther), but a recompile of the last release (2.8.5rel.1) under 10.4.1 does not have the problem. Any ideas are very welcome.
The problem is that since 2.8.5, I've been rewriting the support for UTF-8 (there is not a one-one correspondence between string length and column position). That rewriting involves replacing some constants with calculations, for instance (and in replacing, I sometimes find errors, sometimes add errors of my own).
-- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |