Monday, 30 September 2013

Re: Treeview triangles

In article <53936ba29ftlsa@netsurf-browser.org>,
Michael Drake <tlsa@netsurf-browser.org> wrote:

> I'm not sure. It's trivial to make the core call a frontend-implemented
> nsfont_glyph_exists, or some such, but I'm not sure how easy it is to
> implement on all platforms. Also, I don't like increasing the amount of
> stuff a frontend needs to implement.

I don't like this idea because if front ends can detect non-existence of
glyphs, they could be doing some transliteration. In this case, replacing
the gylphs with "V" and ">".

I think a polygon plot is the best solution for now. We'll need to sort
out how we're going to do this stuff properly when it comes time to
implement HTML5 Canvas. One idea we've had is to use libnsfb to draw
canvas bitmaps, but anti-aliasing needs added to libnsfb.

--

Michael Drake (tlsa) http://www.netsurf-browser.org/

No comments:

Post a Comment