Amiga nsfont_split

Chris Young chris.young at
Mon May 19 18:35:41 BST 2014

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 behaving
> non-deterministically.
> I'd look for global variable usage or perhaps some sort of state in the
> glyph measuring library code that you use that needs to be reset.

I've scoured through and can't see anything.  ami_open_outline_font()
(re)sets the parameters for that font, the only other places where
parameters are set are in the width and plotting code, where the two
glyphs are set, and they are always reset without fail before anything
is queried.


More information about the netsurf-dev mailing list