Results 25 comments of Martin Wernstål

I think I am getting closer to finding the issue with why the blending works with light-on-dark but not the reverse; the rendered glyph alpha-channel needs to be converted from...

Technically the blending of the font is gamma is correct in the PR with just the use of the added sRGB lookup-table for colors, premultiplied alpha blending with those colors...

> I havent had time to read the code yet, but this reminds me that there is also rendering of emoji to consider. So you would need to precompute gamma...

After not being happy with the result of the contrast function above I have iterated a bit more on this issue. So I took screenshots of both white-on-black and black-on-white...

@dashed What kind of need? The reason I have not yet implemented `choice` is that it I am unsure if it should accept a list of function poiinters or a...

@dashed To properly make it it would require some additional methods on the internal trait for the bounded combinators. But there is an easy way by implementing a sink implementing...

Notes: - Removing `Copy` requirement requires either a `Clone` or `peek` to return a reference. The latter prevents us from using `&str` as an input since the character iterator provides...

More: - Lifetimes are an issue too here, since borrowing a token prevents the following parsers from parsing the input until the reference has been dropped. Eg. if `Token` isn't...

I had a quick look at this today and it seems like PHP 7 made vast changes to the object system. It will take some time to actually go through...

That looks pretty good, when I have the time I will see if I can include something like that in Chomp proper. Would be useful to have a higher-order function...