Re: Amiga nsfont_split

2014-06-01 Thread Chris Young
On Sun, 18 May 2014 23:07:26 +0100, Michael Drake wrote: > Well anyway, the first and last state of the log you provided were > identical. Splitting 132 chars ("No it's not. It's licensed nationally > for the transmitters specified in the licence. It's the same multiplex > all over the country."

Re: Amiga nsfont_split

2014-05-30 Thread Chris Young
On 19 May 2014 18:39:27 +0100, Chris Young wrote: > On 19 May 2014 18:35:41 +0100, Chris Young wrote: > > > I've scoured through and can't see anything. > > Although... I think I may have fixed it. Just filtered out control > chars from the kerning, even though there shouldn't have been any > p

Re: Amiga nsfont_split

2014-05-19 Thread Chris Young
On 19 May 2014 18:35:41 +0100, Chris Young wrote: > I've scoured through and can't see anything. Although... I think I may have fixed it. Just filtered out control chars from the kerning, even though there shouldn't have been any present. Chris

Re: Amiga nsfont_split

2014-05-19 Thread Chris Young
On Sun, 18 May 2014 23:07:26 +0100, Michael Drake wrote: tbh it's only really a problem because NetSurf doesn't redraw the two lines when it decides to reflow them, is there anything we can do about that? > So the Amiga nsfont_split is getting identical inputs but is b

Re: Amiga nsfont_split

2014-05-18 Thread Michael Drake
ex all over the country."), at 550px. The first time it split at 100 chars, and the second time at 110. So the Amiga nsfont_split is getting identical inputs but is behaving non-deterministically. I'd look for global variable usage or perhaps some sort of state in the glyph measuring lib

Re: Amiga nsfont_split

2014-05-18 Thread Chris Young
On 18 May 2014 21:04:08 BST, Michael Drake wrote: > > >On 18/05/14 20:52, Chris Young wrote: > >> I found some troublesome text, removed a full stop from the end of >the >> second line, and added a comma. > >> Relevant bit attached. > >Thanks. Certainly looks odd. > >It looks like there's a parag

Re: Amiga nsfont_split

2014-05-18 Thread Michael Drake
On 18/05/14 20:52, Chris Young wrote: > I found some troublesome text, removed a full stop from the end of the > second line, and added a comma. > Relevant bit attached. Thanks. Certainly looks odd. It looks like there's a paragraph, and then a blank line? Does it happen when there is no bl

Re: Amiga nsfont_split

2014-05-18 Thread Chris Young
On Sun, 18 May 2014 20:06:49 +0100, Michael Drake wrote: > On 18/05/14 18:44, Chris Young wrote: > > > Me deleting and typing at the end of the second line shouldn't make > > any difference to the pixel count of the first line, but somehow it > > does. > > It starts re-flowing text from the star

Re: Amiga nsfont_split

2014-05-18 Thread Michael Drake
On 18/05/14 18:44, Chris Young wrote: > Me deleting and typing at the end of the second line shouldn't make > any difference to the pixel count of the first line, but somehow it > does. It starts re-flowing text from the start of the line above the line you edit. (If you reduce the length of t

Re: Amiga nsfont_split

2014-05-18 Thread Chris Young
On Sun, 18 May 2014 17:03:25 +0100, Michael Drake wrote: > > > On 18/05/14 13:51, Chris Young wrote: > > On Fri, 16 May 2014 22:52:23 +0100, Michael Drake wrote: > > > >> there's a chance I've broken it further if ESetInfo can't handle char2 > >> being 0x. > > > > I've told it to skip kern

Re: Amiga nsfont_split

2014-05-18 Thread Michael Drake
On 18/05/14 13:51, Chris Young wrote: > On Fri, 16 May 2014 22:52:23 +0100, Michael Drake wrote: > >> there's a chance I've broken it further if ESetInfo can't handle char2 >> being 0x. > > I've told it to skip kerning against 0x, as that makes no sense > anyway. OK, but if kerning aga

Re: Amiga nsfont_split

2014-05-18 Thread Chris Young
On Fri, 16 May 2014 22:52:23 +0100, Michael Drake wrote: > there's a chance I've broken it further if ESetInfo can't handle char2 > being 0x. I've told it to skip kerning against 0x, as that makes no sense anyway. No idea if the original problem is fixed yet, but it certainly isn't any w

Re: Amiga nsfont_split

2014-05-16 Thread Chris Young
On 16 May 2014 22:52:23 BST, Michael Drake wrote: >Anyway, I think it's worth investigating the ami_font_width_glyph >function's behaviour with ' ' and '\0' for char2. Sounds plausible, I'll have a look at it when I get chance. >[1] I tried to register an account there a few hours ago, but perh

Amiga nsfont_split

2014-05-16 Thread Michael Drake
Hi Chris, In response [1] to http://www.amigans.net/modules/xforum/viewtopic.php?post_id=90725#forumpost90725 I had another look at it and couldn't see anything wrong with the nsfont_split function. I cleaned it up slightly in [2], which should not have changed the behaviour at all. I think it