Re: Treeview triangles

2013-10-02 Thread Michael Drake
In article <53936320e9t...@netsurf-browser.org>, Michael Drake wrote: > In article <2013093010.gk26...@pepperfish.net>, >Rob Kendrick wrote: > > Alternatively, we implement a generic anti-aliased plotter for other > > front ends to use. > I thought of bitmap generation, and plot via

Re: Treeview triangles

2013-10-02 Thread Michael Drake
In article <53936cb300t...@netsurf-browser.org>, Michael Drake wrote: > I think a polygon plot is the best solution for now. Now done. -- Michael Drake (tlsa) http://www.netsurf-browser.org/

Re: Treeview triangles

2013-10-01 Thread Rob Kendrick
On Tue, Oct 01, 2013 at 11:45:07AM +0200, François Revol wrote: > Or SVG, but we don't always support it, right? Our SVG support is either via librsvg (essentially GTK environments only), or via libsvgtiny, and that just boils down to plotter calls again. B.

Re: Treeview triangles

2013-10-01 Thread François Revol
On 01/10/2013 10:22, Michael Drake wrote: > In article > , >Chris Young wrote: > >> I don't see why Canvas would need anything other than the usual >> plotters - it's only a dedicated area which is drawn into, isn't it? >> Effectively it's the same as an IFrame. > > It's more like a live bit

Re: Treeview triangles

2013-10-01 Thread Michael Drake
In article , Chris Young wrote: > I don't see why Canvas would need anything other than the usual > plotters - it's only a dedicated area which is drawn into, isn't it? > Effectively it's the same as an IFrame. It's more like a live bitmap. -- Michael Drake (tlsa) http://w

Re: Treeview triangles

2013-09-30 Thread Chris Young
On Mon, 30 Sep 2013 20:03:20 +0100, Michael Drake wrote: > 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. I don't see why C

Re: Treeview triangles

2013-09-30 Thread Ole
Am Montag, den 30.09.2013, 21:03 +0200 schrieb Michael Drake : I think a polygon plot is the best solution for now. I agree with that option. The problem also appears with the atari frontend, but it's not really atari or FreeMiNT related. It's about the font used for treeview redraws. I do

Re: Treeview triangles

2013-09-30 Thread Chris Young
On Mon, 30 Sep 2013 19:51:43 +0100, Michael Drake wrote: > How did the triangles on my test page look on the Amiga? They look OK: http://homepage.ntlworld.com/cdyoung/tmp/triangles.png And that's using the default plotters with no anti-aliasing. Chris

Re: Treeview triangles

2013-09-30 Thread Michael Drake
In article <53936ba29ft...@netsurf-browser.org>, Michael Drake 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 >

Re: Treeview triangles

2013-09-30 Thread Michael Drake
In article , Chris Young wrote: > Can we ask the frontend if it has the glyphs available, or is that > unnecessary complication? 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 plat

Re: Treeview triangles

2013-09-30 Thread Chris Young
On Mon, 30 Sep 2013 16:55:51 +0100, Rob Kendrick wrote: > On Mon, Sep 30, 2013 at 04:32:43PM +0100, Michael Drake wrote: > > > > When the triangle glyphs aren't available (as is the case on certain > > platforms, unless we distribute the glyphs ourselves), the treeviews don't > > look satisfactor

Re: Treeview triangles

2013-09-30 Thread Michael Drake
In article <2013093010.gk26...@pepperfish.net>, Rob Kendrick wrote: > Ship PNG images, and plot them instead? I suppose that won't react to > colour theme. Yes, or size. > Alternatively, we implement a generic anti-aliased plotter for other > front ends to use. I thought of bitmap gene

Re: Treeview triangles

2013-09-30 Thread Rob Kendrick
On Mon, Sep 30, 2013 at 04:32:43PM +0100, Michael Drake wrote: > > When the triangle glyphs aren't available (as is the case on certain > platforms, unless we distribute the glyphs ourselves), the treeviews don't > look satisfactory. > > As an alternative, I could just draw triangles with the pol

Treeview triangles

2013-09-30 Thread Michael Drake
When the triangle glyphs aren't available (as is the case on certain platforms, unless we distribute the glyphs ourselves), the treeviews don't look satisfactory. As an alternative, I could just draw triangles with the polygon plotter. There are a few drawbacks with this: - Triangle has to ha